django-snips /

Filename Size Date modified Message
snippets
38 B
909 B
710 B

django-snips

A very simple Django application to be used for defining text blocks or pages on a website. It is called django-snips to avoid confusion with the django snippets website, internally the package and models are called snippets.

It is similar to the django.contrib.flatpages or flatblocks applications, adding the following features:

  • Each snippet can have a file attached to it - this can be used to upload images and other media.
  • A snippet can have child snippets. This and the above allows you to create things like galleries.
  • A snippet can be assigned to categories. You can create menus or other lists with all snippets from a category.
  • A snippet can have a language associated with it. You can easily select snippets matching the visitor's language.
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.