Skip to main content

This django application provide rails-like flash messages to Django framework.

Project description

**Example:**

::
views.py

def some_action(request):
...
request.flash['error'] = "You can't post comments in this section"
return HttpReponseRedirect("/")


base.html

{% if flash %}
{% for message in flash.error %}
{{ message }}
{% endfor %}
{% endif %}
::


**Download:**

- hg clone http://bitbucket.org/offline/django-flashcookie/

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-flashcookie-0.1.tar.gz (1.8 kB view details)

Uploaded Source

File details

Details for the file django-flashcookie-0.1.tar.gz.

File metadata

File hashes

Hashes for django-flashcookie-0.1.tar.gz
Algorithm Hash digest
SHA256 043942f15eed34b73b1b7c279712f02f3e908975573b752f1f457542088c08b1
MD5 79cf9028cd2a1664ad251395a69a5ddd
BLAKE2b-256 5407a4b66371d4d376fe3c86f37cc91d519659884720e361252a8cb44ef5c037

See more details on using hashes here.

Supported by

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