This is a Django Web Template meant to provide a springboard for creating a django web application with desired functionalities.
Uses best web development practices for 2024 to my knowledge.
- Obfuscation of pertenant data for the web application (see settings.py and environment_template.py).
- Customized settings to fit a user-centric web application with a sqlite3 database for the development environment and PostgreSQL database for the production environment.
- User Registration, Login, and Logout views with endpoints.
- Django==5.0.6 # Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design.
- psycopg2==2.9.9 # Psycopg is the most popular PostgreSQL database adapter for the Python programming language.
- django-ratelimit=4.1.0 # Django Ratelimit provides a decorator to rate-limit views.
- Clone the Repository
- Open in Visual Studio
- Create a Python Virutal Environment
CTRL+SHIFT+P
Type: "Environment"
Select: "Create Python Environment."
Select: "venv"
Choose your interpreter.
If you don't see an interpreter available, install python here - Activate your new virtual environment
- Install required packages from requirements.txt
pip install -r requirements.txt
- Run the python migrations to create the database
python manage.py migrate
- Explore the files, especially settings.py and environment_template.py and configure as you see fit.