Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created November 13, 2013 20:34
Show Gist options
  • Save groovecoder/7455901 to your computer and use it in GitHub Desktop.
Save groovecoder/7455901 to your computer and use it in GitHub Desktop.
class Meta(object):
unique_together = (('parent', 'locale'), ('slug', 'locale'))
permissions = (
("view_document", "Can view document"),
("add_template_document", "Can add Template:* document"),
("change_template_document", "Can change Template:* document"),
("move_tree", "Can move a tree of documents"),
("purge_document", "Can permanently delete document"),
("restore_document", "Can restore deleted document"),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment