- Django 4.0
- DataTable (jQuery)
- Django Rest Framework
- Django Parler (imported Parler Rest within)
These details were based on Django First App Tutorial and working on Windows.
Run py -m django --version
to check for the current Django version.
Run django-admin startproject djangoBlog
at your root of project's directory.
Run py manage.py runserver
For this project, we have to add the below packages:
pymysql
mysqlclient
django-crispy-forms
django-parler
djangorestframework
django-rosetta
django-sass
Run pip install -r .\setup.txt
to build all packages inside the setup.txt
And don't forget to add these packages in your settings.py
INSTALLED_APPS = [
...,
'parler',
'crispy_forms',
'rest_framework',
'rosetta',
'django_sass',
...,
]
Run py .\manage.py collectstatic
to collect static files from each of your applications (and any other places you specify) into a single location that can easily be served in production.