diff options
Diffstat (limited to 'sublab_project/projects')
-rw-r--r-- | sublab_project/projects/models.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sublab_project/projects/models.py b/sublab_project/projects/models.py index 0687216..eb496bf 100644 --- a/sublab_project/projects/models.py +++ b/sublab_project/projects/models.py @@ -11,7 +11,8 @@ class Project(models.Model): """ name = models.CharField('Name', max_length=100) slug = models.SlugField('Slug', unique=True) - description = models.TextField('Beschreibung') + description = models.TextField('Beschreibung', + help_text='Es kann <a href="http://wikicreole.org/" target="blank">Creole als Markup</a> benutzt werden.') description_html = models.TextField(editable=False) contact_email = models.EmailField('E-Mail', blank=True) contact_url = models.URLField('URL', blank=True) @@ -36,4 +37,4 @@ class Project(models.Model): @models.permalink def get_absolute_url(self): - return ('projects_detail', (), {'id': self.id}) + return ('projects_detail', (), {'slug': self.slug}) |