Skip to content
Browse files

tidy code

  • Loading branch information...
1 parent e61beac commit d6f9da6fa37962018acc071105cbddad665d0979 @evildmp committed Mar 21, 2013
Showing with 1 addition and 7 deletions.
  1. +1 −1 arkestra_utilities/generic_models.py
  2. +0 −6 contacts_and_people/models.py
View
2 arkestra_utilities/generic_models.py
@@ -53,7 +53,7 @@ class Meta:
(0, u"Normal"),
(1, u"More important"),
(10, u"Most important"),
- )
+ )
importance = models.PositiveIntegerField(null=True, blank=False,
default=0, choices=IMPORTANCES,
help_text=u"Important items will be featured in lists")
View
6 contacts_and_people/models.py
@@ -14,13 +14,9 @@
from mptt.models import MPTTModel, TreeForeignKey
from mptt.managers import TreeManager
-# import mptt
from filer.fields.image import FilerImageField
-# from news_and_events.models import NewsAndEventsPlugin
-# from news_and_events.cms_plugins import CMSNewsAndEventsPlugin
-
from arkestra_utilities.mixins import URLModelMixin
from arkestra_utilities.settings import MULTIPLE_ENTITY_MODE, ARKESTRA_BASE_ENTITY, DEFAULT_NEWS_PAGE_TITLE, DEFAULT_CONTACTS_PAGE_TITLE, DEFAULT_VACANCIES_PAGE_TITLE, DEFAULT_PUBLICATIONS_PAGE_TITLE
from links.models import ExternalLink
@@ -255,8 +251,6 @@ def default_entity_id(self):
if self.base_entity and not MULTIPLE_ENTITY_MODE:
return base_entity_id
- def some_thing(self):
- print "*********"
class Entity(MPTTModel, EntityLite, CommonFields):
objects=EntityManager()

0 comments on commit d6f9da6

Please sign in to comment.
Something went wrong with that request. Please try again.