Skip to content

Commit

Permalink
updated .py
Browse files Browse the repository at this point in the history
  • Loading branch information
dkdndes committed Jan 25, 2015
1 parent 87e8a1d commit 04e4d46
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions webservicedoc/admin.py
Expand Up @@ -7,6 +7,7 @@ class WebservicedocAdmin(admin.ModelAdmin):
"""Customize WebservicedocAdmin
"""
form = WebservicedocAdminForm
fields = ('dwml_raw',)
save_as = True


Expand Down
3 changes: 3 additions & 0 deletions webservicedoc/models.py
Expand Up @@ -3,3 +3,6 @@

class Webservicedoc(models.Model):
dwml_raw = models.TextField()

def __str__(self):
return self.dwml_raw

0 comments on commit 04e4d46

Please sign in to comment.