from django.conf import settings #1
Labels
coding style
python
ready to implement
When discussion is finished this label is given to indicate, that issues is ready for implementation
Proponuję dodać w coding style dla pythona:
W Django nigdy nie importujemy settingsów bezpośrednio (np.
from <app> import settings
). Zamiast tego robimyfrom django.conf import settings
.--settings=
wmanage.py
. Nie można wtedy z linii komend podać innego modułu.override_settings
.The text was updated successfully, but these errors were encountered: