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

Error when META_USE_TWITTER_PROPERTIES enable #123

Closed IRIDON closed 3 years ago

IRIDON commented 3 years ago

Description

Error in {% twitter_prop 'domain' meta.get_domain %}. Error message "_Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLEDAPPS."

Versions

1.7 in Django 2.0.10

Actual behaviour

Error when META_USE_TWITTER_PROPERTIES enable

IRIDON commented 3 years ago

I disabled META_USE_SITES and everything worked. Sorry for the false report.