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.3.tar.gz
(59.9 kB
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.3.tar.gz.
File metadata
- Download URL: modal_hj3415-0.1.3.tar.gz
- Upload date:
- Size: 59.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
675afb192ca82133a7ca70ebf869695c6998005d268bc94c4d6121448b9bb444
|
|
| MD5 |
52937f6ea9cd0605a49296db2c7676cf
|
|
| BLAKE2b-256 |
1be5d9016ab5c8830d4c7918fcd382de7ab659ff323b30015c88790705d9acc4
|
File details
Details for the file modal_hj3415-0.1.3-py2.py3-none-any.whl.
File metadata
- Download URL: modal_hj3415-0.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 62.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
538b679f6bafd6f3bd0958011fad873553595b222b219c6aacf0116ee2590fc8
|
|
| MD5 |
0ad61f5d0e91e5c78f26acc06bc6445d
|
|
| BLAKE2b-256 |
f0c7fcc3065a11f757477aab043c25f2627915daac28252b2f95db2e087e10c1
|