/django-poilerplate

to work faster i make this boilerplate according to my needs.

Primary LanguagePython

Django boilerplate (2.2)

to work faster i make this boilerplate according to my needs.

steps

Commands assume that u are in app root folder

create virtual env

virtualenv -p=python3.9 .
source bin/activate

clone this repo

git clone https://github.com/mohamed17717/django-poilerplate.git src/
cd src
pip install -r requirements.txt

then start creating your apps like normal look in app created to use things like signals and stuff whenever you need

contain

  • settings file handle static vars and templates
  • urls to static files
  • helper classes (jwt, mail)
  • .gitignore
  • signals
  • decorators
  • most used models & views (authentication, profile, ...)
  • forms
  • add features to admin panel
  • app that collect data from every request
  • enable cors