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 this, you can start your Django application like this:

import django_gui
from .wsgi import application

django_gui.DjangoGUI(app=application, server="django").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.1-py3-none-any.whl (189.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_gui-1.1-py3-none-any.whl
  • Upload date:
  • Size: 189.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5c3ac568f38a3344c639eef4a471c71bf0e42b4ba9a55c59146953ecdf5dda28
MD5 36cad8354a253e9874d9eb18db784bc0
BLAKE2b-256 3f3a4054f97e992422995edd6f3a02193898fad6e101bd80a0535acbc13e7d10

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