How do I add a Foreign Key Field to a ModelForm in Django?

2014-07-08 Thread Ram Ganesh
it shows a drop down menu which is have mobile objects. How to get mobile name? confused about - self.queryset = forms.ModelChoiceField(queryset=Mobile.objects.all(label="select mob") models.py class Mobile(models.Model): name = models.CharField(max_length=50) price = models.DecimalFie

Re: How do I add a Foreign Key Field to a ModelForm in Django?

2014-07-08 Thread Ram Ganesh
Thanks for your time -- 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-users+unsubscr...@googlegroups.com. To post to this group, send email to django-user

Re: How do I add a Foreign Key Field to a ModelForm in Django?

2014-07-08 Thread Ram Ganesh
never a mobile object is created. > > > > > On Tue, Jul 8, 2014 at 7:46 PM, Ram Ganesh > wrote: > >> >> >> it shows a drop down menu which is have mobile objects. >> How to get mobile name? >> confused about - self.queryset = >> forms

django - south :Getting error with migration

2014-08-21 Thread Ram Ganesh
igration to fail is further up. Mysql support south or not? what should i do? Thanks, Ram Ganesh K -- 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 d

Merge two Databases into one

2014-10-24 Thread Ram Ganesh
what do you think would be the best solution for my problem? using MySql, Django 1.3 Thanks, Ram Ganesh K -- 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 e

How to display image in template

2014-06-27 Thread Ram Ganesh
I started learning Django and I'm trying to build a photo app. this app merging uploaded images and rendering. I have merged Images with PIL and save the image in accessible file system. Now I'm stuck with this, -How do I displaying merged new Image, -How to serve merged new Image files in my Te

How can I use extra data in Javascript for custom rendering

2015-08-20 Thread Ram Ganesh
Just posted a question about this on stackoverflow -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group a

django_select2- How can I use extra data in Javascript for custom rendering

2015-08-23 Thread Ram Ganesh
Just posted a question about this on stackoverflow <http://stackoverflow.com/questions/32122900/django-select2-how-can-i-use-extra-data-in-js-for-custom-rendering> Thanks, Ram Ganesh K -- You received this message because you are subscribed to the Google Groups "Django users