This post will demonstrate the necessary step's that you will need to follow when you want to build authentication system with you Django framework using the built-in user authentication system . You can get the code of this project on github Start with clean work space where Django app is going to live mkdir news-wire cd news-wire Time to setup virtual eviroment, install django and kickoff the project python3 -m venv venv source venv/bin/activate pip3 install Django django-admin startproject news_art House keeping mv news_art/manage.py ./ mv news_art/news_art/* news_art/ rm -r news_art/news_art/ nano news_art/settings.py ALLOWED_HOSTS = [ '*' ] ---------- We want to acsses our app from anywhere Django automatically installs the auth app when a new project is created. This can be reveled in the settings.py under INSTALLED_APPS and you can see auth is one of several built-in apps Django has installed. INSTALLED_APPS = [ ...
The duke of Ela "I appreciate the hate"