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.0.tar.gz
(1.6 MB
view hashes)
Built Distribution
Close
Hashes for django_webstack-1.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e1b9cada906a9f3676d9fa2a093a7ea8c95a1f00c2aecd2dfca475b6cec08cac |
|
MD5 | 0126740cfb5c00e511e4477577b9d4dd |
|
BLAKE2b-256 | b2006d7ea2c5978cba3c80a6173c83decf0cadc797775a232be1bba60c56dbba |