Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #20 from nipan09/title
Browse files Browse the repository at this point in the history
Admin site title updated
  • Loading branch information
aswinshenoy authored Jul 2, 2019
2 parents f8e95f5 + f63300a commit 711d1c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions questions/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ class Topic(models.Model):
parent = models.ForeignKey('self', on_delete=models.CASCADE, null=True, blank=True)


def __str__(self):
return self.name
def __str__(self):
return self.name


class Type(models.Model):
Expand All @@ -18,4 +18,5 @@ class Meta:
verbose_name_plural = "Types"

def __str__(self):
return self.name
return self.name

2 changes: 2 additions & 0 deletions qujini/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@
urlpatterns = [
path('admin/', admin.site.urls),
]
admin.site.site_title="Qujini"

0 comments on commit 711d1c7

Please sign in to comment.