@@ -0,0 +1,1654 @@
+# -*- coding: latin-1 -*-%0A# Copyright 2009 Mike Wakerly %3Copensource@hoho.com%3E%0A#%0A# This file is part of the Pykeg package of the Kegbot project.%0A# For more information on Pykeg or Kegbot, see http://kegbot.org/%0A#%0A# Pykeg is free software: you can redistribute it and/or modify%0A# it under the terms of the GNU General Public License as published by%0A# the Free Software Foundation, either version 2 of the License, or%0A# (at your option) any later version.%0A#%0A# Pykeg is distributed in the hope that it will be useful,%0A# but WITHOUT ANY WARRANTY; without even the implied warranty of%0A# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the%0A# GNU General Public License for more details.%0A#%0A# You should have received a copy of the GNU General Public License%0A# along with Pykeg.  If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A%0Aimport datetime%0A%0Afrom django.db import models%0Afrom django.contrib.auth.models import User%0Afrom django.contrib import admin%0A%0Aclass Page(models.Model):%0A  STATUS_CHOICES = (%0A    ('published', 'published'),%0A    ('draft', 'draft'),%0A    ('deleted', 'deleted'),%0A  )%0A  MARKUP_CHOICES = (%0A    ('html', 'html'),%0A    ('markdown', 'markdown'),%0A    ('plaintext', 'plaintext'),%0A  )%0A  name = models.CharField(max_length=256)%0A  title = models.CharField(max_length=256)%0A  author = models.ForeignKey(User)%0A  content = models.TextField()%0A  status = models.CharField(max_length=32, choices=STATUS_CHOICES,%0A    default='published')%0A  markup = models.CharField(max_length=32, choices=MARKUP_CHOICES,%0A    default='markdown')%0A  created_on = models.DateTimeField(editable=False, auto_now_add=True)%0A  last_modified = models.DateTimeField(auto_now=True)%0A%0A

Add start of kegweb models.