webstack of Django
Project description
django-webstack
一个导航APP,可以直接安装到django当做一个独立的应用,效果可以看我博客 https://tendcode.com/nav/
step 1 安裝包依赖
pip install Pillow==9.3.0
pip install django-imagekit==4.0.2
pip install django-webstack
step 2 配置中添加应用
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'webstack',
]
step 3 生成数据表
python manage.py makemigrations
python manage.py migrate
step 4 添加到路由
urlpatterns = [
path('nav/', include('webstack.urls')),
]
step 5 前往管理界面添加数据即可显示到前台
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
django-webstack-1.2.1.tar.gz
(1.6 MB
view hashes)
Built Distribution
Close
Hashes for django_webstack-1.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff31be51737fc0b789fb4f2d43558a5a47ed6aa3c28b8dae3247aba3dc1c23a4 |
|
MD5 | 291eca5275abf8a2397f6acc3069ce34 |
|
BLAKE2b-256 | ddd2cd603229cbed4c8af68d80036a3e09e3c10c66d408cbaedfcbbc3443e18f |