A small example package
Project description
Mã nguồn mở chương trình an sao Tử vi ansaotuvi
This is a wrapper of ansaotuvi into django application.
- Create virtual environment and activate it
-
pip install virtualenv
-
virtualenv .env
-
If you are *nix users
source .env/bin/activate
- if you are Window users, just type
.env/Scripts/activate.bat
and make sure you are working on command prompt (cmd.exe) not PowerShell
- Now you are working on the virtual environment
- If you do not have Django project, go and install django and ansaotuvi applications
pip install django ansaotuvi_website
- If you have django project already, just install the ansaotuvi_website application
pip install ansaotuvi_website
- Add the
ansaotuvi_website
application to your INSTALLED_APPS by adding
# settings.py
INSTALLED_APPS = [
# Your others applications
'ansaotuvi_website',
]
- Add router to the
urls.py
# urls.py
from django.urls import path, include
urlpatterns = [
# ....
path('ansaotuvi/', include('ansaotuvi_website.urls'))
]
Here is a tutorial to show you how to add ansaotuvi app into a django project.
Hope this help!
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ansaotuvi_website-0.1.3.tar.gz
(139.4 kB
view hashes)
Built Distribution
Close
Hashes for ansaotuvi_website-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9ed4b9aa4d730bcee5a2a48d3ea7c219089eba1f2dd37db409c0e0c56c1c842 |
|
MD5 | fb1a8f57e22f2342054bad7d57a4df11 |
|
BLAKE2b-256 | 20cecc740660331c457d995daf68e8c35f84981e9990f18c207a6d1084f339d1 |