Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Mattia Rizzolo
nm.debian.org
Commits
e036a34b
Commit
e036a34b
authored
Jun 12, 2016
by
Enrico Zini
Browse files
Another bit of README
parent
05fb1a6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
e036a34b
...
...
@@ -69,5 +69,17 @@ fields:
## Development
Development targets Django 1.
7
, although the codebase has been created with
Development targets Django 1.
8
, although the codebase has been created with
Django 1.2 and it still shows in some places. Feel free to cleanup.
Unusual things in the design:
*
`backend/`
has the core models. Note that
`backend.models.Process`
is the
old-style workflow, and
`process.model.Process`
is the new style workflow.
*
there is a custom permission system with a class hierarchy that starts at
`backend.models.VisitorPermissions`
, and that generates a set of permission
strings that get tested in views and templates with things like
`if
"edit_bio" in visit_perms: …`
.
*
`backend.mixins.VisitorMixin`
is the root of a class hierarchy of mixins used
by most views in the site; those mixins implement the basis of resource
instantiation and permission checking.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment