django-generate-scaffold icon indicating copy to clipboard operation
django-generate-scaffold copied to clipboard

django.utils.timezone import error on Django 1.3.

Open modocache opened this issue 12 years ago • 1 comments

django.utils.timezone is only available on Django 1.4+, but the package metadata specifies Django 1.3+ as a dependency. As a result, attempting to use generate_scaffold/templates/generate_scaffold/models/models.txt will raise an error when using Django 1.3.

Either the package metadata should be changed to support only 1.4+, or a change to the template needs to be made.

modocache avatar Oct 04 '12 16:10 modocache

I just encountered this error when trying to create a scaffold for the first time.

jseutter avatar Oct 12 '12 06:10 jseutter