Skip to content
/ drfx-django4 Public template
forked from wsvincent/drfx

A framework for launching new Django Rest Framework projects quickly. Updated for Django 4.

License

Notifications You must be signed in to change notification settings

dag7dev/drfx-django4

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRFx

A framework for launching new Django Rest Framework projects quickly. Comes with a custom user model, login/logout/signup, social authentication via django-allauth, and more.

Features

  • Django 4, Django REST Framework 3.14, and Python 3.9.17+
  • Custom user model
  • Token-based auth
  • Signup/login/logout
  • django-allauth for social auth
  • Pipenv for virtualenvs

First-time setup

  1. Make sure Python 3.9x and Pipenv are already installed. See here for help.
  2. Clone the repo and configure the virtual environment:
git clone https://github.com/dag7dev/drfx-django4.git
cd drfx
pipenv install
pipenv shell

or use requirements.txt

  1. Set up the initial migration for our custom user models in users and build the database.
(drfx) $ python manage.py makemigrations users
(drfx) $ python manage.py migrate
(drfx) $ python manage.py createsuperuser
(drfx) $ python manage.py runserver
  1. Endpoints

Login with your superuser account. Then navigate to all users. Logout. Sign up for a new account and repeat the login, users, logout flow.

About

A framework for launching new Django Rest Framework projects quickly. Updated for Django 4.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%