Skip to content
🔥A Django template for web include restful api | Author: Ziran Gong
Branch: master
Clone or download
nature1995 Update 2019.3.4
Update 2019.3.4
Latest commit 8b0d9c7 Mar 5, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Blog Update 2019.3.4 Mar 4, 2019
account Update Jan 28, 2019
apps
images
media
myauth Update Jan 28, 2019
static
templates
.gitignore Update Jan 28, 2019
.travis.yml Update Jan 28, 2019
LICENSE.md Update Jan 28, 2019
README.md
db.sqlite3 Update Jan 29, 2019
manage.py
requirements.txt

README.md

ran-django-template

python3.5 python3.6 python3.7 django2.1.5 Build Status

Author: Ziran Gong

Preview

http://ranxiaolang.com

image

Compatibility

The codes are tested using Travis-CI platform with django 2.1.5 and Python 3.5, 3.6, 3.6-dev, 3.7, 3.7-dev.

Requirements

The code requires Python 3.x, as well as the following python libraries:

  • numpy
  • Pillow
  • django
  • cryptography
  • django-allauth 0.37.1
  • django-widget-tweaks 1.4.3
  • pip 18.0
  • qrcode 6.0
  • setuptools 40.4.3
  • djangorestframework
  • django-filter
  • markdown
  • requests

Those modules can be installed using: pip3 install xxx or pip install xxx.

How to run it

git clone https://github.com/nature1995/ran-django-template.git
cd ran-django-template
pip install -r requirements.txt
python manage.py makemigrations
python manage.py migrate
python manage.py runserver

Access the web page though this link: http://127.0.0.1:8000/

Admin Account

python manage.py createsuperuser

username: ranxiaolang
email: YOUR EMAIL  
password: ranxiaolang  

Access the web page though this link: http://127.0.0.1:8000/admin

Django Restframework

Access the web page though this link: http://127.0.0.1:8000/iot/

License

This software is licensed under the GNU General Public License v3.0 License. For more information, read the file LICENSE.

It need send a email to gzr2008@vip.qq.com and just can be used for non-business projects.

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.