Commit 7b17b6e33cf47429b0197a4499c4f7a99d0e1fd4

Authored by fbormann
1 parent e1400074

fixed forum models app-label error

courses/templates/course/view.html
... ... @@ -93,7 +93,7 @@
93 93 <p>
94 94 <b>Description:</b>
95 95 <i>
96   - {{course.description}}
  96 + {{course.content}}
97 97 </i>
98 98 </p>
99 99  
... ...
forum/models.py
... ... @@ -16,6 +16,7 @@ class Forum(Activity):
16 16 class Meta:
17 17 verbose_name = _('Forum')
18 18 verbose_name_plural = _('Foruns')
  19 + app_label ='forum'
19 20  
20 21 def __str__(self):
21 22 return self.name
... ... @@ -32,6 +33,7 @@ class Post(models.Model):
32 33 class Meta:
33 34 verbose_name = _('Post')
34 35 verbose_name_plural = _('Posts')
  36 + app_label ='forum'
35 37  
36 38 def __str__(self):
37 39 return ''.join([self.user.name, " / ", str(self.post_date)])
... ... @@ -48,6 +50,7 @@ class PostAnswer(models.Model):
48 50 class Meta:
49 51 verbose_name = _('Post Answer')
50 52 verbose_name_plural = _('Post Answers')
  53 + app_label ='forum'
51 54  
52 55 def __str__(self):
53 56 return ''.join([self.user.name, " / ", str(self.answer_date)])
54 57 \ No newline at end of file
... ...