Looks like a bug or partial implementation issue. I just submitted a pull
request, so hopefully it'll get accepted quickly.
https://github.com/willhardy/django-seo/pull/35
-Jeff
On Tuesday, January 22, 2013 1:36:54 PM UTC-7, jondbaker wrote:
>
> I wasn't. If anyone has a solution I'd still be interested in cleaning
> up the clutter and removing the backends I'm not using.
>
> On 01/22/2013 12:05 PM, Jeff Ammons wrote:
>
> Were you able to figure out what was happening here? I'm experiencing the
> same issue.
>
> On Friday, August 17, 2012 2:16:53 PM UTC-6, jondbaker wrote:
>>
>> I've successfully installed Django-SEO, but when I try to limit the
>> number of backends (I only need/want my admin to have 'path' and not the
>> other three) I am met with the following error:
>> AttributeError at /admin/ 'NoneType' object has no attribute '_meta'
>>
>> I am using the documentation here:
>> http://django-seo.readthedocs.org/en/latest/reference/definition.html#Meta.backends
>>
>> *seo.py*
>> from rollyourown import seo
>>
>> class AppMetadata(seo.Metadata):
>> title = seo.Tag(head=True, max_length=68)
>> description = seo.MetaTag(max_length=155)
>>
>> class Meta:
>> backends = ('path',)
>> #backends = ('path', 'modelinstance', 'model', 'view',) This
>> works but includes all default backends
>>
>> *admin.py*
>> from django.contrib import admin
>> from rollyourown.seo.admin import register_seo_admin
>>
>> from localsite.seo import AppMetadata
>>
>> register_seo_admin(admin.site, AppMetadata)
>>
> --
> 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/-/gB5-ZyRCpHIJ.
> To post to this group, send email to django...@googlegroups.com
> .
> To unsubscribe from this group, send email to
> django-users...@googlegroups.com .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
>
> --
> Software Developerhttps://github.com/jondbaker
> GPG: 1F6F3FFD
>
>
--
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/-/McxOegohZOEJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en.