Skip to main content

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.

  1. 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

  1. 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

  1. Add the ansaotuvi_website application to your INSTALLED_APPS by adding
# settings.py
INSTALLED_APPS = [
    # Your others applications 
    'ansaotuvi_website',
]
  1. 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.

Tutorial

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.6.tar.gz (139.4 kB view details)

Uploaded Source

Built Distribution

ansaotuvi_website-0.1.6-py3-none-any.whl (141.1 kB view details)

Uploaded Python 3

File details

Details for the file ansaotuvi_website-0.1.6.tar.gz.

File metadata

  • Download URL: ansaotuvi_website-0.1.6.tar.gz
  • Upload date:
  • Size: 139.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for ansaotuvi_website-0.1.6.tar.gz
Algorithm Hash digest
SHA256 cd7689d9b95cc12dc908110cece1ff3b5ebe48373bb7a02c1197f58002d821fa
MD5 65534d4eb93a5538f7887febe7015e98
BLAKE2b-256 ea26eab2eaad905cc739c37dd2e11ed899ff4e833117ad28503873fc6b931e93

See more details on using hashes here.

File details

Details for the file ansaotuvi_website-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for ansaotuvi_website-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4c37bd6fbe1d61e6de823c204460589d95c3197b93da108e8f623e957bac8235
MD5 9e5bec1de8651143be5eb5e24e763f1b
BLAKE2b-256 946e332f74a425268b3781397dd590d6137353e52afb54c76fdb9efcf8a28cfc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page