Skip to content

Other commands

Amin Zamani edited this page Mar 22, 2023 · 1 revision

Django shell (Run projet code direclty)

python manage.py shell

example of code to run in the shell:

>>> from app_name.models import User
>>> user1 = User.objects.first()

Prepare static folders for production

python manage.py collectstatic

Take all data from app blog and export in json

python manage.py dumpdata blog >myapp.json

Take all data in json file and import in app data table

python manage.py loaddata myapp.json

Python

Python Essentials 1 (PCEP)

Introduction to Python and computer programming

Data types, variables, basic I/O operations, and basic operators

Boolean values, conditional execution, loops, lists and list processing, logical and bitwise operations

Clean Code

Algorithms

Django

Django Rest Framework

API

pip

SQLAlchemy

FastAPI

Pytest

TDD

Git

Linux

Docker

Python Testing

Interview Questions

Clone this wiki locally