Skip to content

Commit

Permalink
Dev (#249)
Browse files Browse the repository at this point in the history
Co-authored-by: merkme <[email protected]>
Co-authored-by: Anton Braun <[email protected]>
Co-authored-by: DianaKim9319 <[email protected]>
Co-authored-by: Pavel Nesterov <[email protected]>
Co-authored-by: Павел Нестеров <[email protected]>
Co-authored-by: Dmitriy Bratkov <[email protected]>
Co-authored-by: Mitsushidu <[email protected]>
Co-authored-by: Mitsushidu <[email protected]>
Co-authored-by: Евгений Фастунов <[email protected]>
Co-authored-by: Aleksandr Bynkov <[email protected]>
Co-authored-by: «Дмитрий <«[email protected]»>
Co-authored-by: frailtynine <[email protected]>
Co-authored-by: Sergey Mazilin <[email protected]>
Co-authored-by: alexpunder <[email protected]>
Co-authored-by: serega-zhulanov <[email protected]>
Co-authored-by: Калаганов Артём <[email protected]>
Co-authored-by: Ilya <[email protected]>
Co-authored-by: Дмитрий Петров <[email protected]>
Co-authored-by: Neizalik <[email protected]>
Co-authored-by: Ruslan Kuznetsov <[email protected]>
Co-authored-by: MrGosling <[email protected]>
Co-authored-by: Юшко Юрий <[email protected]>
Co-authored-by: Valera Shankorenko <[email protected]>
Co-authored-by: Valeriya Fedorova <[email protected]>
Co-authored-by: root <root@DESKTOP-7UFPFK6>
Co-authored-by: kudralexandr <[email protected]>
Co-authored-by: kudralexandr <[email protected]>
Co-authored-by: anastasia-D <[email protected]>
Co-authored-by: Daniil V. <[email protected]>
  • Loading branch information
1 parent 95a911d commit efd6983
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/core/config/settings_for_dev.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from core.config.settings_base import * # noqa

DEBUG = False
DEBUG = env('DEBUG')

# WARNING!!!
# You will probably need to make some minor changes to the `.env` file.
Expand Down
2 changes: 1 addition & 1 deletion src/core/config/settings_for_prod.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

from core.config.settings_base import * # noqa

DEBUG = False
DEBUG = env('DEBUG')

DATABASES = {
'default': {
Expand Down
4 changes: 1 addition & 3 deletions src/core/urls.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
from django.conf import settings
from django.conf.urls.static import static
from django.contrib import admin
from django.urls import include, path, reverse_lazy
from django.views.generic.base import RedirectView
from django.urls import include, path

urlpatterns = [
path('', RedirectView.as_view(url=reverse_lazy('admin:index'))),
path('admin/', admin.site.urls),
path(
'registration/',
Expand Down

0 comments on commit efd6983

Please sign in to comment.