authentication in django

2011-08-27 Thread NISA BALAKRISHNAN
Hi, I am new to django. i am making a django app for a logged in user to add movies he watched. how can i block a logged in user from accessing the log in form ? the url .../accounts/login -- You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: template designer needed

2011-10-05 Thread NISA BALAKRISHNAN
ssage because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this gr

Re: "python manage.py runserver" creates not tables (tutorial)

2011-11-02 Thread nisa balakrishnan
did u do a syncdb ? On 02-Nov-2011, at 3:12 PM, angelika wrote: > I've started the Django tutorial and I get as far as running python > manage.py runserver, but when I do, nothing happens. I get no messages > and the database connected to the project is still empty. The database > exists and I've

trying to use the User model

2011-07-11 Thread NISA BALAKRISHNAN
I am new to django. I am trying to write a model that looks like dis. class Profile(models.Model): user = models.OneToOneField(User) birth_date = models.DateField() bio = models.TextField() address = models.CharField(max_length=100) city = models.CharField(max_length=50) st

middleware

2011-07-13 Thread NISA BALAKRISHNAN
how to write a middleware that that stores all database requests. How can i store all database requests? pls help -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe

database requests

2011-07-13 Thread NISA BALAKRISHNAN
how can i get the queries being passed while a page is being requested? i mean when a view is requested the database queries being sent. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Re: database requests

2011-07-14 Thread NISA BALAKRISHNAN
ibed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://gro

urls

2011-07-14 Thread NISA BALAKRISHNAN
i am new to django. i have a very simple question. wht is the url i need to give to httpresponseredirect() to load my home page with url http://127.0.0.1:8000/ my urls.py looks like dis: urlpatterns = patterns('', # Examples: url(r'^$', 'person.views.home', name='home'), url(r'^edi

syntax

2011-07-18 Thread NISA BALAKRISHNAN
what is the correct syntax for this: self.ErrorMessages = _('Problem with data of Waybill') '%s: %s \n' % ( the_waybill, str( errorObj.code ) ) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@goo

Re: syntax

2011-07-18 Thread NISA BALAKRISHNAN
r2 = "%s: %s \n" % ( the_waybill, str( errorObj.code ) ) > self.ErrorMessages = "%s %s" % ( _str, _str2) > > (i split into two parts to make it easier on the eyes) > > Cal > > On Mon, Jul 18, 2011 at 5:59 PM, NISA BALAKRISHNAN < > > > > > > >

static urls

2011-07-18 Thread NISA BALAKRISHNAN
i am new to django @import "{{STATIC_URL}}/css/demo_page.css"; the slash after {{STATIC_URL}} is needed? what is the actual usage ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.

url names

2011-07-19 Thread NISA BALAKRISHNAN
how to add url names to the following entry in urls.py. ( r'^all/synchro/download/file/', "get_all_data_download" ) -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscri

Re: creating dynamic forms with django

2011-07-20 Thread NISA BALAKRISHNAN
> For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Thanks & Regards, Nisa Balakrishnan, SHARJAH, UAE. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

incorrect padding

2011-07-23 Thread NISA BALAKRISHNAN
TypeError at /waybill/deserialize/ Incorrect padding Request Method: POST Request URL:http://127.0.0.1:8000/waybill/deserialize/ Django Version: 1.3 Exception Type: TypeError Exception Value: Incorrect padding Exception Location: /Library/Frameworks/Python.framew

Re: about django

2011-07-28 Thread NISA BALAKRISHNAN
gle Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.c