Skip to content

Commit af700c8

Browse files
committed
fix actions
1 parent 4b6dd13 commit af700c8

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,10 @@ dependencies = [
1818
"rollbar>=1.3.0",
1919
"ruff>=0.11.11",
2020
]
21+
22+
[build-system]
23+
requires = ["hatchling"]
24+
build-backend = "hatchling.build"
25+
26+
[tool.hatch.build.targets.wheel]
27+
packages = ["task_manager"]

task_manager/settings.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
'django.middleware.clickjacking.XFrameOptionsMiddleware',
7878
]
7979

80-
ROOT_URLCONF = 'hexletcode.urls'
80+
ROOT_URLCONF = 'task_manager.urls'
8181

8282
TEMPLATES = [
8383
{
@@ -102,11 +102,8 @@
102102

103103
DATABASES = {
104104
'default': {
105-
'ENGINE': 'django.db.backends.postgresql',
106-
'NAME': 'djangobd',
107-
'USER': 'tirion',
108-
'PASSWORD': '1234',
109-
'HOST': 'localhost',
105+
'ENGINE': 'django.db.backends.sqlite3',
106+
'NAME': BASE_DIR / 'db.sqlite3',
110107
}
111108
}
112109

0 commit comments

Comments
 (0)