Hi Manimaran,

I can't help you much with the details you provided.

Could you come with an example project to reproduce your issue?

Simon

Le vendredi 15 janvier 2016 10:41:03 UTC-5, manim...@ishafoundation.org a 
écrit :
>
> Hi Simon,
>
> I am also facing the issue. the thing is Proxy model is working if the 
> model is in same app. But if the model is imported from another app it is 
> not working.  Tried Migrate command. But issue is there. can you help me?
>
> Cheers,
> Manimaran
>
> On Thursday, November 12, 2015 at 12:27:18 AM UTC+5:30, Simon Charette 
> wrote:
>>
>> Hi frocco,
>>
>> This might be related to #11154 
>> <https://code.djangoproject.com/ticket/11154> and #17904 
>> <https://code.djangoproject.com/ticket/17904>.
>>
>> Did you try running the `migrate` command? It looks like it might 
>> trigger the creation of your custom permissions 
>> <https://github.com/django/django/blob/53ccffdb8c8e47a4d4304df453d8c79a9be295ab/django/contrib/auth/apps.py#L14-L17>
>> .
>>
>> Cheers,
>> Simon
>>
>> Le mercredi 11 novembre 2015 11:06:18 UTC-5, frocco a écrit :
>>>
>>> This is still not working.
>>>
>>>
>>> On Tuesday, November 10, 2015 at 11:36:39 AM UTC-5, frocco wrote:
>>>>
>>>> Just an update.
>>>> This is now working in django 1.8.6
>>>>
>>>> On Monday, November 9, 2015 at 3:31:35 PM UTC-5, frocco wrote:
>>>>>
>>>>> I have 
>>>>>
>>>>> class qry485Missing(Tracking):
>>>>>     class Meta:
>>>>>         proxy = True
>>>>>         permissions = (
>>>>>             ("qry485Missing_display", "May display information"),
>>>>>             ("qry485Missing_edit", "May edit information"),
>>>>>         )
>>>>>         verbose_name = "485 Missing"
>>>>>         verbose_name_plural = "485 Missing"
>>>>>
>>>>>
>>>>> This does not show up in admin to allow users access.
>>>>>
>>>>> I have to grant superuser status to see it.
>>>>>
>>>>>
>>>>> Thanks
>>>>>
>>>>>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/52fd3a29-df62-493c-8812-8eefd7cbda50%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to