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_websiteapplication 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!
Metadata
Release files for ansaotuvi-website 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ansaotuvi_website-0.1.6.tar.gz | 139.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ansaotuvi_website-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 280.6 kB
Release files / ansaotuvi_website-0.1.6.tar.gz
| Download URL | ansaotuvi_website-0.1.6.tar.gz |
|---|---|
| Size | 139.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cd7689d9b95cc12dc908110cece1ff3b5ebe48373bb7a02c1197f58002d821fa
|
|
BLAKE2b-256 checksum How to use checksums |
ea26eab2eaad905cc739c37dd2e11ed899ff4e833117ad28503873fc6b931e93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|
Release files / ansaotuvi_website-0.1.6-py3-none-any.whl
| Download URL | ansaotuvi_website-0.1.6-py3-none-any.whl |
|---|---|
| Size | 141.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4c37bd6fbe1d61e6de823c204460589d95c3197b93da108e8f623e957bac8235
|
|
BLAKE2b-256 checksum How to use checksums |
946e332f74a425268b3781397dd590d6137353e52afb54c76fdb9efcf8a28cfc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.13
|