Π‘ΠΎΠ·Π΄Π°ΡΡ ΠΏΡΠΎΠ΅ΠΊΡ:
$ django-admin startproject djangoexample $ cd djangoexample $ ./manage.py startapp common
ΠΠ°ΠΊ Π²ΡΠ³Π»ΡΠ΄ΠΈΡ ΠΏΡΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠ΅ Π½Π° Django:
from django.apps import AppConfig class MyAppConfig(AppConfig): def ready(self): # Your code ...
Last updated 6 months ago