mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-21 13:57:57 -05:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5402ee7bc5 | ||
|
|
a6a2b50c8d | ||
|
|
23e48a8bb7 | ||
|
|
313cd9cbc6 |
@@ -23,6 +23,7 @@ INSTALLED_APPS = [
|
|||||||
'debug_toolbar',
|
'debug_toolbar',
|
||||||
'mptt',
|
'mptt',
|
||||||
'crispy_forms',
|
'crispy_forms',
|
||||||
|
"crispy_bootstrap5",
|
||||||
'uploader.apps.UploaderConfig',
|
'uploader.apps.UploaderConfig',
|
||||||
'djcelery_email',
|
'djcelery_email',
|
||||||
'ckeditor',
|
'ckeditor',
|
||||||
@@ -46,5 +47,5 @@ MIDDLEWARE = [
|
|||||||
|
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
CORS_ORIGIN_ALLOW_ALL = 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')
|
STATIC_ROOT = os.path.join(BASE_DIR, 'static_collected')
|
||||||
|
|||||||
@@ -304,6 +304,7 @@ INSTALLED_APPS = [
|
|||||||
"debug_toolbar",
|
"debug_toolbar",
|
||||||
"mptt",
|
"mptt",
|
||||||
"crispy_forms",
|
"crispy_forms",
|
||||||
|
"crispy_bootstrap5",
|
||||||
"uploader.apps.UploaderConfig",
|
"uploader.apps.UploaderConfig",
|
||||||
"djcelery_email",
|
"djcelery_email",
|
||||||
"ckeditor",
|
"ckeditor",
|
||||||
@@ -543,3 +544,6 @@ SPRITE_NUM_SECS = 10
|
|||||||
SLIDESHOW_ITEMS = 30
|
SLIDESHOW_ITEMS = 30
|
||||||
# this calculation is redundant most probably, setting as an option
|
# this calculation is redundant most probably, setting as an option
|
||||||
CALCULATE_MD5SUM = False
|
CALCULATE_MD5SUM = False
|
||||||
|
|
||||||
|
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
|
||||||
|
CRISPY_TEMPLATE_PACK = "bootstrap5"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ markdown==3.7
|
|||||||
django-filter==24.3
|
django-filter==24.3
|
||||||
filetype==1.2.0
|
filetype==1.2.0
|
||||||
django-mptt==0.16.0
|
django-mptt==0.16.0
|
||||||
django-crispy-forms==2.3
|
crispy-bootstrap5==2024.10
|
||||||
requests==2.32.3
|
requests==2.32.3
|
||||||
django-celery-email==3.0.0
|
django-celery-email==3.0.0
|
||||||
m3u8==6.0.0
|
m3u8==6.0.0
|
||||||
|
|||||||
@@ -17,7 +17,6 @@
|
|||||||
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<button class="primaryAction" type="submit">Sign In</button>
|
<button class="primaryAction" type="submit">Sign In</button>
|
||||||
<a class="button secondaryAction" href="{% url 'account_reset_password' %}">Forgot Password?</a>
|
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -140,7 +140,6 @@
|
|||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
{{ form.as_p }}
|
{{ form.as_p }}
|
||||||
<input type="hidden" name="next" value="{{ redirect_url }}" />
|
<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>
|
<button class="primaryAction" type="submit">Sign In</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user