#16303: How do I test a database view
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  benedict.m.holland@…               |         Status:  closed
                   Type:             |      Component:  Testing framework
  Uncategorized                      |       Severity:  Normal
              Milestone:             |       Keywords:
                Version:  1.3        |      Has patch:  0
             Resolution:  invalid    |    Needs tests:  0
           Triage Stage:             |  Easy pickings:  0
  Unreviewed                         |
    Needs documentation:  0          |
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by anonymous):

 That is fine, but I am getting an error running tests, doing something
 that is fairly normal procedure. Also I am not sure if it is a bug or not
 where TRUNCATE does not call a CASCADE. I actually found the file, added
 CASCADE and the error goes away. It is located at:

 ./django/db/backends/postgresql/operations.py

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16303#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to