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.0.tar.gz
(6.3 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.0.tar.gz.
File metadata
- Download URL: modal_hj3415-0.1.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c9ef21a39fc0d8a338e6b454fee04c9f4cec1e8c2728f56e745b5397265f724
|
|
| MD5 |
bbc09d98359a8464edd5f2979bb68404
|
|
| BLAKE2b-256 |
a5407abac5de1e8eb3b85157ed05fad3e17d9406b3af3e017373018b0cdebc75
|
File details
Details for the file modal_hj3415-0.1.0-py2.py3-none-any.whl.
File metadata
- Download URL: modal_hj3415-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 9.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 |
4cde6ccc743071d700ab13f4d832065e36bdaa71340bc765d3e51cbd15268be7
|
|
| MD5 |
b035b83a77ec089cfe8de73b20dd9fac
|
|
| BLAKE2b-256 |
68a42ae635681643cd3d46aa395d069b6983f88e7ac024959021ccfd540364d3
|