Remove outdated fixture_gen files

http://github.com/alex/fixture_generator has not been updated since
Django 1.2.
This commit is contained in:
Rebecca Lovewell 2014-01-13 16:41:10 -05:00
parent b78f7ebb91
commit e799ead094
2 changed files with 0 additions and 38 deletions

View file

@ -1,9 +0,0 @@
from django.contrib.auth.models import Group
from fixture_generator import fixture_generator
@fixture_generator(Group)
def initial_data():
Group.objects.create(name="reviewers")
Group.objects.create(name="reviewers-admins")

View file

@ -1,29 +0,0 @@
from django.contrib.auth.models import User
from fixture_generator import fixture_generator
from symposion.speakers.models import Speaker
@fixture_generator(Speaker, User)
def speakers():
guido = User.objects.create_user("guido", "guido@python.org", "pythonisawesome")
matz = User.objects.create_user("matz", "matz@ruby.org", "pythonsucks")
larry = User.objects.create_user("larryw", "larry@perl.org", "linenoisehere")
Speaker.objects.create(
user=guido,
name="Guido van Rossum",
biography="I wrote Python, and named it after Monty Python",
)
Speaker.objects.create(
user=matz,
name="Yukihiro Matsumoto",
biography="I wrote Ruby, and named it after the rare gem Ruby, a pun "
"on Perl/pearl.",
)
Speaker.objects.create(
user=larry,
name="Larry Wall",
biography="I wrote Perl, and named it after the Parable of the Pearl",
)