updated docs, and moved them to DOCS.rst and README.rst

This commit is contained in:
Bert Constantin
2010-01-25 16:49:23 +01:00
parent e3346bd4fb
commit ba9a0b1302
7 changed files with 544 additions and 967 deletions
+11 -1
View File
@@ -20,10 +20,20 @@ class Command(NoArgsCommand):
def handle_noargs(self, **options):
print "polycmd"
Project.objects.all().delete()
o=Project.objects.create(topic="John's gathering")
o=ArtProject.objects.create(topic="Sculpting with Tim", artist="T. Turner")
o=ResearchProject.objects.create(topic="Swallow Aerodynamics", supervisor="Dr. Winter")
print Project.objects.all()
print
ModelA.objects.all().delete()
o=ModelA.objects.create(field1='A1')
o=ModelB.objects.create(field1='B1', field2='B2')
o=ModelC.objects.create(field1='C1', field2='C2', field3='C3')
print ModelA.objects.all()