mirror of
https://github.com/krislamo/DJ-BaseSite
synced 2024-11-09 23:00:34 +00:00
Kris Lamoureux
dce89a3acf
Added the deactivation and account recovery systems. The variable EMAIL_MESSAGE was replaced with ACTIVATE_EMAIL, then RECOVERY_EMAIL was added. The response variable was changed in all views to the correct spelling. The validation file has a new function to validate the regular expressions in an email string and not check the database. And finally the function UserActivationKey in views was renamed to KeyGen
106 lines
2.8 KiB
Plaintext
106 lines
2.8 KiB
Plaintext
// Copyright (c) 2012, Kris Lamoureux
|
|
// All rights reserved.
|
|
|
|
// DJ-BaseSite is released under the New BSD License
|
|
// Read the LICENSE file.
|
|
|
|
|
|
// Put all comments on new lines on the first 2
|
|
// characters of the line.
|
|
|
|
// CUSTOM VARIABLES
|
|
v baseurl http://127.0.0.1:8000
|
|
v basetitle DJ-BaseSite
|
|
|
|
v admin_name Kris619
|
|
v admin_email KrisPublicEmail@gmail.com
|
|
|
|
|
|
// Change this to something random and secret
|
|
// http://www.random.org/passwords/?mode=advanced
|
|
v secret_key WK9zRDBQCUSqzU64Jf5sxta4X9TnKDPHhuXwA7Zj
|
|
|
|
|
|
// Get free captcha keys here: google.com/recaptcha
|
|
v captcha_publickey asdf
|
|
v captcha_privatekey asdf
|
|
|
|
v HOSTsmtp smtp.gmail.com
|
|
v HOSTemail KrisPublicEmail@gmail.com
|
|
v HOSTpass HereItIs_HaveMyAccount
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// !!!!!!HEY, PAY ATTENTION FOR A SECOND!!!!!!
|
|
// Don't mess with anything below unless you
|
|
// know what you are doing. You can easily
|
|
// crash the Setup by putting things in the
|
|
// wrong order.
|
|
|
|
// DYNAMIC FILES
|
|
%here%/myproject/manage.py 1
|
|
%here%/myproject/myproject/wsgi.py 1
|
|
%here%/myproject/myproject/settings.py 1
|
|
%here%/myproject/myproject/urls.py 1
|
|
%here%/myproject/manage.py 1
|
|
|
|
// Add these dir commands before actually adding
|
|
// the files from inside the folders.
|
|
|
|
// Admin
|
|
dir templates
|
|
dir templates/admin
|
|
%here%/myproject/myproject/templates/admin/base_site.html 1
|
|
|
|
// STATIC FILES
|
|
%here%/myproject/myproject/__init__.py 2
|
|
%here%/myproject/myproject/views.py 2
|
|
%here%/myproject/myproject/validation.py 2
|
|
%here%/myproject/myproject/captcha.py 2
|
|
%here%/myproject/RunServer.bat 2
|
|
%here%/myproject/SyncDB.bat 2
|
|
|
|
// Activation Email
|
|
%here%/myproject/myproject/activation_email.html 2
|
|
|
|
// Recovery Email
|
|
%here%/myproject/myproject/recovery_email.html 2
|
|
|
|
// HTML/CSS
|
|
dir static
|
|
dir static/css
|
|
%here%/myproject/myproject/static/css/default.css 2
|
|
%here%/myproject/myproject/templates/base.html 2
|
|
%here%/myproject/myproject/templates/index.html 2
|
|
%here%/myproject/myproject/templates/error.html 2
|
|
|
|
// Auth
|
|
dir templates/auth
|
|
%here%/myproject/myproject/templates/auth/activated.html 2
|
|
%here%/myproject/myproject/templates/auth/deactivated.html 2
|
|
%here%/myproject/myproject/templates/auth/disabled.html 2
|
|
%here%/myproject/myproject/templates/auth/logged_in.html 2
|
|
%here%/myproject/myproject/templates/auth/logged_out.html 2
|
|
%here%/myproject/myproject/templates/auth/login.html 2
|
|
%here%/myproject/myproject/templates/auth/newaccount.html 2
|
|
%here%/myproject/myproject/templates/auth/registration.html 2
|
|
%here%/myproject/myproject/templates/auth/recovery.html 2
|
|
%here%/myproject/myproject/templates/auth/recoveryattempt.html 2
|
|
%here%/myproject/myproject/templates/auth/recoverysuccess.html 2
|
|
|
|
// Backend Django app
|
|
dir backends root
|
|
%here%/myproject/backends/__init__.py 2
|
|
%here%/myproject/backends/AuthOverride.py 2
|
|
|
|
// Profile Django app
|
|
dir accountprofile root
|
|
%here%/myproject/accountprofile/__init__.py 2
|
|
%here%/myproject/accountprofile/models.py 2
|