Skip to content

MdSamsuzzohaShayon/python-django-crm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CRM Project Basic

Setup simple server

  1. Install python
  2. Upgrade pip by using command python -m pip install -U pip
  3. Install django py -m pip install Django or pip install Django
  4. Create new project django-admin startproject crm & cd crm
  5. Run the server python manage.py runserver
  6. Show in browser http://127.0.0.1:8000

Making app

  1. Creating an app python manage.py startapp accounts

Making templates

  1. Make a folder with name of templates inside an app
  2. Overriding templates templating tutorial
  3. Extending an overridden template
  4. Built in tags and filter
  1. Make sure that django.contrib.staticfiles is included in your INSTALLED_APPS.
  2. In your settings file, define STATIC_URL, for example: STATIC_URL = '/static/'

Database Models

  1. Migrating database python manage.py migrate
  2. For SqLite
python manage.py makemigrations
python manage.py migrate
  1. python manage.py createsuperuser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published