Hi William.

I have created a test project ( just a new Django Project in PythonStudio
so it is tested in Windows too, but this code will work on linux too )

http://ananas.ws/media/DjangoTest.zip

unzip
go to DjangoTest main directory and try to make migrations:

DjangoTest>pypy manage.py makemigrations

you'll get an error at the only  model  in the app
DjangoTest\app\models.py


from datetime import date


class TestClass(models.Model):

    start_date = models.DateField(
        verbose_name=u'start date',
        default=date.today,
        )

Best regards
Sergey
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
https://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to