photo26/signup/settings.py
aeltheos 2db323f74d inital commit for signup
added a basic app using the UserCreationForm to create new user at /accounts/signup/
change outside of the app are:
-added signup to INSTALLED_APPS in /photo21/settings.py
-added accounts/signup/ to path in /photo21/urls.py

should extend UserCreationForm to have field for email and maybe first/last names, except if we want the user to add that themselves later
2021-10-07 16:59:16 +02:00

8 lines
No EOL
205 B
Python

import os
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
TEMPLATES = [
{
'DIRS': [os.path.join(BASE_DIR, 'photo21/signup/templates')],
'APP_DIRS': True,
},
]