Changes between Initial Version and Version 1 of Ticket #11779
- Timestamp:
- Aug 24, 2009, 12:56:05 PM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #11779 – Description
initial v1 1 1 I have a model with a bug in it(I imported user instead of User from django.contrib.auth.models), here is the code: 2 2 {{{ 3 3 from django.db import models 4 4 from django.contrib.auth.models import user … … 6 6 class myprofile(models.Model): 7 7 user = models.ForeignKey(user, unique=True) 8 8 }}} 9 9 When running `manage.py validate` I get no errors, but when asking for the app's sql I am told that I probably didn't install it. What should happen is that the model shouldn't validate(or at least be told that the app is found but contains errors) 10 10 {{{ 11 11 $ python manage.py validate 12 12 0 errors found … … 14 14 $ python manage.py sql myprofile 15 15 Error: App with label myprofile could not be found. Are you sure your INSTALLED_APPS setting is correct? 16 }}}