Django test case execution problem

2009-07-28 Thread vijay kumar
Hi, I am running testcase from django when I run them from models.py it run. But when I put the same in test.py in the same directory where models is define it not even getting called. My structure django application is mysite Settings.py Urls.py Polls

Re: Django test case execution problem

2009-07-28 Thread vijay kumar
Hello Karen, Thanks for the correcting my mistake. On Jul 28, 6:27 pm, Karen Tracey wrote: > On Tue, Jul 28, 2009 at 9:11 AM, vijay kumar wrote: > > > Hi, > > >   I am running testcase from django when I run them from models.py it > > run. > &g

Re: Django model register for admin section

2009-08-18 Thread vijay kumar
Hi, I tried it but ended up with some problem . Let me try it once again with Thanks Ajay On Tue, Aug 18, 2009 at 1:59 PM, Alex Gaynor wrote: > > On Tue, Aug 18, 2009 at 3:28 AM, ajay wrote: > > > > Hi , > > To register model in admin section we need to Register individual > > class > >

Django 1.8 migrations showing "AttributeError"

2015-07-27 Thread vijay kumar
Hi, Problem: Empty migration doesn't show user friendly message. When i run "python manage.py migrate" with no new migrations to be applied it show me error message "AttributeError: '_Meta' object has no attribute 'model_name'" instead of showing user friendly message "no migration to apply"