You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Prerequisite: all team members should have a working MySQL server on their development machine. The project settings module should be configured to work with MySQL and environmental variables by this point.
Django provides us with a lot, but it won't give us everything that we need for managing our users. Specifically, creating non-administrators is a bit tough out-of-the-box. Luckily, there are several packages that help us to take care of these features pretty quickly.
I'd like to use the django-registration module for this project. You'll add it to the requirements.txt that will exist in your virtualenv, and then add it to the INSTALLED_APPS in this project's settings.py.
There will also be some variables that you'll have to set in the settings file, which you can look up in the documentation. These should be things like whether or not we want to force unique email addresses for each user, how long the signup tokens should last, etc. Please ask below if you're not sure what the values for each setting should be!
The text was updated successfully, but these errors were encountered:
You might also need to migrate the changes to the datastore once you get everything set up. Check out the Django documentation for that, and talk to me if you need help. It should just be python manage.py makemigrations followed by python manage.py migrate from the root of the project directory.
Prerequisite: all team members should have a working MySQL server on their development machine. The project settings module should be configured to work with MySQL and environmental variables by this point.
Django provides us with a lot, but it won't give us everything that we need for managing our users. Specifically, creating non-administrators is a bit tough out-of-the-box. Luckily, there are several packages that help us to take care of these features pretty quickly.
I'd like to use the django-registration module for this project. You'll add it to the
requirements.txt
that will exist in your virtualenv, and then add it to theINSTALLED_APPS
in this project'ssettings.py
.There will also be some variables that you'll have to set in the settings file, which you can look up in the documentation. These should be things like whether or not we want to force unique email addresses for each user, how long the signup tokens should last, etc. Please ask below if you're not sure what the values for each setting should be!
The text was updated successfully, but these errors were encountered: