Problems with jquery and accessing django template system

2011-11-02 Thread Kevin Miller
I have a url that I need to attach to link that is in a jquery section. It seem like the django template system is not getting the variable. For example: $.each(event,function(index,value){ var url = "{% url fiesta.views.detail "+ event[index].pk +" %}"

Re: Problems with jquery and accessing django template system

2011-11-02 Thread Kevin Miller
Thanks Tom, but I have already tried that and it didn't work. On Wed, Nov 2, 2011 at 12:25 PM, Tom Evans wrote: > n Wed, Nov 2, 2011 at 5:13 PM, Kevin Miller wrote: >> I have a url that I need to attach to link that is in a jquery >> section. It seem like the django te

Pinax or Straight Django

2012-01-16 Thread Kevin Miller
Dear all, I have been struggling between using Pinax or Straight django to develop my apps. I have never used Pinax, but was reading on it. I have already only developed one website in django although it is not yet launched. I would really like to hear the experiences of those who have used both

DateTime in Django (Help)

2011-05-09 Thread Kevin Miller
without using a ModelForm but I think using the ModelForm is the proper way to do it. Can someone show me a small example of using ModelForm with DateTime field? How can can the DateTime field me displayed in django templates? Thank you so much in advance. Kevin Miller -- You received this

Re: DateTime in Django (Help)

2011-05-09 Thread Kevin Miller
10:55 AM, Kevin Miller wrote: >> Dear all, >> >> I am new to django but is in the process of building my first website. I have >> been ok for a while as I am not new to programming in python. However, I have >> one problem that I cannot figure out the proper way to

problems using django-registration

2011-06-20 Thread Kevin Miller
Hi all, I am in the process of finishing up an app. However, I just cannot integrate django-registration and sessions properly. I can allow a user to register and also log in. But I am a bit confused in getting in to work with sessions. Eg. I want to get information based on the user that is logge

Re: problems using django-registration

2011-06-21 Thread Kevin Miller
Oh silly me. I was not returning user in the HttpResponse. I don't why I assumed that it would be automatically available. Thanks all. On Mon, Jun 20, 2011 at 9:13 PM, Kenneth Gonsalves wrote: > On Mon, 2011-06-20 at 16:15 -0500, Kevin Miller wrote: >> Can anyone please tell me ho

Re: problems using django-registration

2011-06-21 Thread Kevin Miller
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.com/group/djang