Re: Django detects HTTP Accept-Language header in case-sensitive manner

2014-10-15 Thread Ramiro Morales
Hi Carl, On Mon, Sep 29, 2014 at 2:45 PM, Carl Meyer wrote: >> 1. https://docs.djangoproject.com/en/dev/topics/i18n/#definitions > > I do notice that this bit of documentation asserts that a language code > "Represents the name of a language. Browsers send the names of the > languages they accept

Re: permissions and groups data migration

2014-10-15 Thread Carl Meyer
On 10/15/2014 06:52 AM, Michael wrote: > Also, ContentType.objects.get_for_model does not work ('Manager' object > has no attribute 'get_for_model'). Not sure, but it might work to instead call `django.contrib.auth.management.create_permissions(...)` in the migration? You'll need to get hold of th

Re: permissions and groups data migration

2014-10-15 Thread Michael
Also, ContentType.objects.get_for_model does not work ('Manager' object has no attribute 'get_for_model'). Le mercredi 15 octobre 2014 07:43:03 UTC-5, Michael a écrit : > > I do not want to create a permission, I want to assign to a group some of > the default permissions django creates: add,

Re: permissions and groups data migration

2014-10-15 Thread Michael
I do not want to create a permission, I want to assign to a group some of the default permissions django creates: add, change and delete ( https://docs.djangoproject.com/en/dev/topics/auth/default/#default-permissions) Obviously, the permissions are not created yet when I run my first python ma