Hi, I am trying to create an menu structure that is editable in the
admin, but I get stuck on the ordering.
There is the option order_with_respect_to that is working really well
for items that are edited inline, but I can't get it to work with a
structure that is refering to itself.
The structur
Hi,
I think it is user friendly to have a wysiwyg editor for large text
area's in a site. But I could use some pointers if any available how I
could accomplish this in the auto generated admin pages. I could use a
filter (markdown, textile), but that isn't close to a wysiwyg editor.
Greetz,
Although I thought it would work, it isn't working, or I am doing
something wrong:
{% for app in app_list %}
{% if perms.app.name %}
... some html code
{% endif %}
{% endfor %}
This won't work, because in:
class PermLookupDict:
def __init__(self, user, module_name):
self.user, self.
Great! The world of Django is getting better and better :D Thanks!
Erm, I mean user.has_module_perms
Is it possible to use this syntax of do I have to write an own template
tag?
I want to use it to check if a module has to be displayed based on
permissions:
{% if user.get_module_perms(app.name) %}
But this doen't work
6 matches
Mail list logo