Skip to content
This repository has been archived by the owner on Nov 28, 2019. It is now read-only.

Commit

Permalink
Added a polls app, just for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fsouza committed Nov 9, 2011
1 parent c508970 commit 716bfdf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Empty file added polls/__init__.py
Empty file.
11 changes: 11 additions & 0 deletions polls/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
from django.db import models


class Poll(models.Model):
title = models.CharField(max_length=100)


class Choice(models.Model):
title = models.CharField(max_length=100)
poll = models.ForeignKey(Poll)
1 change: 1 addition & 0 deletions settings_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@

INSTALLED_APPS = (
'roan',
'polls',
)

0 comments on commit 716bfdf

Please sign in to comment.