Skip to content

Commit

Permalink
Fixed #486 NameError: global name 'notification' is not defined
Browse files Browse the repository at this point in the history
Signed-off-by: Jannis Leidel <[email protected]>
  • Loading branch information
googletorp authored and jezdez committed Oct 14, 2009
1 parent 2e6b817 commit d83a2c6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions pinax/apps/projects/forms.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
from django import forms
from django.utils.translation import ugettext_lazy as _

from django.conf import settings
from django.contrib.auth.models import User
from django.utils.translation import ugettext_lazy as _

from projects.models import Project, ProjectMember


if "notification" in settings.INSTALLED_APPS:
from notification import models as notification
else:
notification = None

# @@@ we should have auto slugs, even if suggested and overrideable

class ProjectForm(forms.ModelForm):
Expand Down

0 comments on commit d83a2c6

Please sign in to comment.