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.2.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.2.tar.gz.
File metadata
- Download URL: modal_hj3415-0.1.2.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 |
b40904df96ebcea7cc230161d6d2f5896a1fb757f7fe738b5eccd6907d01f797
|
|
| MD5 |
dbf6f44eae8dfd62a0bed3ccaf31fdf9
|
|
| BLAKE2b-256 |
fcd567df9679b659cb5a7831fbfe01f44dd25c72a4db869c110e5450f6108017
|
File details
Details for the file modal_hj3415-0.1.2-py2.py3-none-any.whl.
File metadata
- Download URL: modal_hj3415-0.1.2-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 |
ed4852f8d8f0007f42eb2f491272acae83fa09c87b0ff59a411825e92c489dba
|
|
| MD5 |
ae75480f239e72a78085b73734343b69
|
|
| BLAKE2b-256 |
e5099c000cfbe67ca66691167e344668b8884ab998adc9a446dce2cd76a5ffe0
|