-
- Downloads
fixed userprofile access and access to settings variables
In the current django, we need to access Profile of a user by userprofile property instead of method. To use variables from settings in a template, we must "export" them using SETTINGS_EXPORT.
Showing
- context/global_vars.py 0 additions, 30 deletionscontext/global_vars.py
- flowspec/models.py 3 additions, 3 deletionsflowspec/models.py
- flowspec/snmpstats.py 1 addition, 1 deletionflowspec/snmpstats.py
- flowspy/settings.py.dist 3 additions, 0 deletionsflowspy/settings.py.dist
- templates/base.html 6 additions, 6 deletionstemplates/base.html
- templates/footer.html 2 additions, 2 deletionstemplates/footer.html
- templates/poll.html 1 addition, 1 deletiontemplates/poll.html
context/global_vars.py
deleted
100644 → 0
Please register or sign in to comment