Closed norchai closed 8 months ago
@norchai Thanks for reporting this! I think you're right, I'll check with @yakky what's the best fix here, because Sites
framework should not be mandatory
@norchai Hi! I've just released 2.4.1 version, this should be fixed now. Thanks again for reporting this!
Yup, that seems to work. Thank you for fixing that so quickly!
Description
If the
sites
app isn't installed in settings,meta
throws a RuntimeError:Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS.
The requirement to install the Sites app is not documented.
Steps to reproduce
META_USE_TWITTER_PROPERTIES = True
meta/meta.html
in a templatemeta
context var to view contextVersions
Python: 3.10.9 Django: 4.2 django-meta: 2.4.0
Expected behaviour
Either
Actual behaviour