Skip to main content

Open Django project as desktop application!

Project description

Django-GUI

Open Django project as desktop application!

Installation

python3 -m pip install django-gui

Usage

First of all, configure settings.py in your Django project:

MIDDLEWARE = [
    "django_gui.whitenoise.middleware.WhiteNoiseMiddleware",
    ...
]

STATIC_URL = "static/"
STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")]
STATIC_ROOT = os.path.join(BASE_DIR, "staticfiles")

MEDIA_URL = "/media/"
MEDIA_ROOT = os.path.join(BASE_DIR, "media")

After, you can start your Django application like this:

import django_gui
from .wsgi import application

django_gui.DjangoGUI(app=application).run()

License

Django-GUI released under the MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

django_gui-1.2-py3-none-any.whl (189.5 kB view details)

Uploaded Python 3

File details

Details for the file django_gui-1.2-py3-none-any.whl.

File metadata

  • Download URL: django_gui-1.2-py3-none-any.whl
  • Upload date:
  • Size: 189.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for django_gui-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5d0d021abb7749503ae1213031c30575ca4a48405e7f79f1dcc31a5ca1a71d2b
MD5 d26006a6d44d75bec1148c01db3154f2
BLAKE2b-256 bb9a8216aef0033095600b430a4f82260ddb85fc63aadc0a1914ce4fdd8e5617

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