Changes between Version 2 and Version 3 of Ticket #21648, comment 5
- Timestamp:
- Sep 17, 2014, 8:08:31 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21648, comment 5
v2 v3 4 4 5 5 /cms/models/pagemodel.py 6 from django.contrib.sites.models import Site7 site = models.ForeignKey(Site, help_text=_('The site the page is accessible at.'), verbose_name=_("site")) 6 {{{ from django.contrib.sites.models import Site 7 site = models.ForeignKey(Site, help_text=_('The site the page is accessible at.'), verbose_name=_("site")) }}} 8 8 9 9 http://docs.django-cms.org/en/2.4.0/extending_cms/api_references.html