Skip to main content

Create desktop applications with Flask/Django/FastAPI!

Reason this release was yanked:

Broken version, not working

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.0-py3-none-any.whl (189.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: django_gui-1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5428b5af853ec2238693781784c0064d7aecb472f41938dd6609a727d4fd6695
MD5 58e45fea168d7382e138998287bc39be
BLAKE2b-256 7100ae50dbafb1233d20086e42226b68c31640219492060a7e2bc58d65ba4bf7

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