Skip to content

Commit

Permalink
Merge pull request #20 from Pet-projects-CodePET/fixes/general_app_pl…
Browse files Browse the repository at this point in the history
…asement

Moved the general app
  • Loading branch information
ArtemKAF authored Feb 3, 2024
2 parents 98559d7 + 19909fc commit 2d2f957
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@


class CreatedModifiedFields(models.Model):
"""Базовая модель"""
"""Базовая модель."""

created = models.DateTimeField(auto_now_add=True)
modified = models.DateTimeField(auto_now=True)
Expand Down
5 changes: 3 additions & 2 deletions src/backend/config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,15 @@
"django.contrib.sessions",
"django.contrib.messages",
"django.contrib.staticfiles",
"general",
]

THIRD_PARTY_APPS = [
"rest_framework",
]

LOCAL_APPS: list = []
LOCAL_APPS = [
"apps.general",
]

INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS

Expand Down

0 comments on commit 2d2f957

Please sign in to comment.