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
5 lines
110 B
Python
5 lines
110 B
Python
from django.urls import path
|
|
from .views import signup
|
|
urlpatterns = [
|
|
path('', signup, name='signup'),
|
|
]
|