Created
May 11, 2012 13:20
-
-
Save mattdeboard/2659573 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SeoSiteFacet(models.Model): | |
| """This model defines the default Custom Facet(s) for a given site.""" | |
| seosite = models.ForeignKey('SeoSite') | |
| customfacet = models.ForeignKey('CustomFacet') | |
| is_default = models.BooleanField('Make this CustomFacet default', | |
| default=False) | |
| class Meta: | |
| # This is a ridiculous hack so we can display facets using the select | |
| # box instead of the dropdowns. | |
| auto_created = True |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment