This Django project aims to demonstrate the creation of a superuser and the login process. It provides a basic setup to illustrate these functionalities.
- Clone the repository to your local machine:
git clone https://github.com/<your_username>/<your_repository>.git
Navigate to the project directory:
cd <your_repository>
Create a virtual environment (optional but recommended):
python -m venv venv
Activate the virtual environment:
On Windows:
venv\Scripts\activate
On macOS and Linux:
source venv/bin/activate
Install dependencies:
pip install -r requirements.txt
Usage
Apply database migrations:
python manage.py migrate
Create a superuser:
python manage.py createsuperuser
Follow the prompts to create a superuser account.
Start the Django development server:
python manage.py runserver
Access the admin panel:
Open your web browser and go to http://127.0.0.1:8000/admin/.
Log in with the superuser credentials you created.
Additional Notes
This project provides a minimalistic setup for demonstrating the creation of a superuser and the login process.
Customize the project according to your specific requirements or integrate it into your existing Django project.
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests.
License