Hi all. Can someone experienced please have a look at the #3163 ticket ("sql_generation_required" Meta option) and hint me what other steps should I do to move the patch forward? I have a suspicion that the testcases are the only remaining thing - but then, can someone hint me how these testcases should verify this functionality? The functionality is set up by the Meta option (and we can do that in the test easily) - but how can a testcase verify that the SQL generated by the django-admin commands does contain or do not contain the needed tables? Can it run the django-admin.py directly "on itself" - but then, how can we specify the application being tested? Is there any other way to test the execution of django-admin.py within the Django own test suites?
On 2 нояб, 16:32, Honeyman <[EMAIL PROTECTED]> wrote: > Hello, > > Patch propagated to trunk Django version (original patch was for 0.9.6 > release) and resubmitted under the #3163 ticket originally raising > this problem (ticket #5858 was closed as a duplicate to #3163). > Any comments on the approach (good idea or not? is any "more djangy" > approach to handle SQL views is planned already?), as well as testing > (especially in the area of many-to-many tables) are appreciated. > > On 2 нояб, 00:27, Honeyman <[EMAIL PROTECTED]> wrote: > > ...> My opinion is that the most trivial way to let Django-users use the > > custom SQL views in a Django-way and at the same time allow them to > > automatically manage the SQL tables by Django is to let them specify > > that particular models do not need any SQL actions for them during > > usual sqlall/sqlreset/reset/etc manage commands. > > ... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-developers?hl=en -~----------~----~----~----~------~----~------~--~---