djangosnippets.org: Latest snippets tagged with 'proxy'https://djangosnippets.org/tags/proxy/2013-12-29T08:01:28.018168-06:00Concepts in Django (interfaces)
2013-12-29T08:01:28.018168-06:00douwevandermeijhttps://djangosnippets.org/snippets/3014/<p>An example of using concepts in Django with producers and consumers.</p>
Freely redistributableCreate permissions for proxy models
2012-02-06T15:42:33.366038-06:00charetteshttps://djangosnippets.org/snippets/2677/<p>Until [#11154] is fixed, django won't create permissions for proxy models for you as it does with other models, even the one you define using the <a href="https://docs.djangoproject.com/en/dev/ref/models/options/#django.db.models.Options.permissions"><code>permissions</code> option</a> on your models.</p>
<p>This snippet will make sure all permissions are create for proxy models. Just make sure this code gets loaded …</p>
Freely redistributable