home / django_tickets / tickets

tickets: 1732

This data as json

id created changetime last_pulled_from_trac stage status component type severity version resolution summary description owner reporter keywords easy has_patch needs_better_patch needs_tests needs_docs ui_ux
1732 2006-05-01 12:48:38 2006-05-26 19:28:56 2022-03-06 03:24:08.217526 Unreviewed closed contrib.admin enhancement minor magic-removal fixed MR branch #2799, user stupidity in models.py leads to mysteriously missing tables list in admin view This is definitely a user error, but the failure is silent which was confusing for a few minutes... While developing a complex model.py, I introduced a bogus casePCPid = models.CharacterField('PCP',maxlength=20,blank=True) instead of casePCPid = models.CharField('PCP',maxlength=20,blank=True) Stupidity - all my own fault. Unfortunately, 0 errors are reported when manage.py runserver checks the models, but none of the application tables showed up in the admin list. Took a while to track down and might be a trap for young players (like me)... I'll take a poke at it but this is probably a fix someone familiar with the model checking code will need to make. This is with the latest MR branch svn - I was using an older one but updated - same problem - models validate ok but the admin is missing ALL the tables. adrian ross.lazarus@gmail.com     0 0 0 0  
Powered by Datasette · Queries took 1.84ms