Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netbuffer/django_bootstrap_table
django_bootstrap_table
https://github.com/netbuffer/django_bootstrap_table
bootstrap bootstrap3 django mysql pip python python3
Last synced: about 1 month ago
JSON representation
django_bootstrap_table
- Host: GitHub
- URL: https://github.com/netbuffer/django_bootstrap_table
- Owner: netbuffer
- Created: 2018-02-05T12:52:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-02-17T12:29:46.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T19:52:40.429Z (3 months ago)
- Topics: bootstrap, bootstrap3, django, mysql, pip, python, python3
- Language: JavaScript
- Size: 520 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# django_bootstrap_table
* http://github.com/netbuffer/django_bootstrap_table
* http://gitee.com/netbuffer/django_bootstrap_table```
安装django:`pip install Django`
进入工程根目录执行:`python manage.py startapp django_bootstrap_table_web`来创建应用
执行`python manage.py runserver 8080` 启动server
查看django版本:`python -m django --version`
安装mysql库支持`pip install mysqlclient`
创建基础表:`python manage.py migrate`
创建应用表结构:`python manage.py makemigrations django_bootstrap_table_web`
执行生成表结构:`python manage.py migrate django_bootstrap_table_web`
更新表结构:`python manage.py makemigrations`
执行更新表:`python manage.py migrate`
创建用户`python manage.py createsuperuser`
进入命令行交互:`python manage.py shell`
运行测试用例:`python manage.py test django_bootstrap_table`
pip install -r requirements.txt
pipenv --python 3
```