Skip to content

Commit d5557b4

Browse files
committed
fix 'no module named django'
1 parent 5f7ce6a commit d5557b4

File tree

2 files changed

+9
-11
lines changed

2 files changed

+9
-11
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,7 @@ start:
88
uv run manage.py runserver 0.0.0.0:8000
99

1010
test:
11-
uv run python3 manage.py test
11+
uv run python3 manage.py test
12+
13+
build:
14+
./build.sh

task_manager/settings.py

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,11 @@
124124

125125
AUTH_PASSWORD_VALIDATORS = [
126126
{
127-
'NAME': 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
128-
},
129-
{
130-
'NAME': 'django.contrib.auth.password_validation.MinimumLengthValidator',
131-
},
132-
{
133-
'NAME': 'django.contrib.auth.password_validation.CommonPasswordValidator',
134-
},
135-
{
136-
'NAME': 'django.contrib.auth.password_validation.NumericPasswordValidator',
127+
'NAME':
128+
'django.contrib.auth.password_validation.MinimumLengthValidator',
129+
'OPTIONS': {
130+
'min_length': 3,
131+
}
137132
},
138133
]
139134

0 commit comments

Comments
 (0)