nephila / django-meta

Pluggable app to allow Django developers to quickly add meta tags and OpenGraph, Twitter, and Google Plus properties to their HTML responses.
https://django-meta.readthedocs.io
Other
480 stars 68 forks source link

build_absolute_uri incorrect setting fetch #133

Closed adrien-delhorme closed 2 years ago

adrien-delhorme commented 2 years ago

If META_USE_SITES is not defined in the project settings (but META_SITE_DOMAIN is defined), the following line throws an AttributeError: 'Settings' object has no attribute 'META_USE_SITES' exception. https://github.com/nephila/django-meta/blob/329a466f50dc74038c23cbb93fbe1566a3f3ef31/meta/models.py#L189