Skip to main content

Django-fastdev is an app that makes it faster and more fun to develop Django apps

Project description

Django-fastdev is an app that makes it faster and more fun to develop Django apps.

Features

Saner templates

Django templates by default hide errors, and when it does show an error it’s often not very helpful. This app will change this so that if you do:

{{ does_not_exist }}

instead of rendering that as an empty string, this app will give you an error message:

does_not_exist does not exist in context. Available top level variables:

    DEFAULT_MESSAGE_LEVELS
    False
    None
    True
    bar
    csrf_token
    foo
    messages
    perms
    request
    user

There are more specialized error messages for when you try to access the contents of a dict, and attributes of an object a few levels deep like foo.bar.baz (where baz doesn’t exist).

Usage

First install: pip install django-fastdev

In settings.py add django_fastdev to INSTALLED_APPS:

 INSTALLED_APPS = [
     # ...
     'django_fastdev',
]

Enjoy a nicer Django experience!

License

BSD

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

django-fastdev-1.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

django_fastdev-1.0.1-py2.py3-none-any.whl (3.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file django-fastdev-1.0.1.tar.gz.

File metadata

  • Download URL: django-fastdev-1.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for django-fastdev-1.0.1.tar.gz
Algorithm Hash digest
SHA256 03f6ed53e267473ddf495439c4c05580d2a80a4b3cb99bde52957ff778733346
MD5 046ac11a448934ee6ab5ce6c654b3a1e
BLAKE2b-256 2e8b873afe40c0b40e4a67293a6c01a4a683875bf8ae7991828c0d71b5321d7a

See more details on using hashes here.

File details

Details for the file django_fastdev-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: django_fastdev-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.5

File hashes

Hashes for django_fastdev-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 45a2583e53259f4137b6687a7d40cf5f7091e71dec6a1ad9fbcf604447ba5ab3
MD5 a3854a4a67c10b5ef1b863e65375d769
BLAKE2b-256 5583e6c70f1b3932293b6f58364396223fe791f4bbab3f7aada5dc53ba002233

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