filter from databse list

2013-10-29 Thread Mahantesh U
Hi, I'm using chcekboxes for 3 location india,china,usa in my form. The selected filed are stoiring in database in list like: location: ['india','china', 'usa'] 1st row in databse: ['india'] 2nd row in databse: ['india', 'china'] 3rd row in databse: ['india', 'china', 'usa'] in my vie

admin file not occuring

2013-10-26 Thread Mahantesh U
HI all, I am new to django. I am not able to see admin.py in my project file. So not able to run '/admin' API.pls suggest the solution. Thanks mahantesh -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and sto

Add custom button in form

2013-10-23 Thread Mahantesh U
Hi All, in views.py: -- def post_form_values(request): if request.method == 'POST': form = facultyForm(request.POST) if form.is_valid(): form.save() return HttpResponse("Form data saved to database") #return HttpRespon

Re: save form data to mysql table

2013-10-23 Thread Mahantesh U
; On Wednesday, October 23, 2013, Mahantesh U wrote: > >> Hi All, >> >>I ve a template base.html in project file. once the user enters data >> and clicks on submit button the details should save to mysql table >> >> camp_db database. I dont ve idea of how

save form data to mysql table

2013-10-23 Thread Mahantesh U
Hi All, I ve a template base.html in project file. once the user enters data and clicks on submit button the details should save to mysql table camp_db database. I dont ve idea of how to use ModelForm. How can i achieve this? pls help me soon. Thanks Mahantesh -- You received this message

How to call url and get json data

2013-10-21 Thread Mahantesh U
Hi, How to call the below url in django in views file: http://www.youtube.com/oembed?url=http://www.youtube.com/watch?v=O-lzp4Hyqp8&format=json The above api returns json data which further i need to use and fill those in html file. HttpResponse('http://www.youtube.com/oembed?u

set-up and usage of mysql in django

2013-10-20 Thread Mahantesh U
Pls let me know how to use mysql with django with few examples... I'm new to django. Thanks mahantesh -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-us

Re: New to Django

2013-10-15 Thread Mahantesh U
Oct 15, 2013 at 3:56 PM, Mahantesh U > > > wrote: > >> Thanks a lot Lloyd Dube :) >> >> >> On Tuesday, October 15, 2013 5:38:33 PM UTC+5:30, Lloyd Dube wrote: >> >>> Hi, >>> >>> Do the tutorial on the official Django website -

Re: New to Django

2013-10-15 Thread Mahantesh U
Thanks a lot Lloyd Dube :) On Tuesday, October 15, 2013 5:38:33 PM UTC+5:30, Lloyd Dube wrote: > > Hi, > > Do the tutorial on the official Django website - it will show you where > else to look when you are done :) > > > On Tue, Oct 15, 2013 at 7:55 AM, Mahantesh U &

New to Django

2013-10-15 Thread Mahantesh U
Hi All, I am new to Django framework. I worked on Flask framework using python. Please share the sites to learn Django easily. Thanks Mahantesh -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receivin