Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 734 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 734 Bytes

Django Categories with MPTT

It is django project that illustrates how to implement categories in a django site with django-mptt module

Installation guide

  1. Clone repository git clone https://github.com/karansthr/django_mptt_categories
  2. cd (change directory) to repository.
  3. Create a virtualenv virtualenv -p python3 .
  4. Activate virtualenv source bin/activate
  5. Install required packages pip3 install -r requirements.txt
  6. cd to src
  7. Run the server python3 manage.py runserver

If you want to add posts and categories then goto localhost:[port]/admin and login with username = password = djangopy or you can create new user with python3 manage.py createsuperuser