Compare commits

..

4 Commits

Author SHA1 Message Date
Markos Gogoulos
5402ee7bc5 fix: crispy forms (#1194) 2025-02-12 14:27:27 +02:00
Markos Gogoulos
a6a2b50c8d remove redundant message 2025-02-10 22:25:24 +02:00
Markos Gogoulos
23e48a8bb7 remove redundant message 2025-02-10 22:24:42 +02:00
Markos Gogoulos
313cd9cbc6 fix issue with static files in dev 2025-02-10 22:04:14 +02:00
5 changed files with 7 additions and 4 deletions

View File

@@ -23,6 +23,7 @@ INSTALLED_APPS = [
'debug_toolbar',
'mptt',
'crispy_forms',
"crispy_bootstrap5",
'uploader.apps.UploaderConfig',
'djcelery_email',
'ckeditor',
@@ -46,5 +47,5 @@ MIDDLEWARE = [
DEBUG = True
CORS_ORIGIN_ALLOW_ALL = True
# STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static_files/'),)
STATICFILES_DIRS = (os.path.join(BASE_DIR, 'static'),)
STATIC_ROOT = os.path.join(BASE_DIR, 'static_collected')

View File

@@ -304,6 +304,7 @@ INSTALLED_APPS = [
"debug_toolbar",
"mptt",
"crispy_forms",
"crispy_bootstrap5",
"uploader.apps.UploaderConfig",
"djcelery_email",
"ckeditor",
@@ -543,3 +544,6 @@ SPRITE_NUM_SECS = 10
SLIDESHOW_ITEMS = 30
# this calculation is redundant most probably, setting as an option
CALCULATE_MD5SUM = False
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
CRISPY_TEMPLATE_PACK = "bootstrap5"

View File

@@ -12,7 +12,7 @@ markdown==3.7
django-filter==24.3
filetype==1.2.0
django-mptt==0.16.0
django-crispy-forms==2.3
crispy-bootstrap5==2024.10
requests==2.32.3
django-celery-email==3.0.0
m3u8==6.0.0

View File

@@ -17,7 +17,6 @@
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %}
<button class="primaryAction" type="submit">Sign In</button>
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">Forgot Password?</a>
</form>
</div>

View File

@@ -140,7 +140,6 @@
{% csrf_token %}
{{ form.as_p }}
<input type="hidden" name="next" value="{{ redirect_url }}" />
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">Forgot Password?</a>
<button class="primaryAction" type="submit">Sign In</button>
</form>