Skip to content

dnwandana/custom-user-model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

custom-user-model

A Django project that use a custom user model.

Before you use this, you should probably read the documentation about Customizing authentication in Django.

Quickstart

  1. Clone this repository

    git clone https://github.com/dnwandana/custom-user-model.git
  2. Move to the cloned repo directory

    cd custom-user-model
  3. Activate your virtualenv

  4. Install the required dependencies

    pip install -r requirements.txt 
  5. Move the directory to custom_user_model, run makemigrations and migrate command

    cd custom_user_model
    python manage.py makemigrations
    python manage.py migrate
  6. Create a superuser

    Run the command below, and you'll be prompted an email, username, first & last name, and also password.

    python manage.py createsuperuser
  7. Run the app and check the admin site

    python manage.py runserver

About

A Django project that use a custom user model.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages