modal-hj3415 is the program for opening the modal window
Project description
modal-hj3415
모달창을 띄우는 모듈.
- 프로젝트의 settings.py 에 추가한다.
INSTALLED_APPS = [
'modal_hj3415',
]
MEDIA_URL = '/media/'
MEDIA_ROOT = BASE_DIR / 'media'
-
makemigration, migrate 실행
-
urls.py
from django.conf import settings
from django.conf.urls.static import static
urlpatterns = [
...
]
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
- 사용 위치의 html에 작성한다.
{% load modal_tags %}
...
{% show_modal %}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
modal_hj3415-0.1.1.tar.gz
(2.7 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file modal_hj3415-0.1.1.tar.gz.
File metadata
- Download URL: modal_hj3415-0.1.1.tar.gz
- Upload date:
- Size: 2.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ac7c80e6b15e2d53bd87d4bd952280c1cdb7e23dbb15538f19345edfaf32a8f
|
|
| MD5 |
abf0a47bdd4786e0cda0d06ac34f524d
|
|
| BLAKE2b-256 |
37f882341b7520206f5dbe58e45c73569fe867f4420f8af3d0c3b8e96e0b88fd
|
File details
Details for the file modal_hj3415-0.1.1-py2.py3-none-any.whl.
File metadata
- Download URL: modal_hj3415-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 2.7 MB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90bddc899f9e979a00de5816db4e284f5a80fa8132c4222dcc1dcaa637b9ae62
|
|
| MD5 |
c165f6c590eea592b35c7f631725f357
|
|
| BLAKE2b-256 |
4243d0c7fceb53fea7828a1e68c6ce0e859f32a389b98b43e91f886ee9ba9e4d
|