On Thu, 2007-06-21 at 20:23 -0700, dailer wrote:
> seems like a very simple example based on
> http://www.djangoproject.com/documentation/0.96/serialization/:
>
> def exportCountryCodeFixture():
> from django.core import serializers
> from mysite.models import CountryCode
>
> out =
seems like a very simple example based on
http://www.djangoproject.com/documentation/0.96/serialization/:
def exportCountryCodeFixture():
from django.core import serializers
from mysite.models import CountryCode
out = open("CountryCode.xml", "w")
serializers.serialize("xml",
2 matches
Mail list logo