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 ###