Call stacks for Model classes

2015-05-26 Thread malhar
So, there is a huge Django app with multiple classes in Model. I am interested in getting call stacks of some classes. I have few questions in the approach and few questions regarding the implementation. I am using Django 1.4.20 and python 2.7 1. What if we decide to write a decorator for the

Help related executing system command from django

2013-10-17 Thread Malhar Vora
a file called "maps.txt" which is also in same directory as dataintegrator.py. When I execute script from command line it can read file but execution from web interface gives exception. IOError: [Errno 2] No such file or directory: 'maps.txt' Even the maps.txt file exists i

Django session not saved

2013-10-05 Thread Malhar Vora
sts in database or not ''' users = User.objects.filter(username=uname, password=pwd) if len(users) >0: print "Access granted" return True else: print "Access denied" return False ###