Skip to main content

Quickly build django website

Project description

A new way to Django development. Start small, grow big.

Quickstart

Add the following code to app.py:-

from siteplan import App, run
from django.http import HttpResponse

def index(request):
    return HttpResponse("Hello world")

from django.urls import path
urlpatterns = [
    path("test/", index),
]

conf = {}
app = App(conf, urls=urlpatterns)

if __name__ == "__main__":
    run(app)

Then run it with siteplan:-

siteplan --app app:app run -b 127.0.0.1:9001

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

siteplan-0.1.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

siteplan-0.1.0-py3-none-any.whl (6.9 kB view details)

Uploaded Python 3

File details

Details for the file siteplan-0.1.0.tar.gz.

File metadata

  • Download URL: siteplan-0.1.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Linux/5.10.53-1-MANJARO

File hashes

Hashes for siteplan-0.1.0.tar.gz
Algorithm Hash digest
SHA256 505faa571ad1690e9ba043e2008a33f89b69c64c451ab3814a493447ee68569c
MD5 4fe51d2b6f5fd5f080fabf0483c211b7
BLAKE2b-256 834ac05b4105f837bc35feb3c40c28dea1f5a99c3b193cb28b762eff1730016c

See more details on using hashes here.

File details

Details for the file siteplan-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: siteplan-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.9.6 Linux/5.10.53-1-MANJARO

File hashes

Hashes for siteplan-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ed6109c6509deb2100e7b7e4c2d66455309e90279dc055cb7d4e288134f6f35b
MD5 a5ca855f53565a7d95c4fc70f245f0cd
BLAKE2b-256 8059e43628e4b63125bea6ea9fc1790f82a56c812b1c27be23c9753ef272de4c

See more details on using hashes here.

Supported by

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