Skip to content

Commit 9aec69a

Browse files
committed
test
2 parents d1a1f0f + e704688 commit 9aec69a

22 files changed

+39
-558
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
.idea
12
.venv
23
.env
34
.python-version

pyproject.toml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,7 @@ dependencies = [
1414
"psycopg2-binary>=2.9.10",
1515
"pytest>=8.4.0",
1616
"pytest-django>=4.11.1",
17-
"python-decouple>=3.8",
1817
"python-dotenv>=1.1.0",
1918
"rollbar>=1.3.0",
2019
"ruff>=0.11.11",
2120
]
22-
23-
[build-system]
24-
requires = ["hatchling"]
25-
build-backend = "hatchling.build"
26-
27-
[tool.hatch.build.targets.wheel]
28-
packages = ["task_manager"]

task_manager/asgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111

1212
from django.core.asgi import get_asgi_application
1313

14-
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'task_manager.settings')
14+
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'hexletcode.settings')
1515

1616
application = get_asgi_application()

task_manager/urls.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
1-
# hexletcode/urls.py
21
from django.contrib import admin
3-
from django.urls import path, include # Не забудьте импортировать include
2+
from django.urls import path, include
43
from django.views.generic import TemplateView
54
from django.contrib.auth.views import LogoutView
65
from .views import UserListView, UserLoginView, register_view
76

87
urlpatterns = [
98
path('admin/', admin.site.urls),
109
path('', TemplateView.as_view(template_name='index.html'), name='home'),
11-
path('users/', include('users.urls')), # Подключаем маршруты приложения users
10+
path('users/', include('users.urls')),
1211
path('login/', UserLoginView.as_view(), name='login'),
1312
path('logout/', LogoutView.as_view(), name='logout'),
1413
path('register/', register_view, name='register'),

task_manager_/admin.py

Lines changed: 0 additions & 3 deletions
This file was deleted.

task_manager_/apps.py

Lines changed: 0 additions & 6 deletions
This file was deleted.

task_manager_/filters.py

Lines changed: 0 additions & 39 deletions
This file was deleted.

task_manager_/forms.py

Lines changed: 0 additions & 33 deletions
This file was deleted.

task_manager_/migrations/0001_initial.py

Lines changed: 0 additions & 21 deletions
This file was deleted.

task_manager_/migrations/0002_task.py

Lines changed: 0 additions & 28 deletions
This file was deleted.

0 commit comments

Comments
 (0)