Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django Superuser Creation Project

This Django project aims to demonstrate the creation of a superuser and the login process. It provides a basic setup to illustrate these functionalities.

Installation

  1. 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages