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.0.0.tar.gz
(1.6 MB
view hashes)
Built Distribution
Close
Hashes for django_webstack-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb6ada4151e534174588759e61fc835f9697eb63cd5d39997d288c8b66cea52c |
|
MD5 | 45ab6e0b30993ad6453ed404e8ed0364 |
|
BLAKE2b-256 | ffef34c68db2ccefdafc034c474d71bde3b612d2540365d6bd554cb606f10abf |