mirror of
https://gitlab.crans.org/bde/nk20
synced 2025-06-21 01:48:21 +02:00
add support for cropping image. WIP.
This commit is contained in:
@ -191,3 +191,7 @@ ALIAS_VALIDATOR_REGEX = r''
|
||||
|
||||
MEDIA_ROOT=os.path.join(BASE_DIR,"media")
|
||||
MEDIA_URL='/media/'
|
||||
|
||||
# Profile Picture Settings
|
||||
PIC_WIDTH = 200
|
||||
PIC_RATIO = 1
|
||||
|
@ -26,3 +26,4 @@ urlpatterns = [
|
||||
]
|
||||
|
||||
urlpatterns += static(settings.MEDIA_URL,document_root=settings.MEDIA_ROOT)
|
||||
urlpatterns += static(settings.STATIC_URL,document_root=settings.STATIC_ROOT)
|
||||
|
Reference in New Issue
Block a user