Re: Inheriting Permissions from Abstract Class

2012-01-27 Thread Alec Koumjian
Just wanted to ping this as it just got approved. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/vYH8aakMXNIJ. To post to this group, send email to django-

Group Moderation

2012-01-27 Thread Alec Koumjian
I posted early yesterday and still haven't been approved to post or comment. I could not find an administrative contact. Please advise. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.goo

Re: django docs __unicode__ return u'%s %s

2012-01-27 Thread Alec Koumjian
The '%' symbol is used for formatting inside of a string. This is Python, not Django specific. It is a shortcut to insert variables (and format them to your liking) instead of doing messy stuff like this: adjective = 'messy' print 'This is the ' + adjective + ' way to do it' As opposed to: adje

Inheriting Permissions from Abstract Class

2012-01-27 Thread Alec Koumjian
I have some custom permissions that I would like to give to about half a dozen different classes. If I did them individually they might look like this: MyModel(models.Model): ... Meta: permissions = (('view_mymodel', 'View Mymodel'),) ... That's all good and well, but follow