How to give facility to user to add django model field dynamically?

2013-12-23 Thread navnath gadakh
-- 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-users@googlegroups.com. V

how to print json object in django template?

2013-08-12 Thread navnath gadakh
-- 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-users@googlegroups.com. V

PDF generator in Django

2013-08-04 Thread navnath gadakh
Which is best tool to generate PDF in python django -- 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 gr

custom management commands django

2013-07-24 Thread navnath gadakh
i have created crontab for custom management command like this :* * * * * /usr/lib/python2.7 /media/Sonisons/SOrigin/instaShare/src/instaShare/manage.py cronjobs >>/home/navnath/tt.txt 2>&1 But error is: /bin/sh: 1: /usr/lib/python2.7: Permission denied I have done chmod 777 - R /usr/lib/pyth

Re: i am getting ConfigParser.NoSectionError: No section: 'database' plz help

2012-09-27 Thread Navnath Gadakh
yes mysql db is installed on my ubuntu -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/jGY4wqQA14sJ. To post to this group, send email to django-users@googl

Re: i am getting ConfigParser.NoSectionError: No section: 'database' plz help

2012-09-27 Thread Navnath Gadakh
my setting.py is and a have also created a new setting.conf .may be there is problem of path,plz help. thnks in adv # Django settings for kasakooproj project. import os import ast from ConfigParser import RawConfigParser config = RawConfigParser() PROJECT_PATH = os.path.realpath(os.path.dirna

i am getting ConfigParser.NoSectionError: No section: 'database' plz help

2012-09-27 Thread Navnath Gadakh
ConfigParser.NoSectionError: No section: 'database' -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/0uRjwXdd_jIJ. To post to this group, send email to djang

mysql varchar datatype limit?

2012-09-23 Thread Navnath Gadakh
name = models.CharField(max_length=100) and if if give actual name of only 50 characters ,then it will occupy all 100 chars of only 50? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.goo

problem with html select box values

2012-09-19 Thread Navnath Gadakh
i have project for online shoping in that i use product category and and product names. i have taken product name in select dropdown box. now i want to create offer for any perticular product whatever i selected . but at the time of product name comparison in view it takes only first string

Re: date display problem?

2012-09-19 Thread Navnath Gadakh
i am fetching multiple rows? i have already used for offer in offers: print offer.effective _date but didnt work.my code is my_offers = Offer.objects.filter(offer_id=coupon.offer_id_id,is_active=True) for offer in my_offers: print offer.effective_

problem with html select box values

2012-09-18 Thread Navnath Gadakh
i have project for online shoping in that i use product category and and product names. i have taken product name in select dropdown box. now i want to create offer for any perticular product whatever i selected . but at the time of product name comparison in view it takes only first string

Re: date display problem?

2012-09-18 Thread Navnath Gadakh
model class Offer(models.Model): product_id = models.ForeignKey(Product) merchant_id = models.ForeignKey(Merchant) offer_id = models.AutoField(primary_key=True) description = models.CharField(max_length=100,null=False)#Not NULL effective_date = models.DateField() expirati

date display problem?

2012-09-18 Thread Navnath Gadakh
i have post date variable to view? but when i retrieve date from database . not displaying on browser -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/t7LK

Re: post method problem in django template

2012-09-17 Thread Navnath Gadakh
On Monday, September 17, 2012 10:36:55 PM UTC+5:30, Navnath Gadakh wrote: > > i have used one HTML select box in my template having name of product as > two string but when i send this value by post method in view it takes only > one string?plz help > how to submit fo

post method problem in django template

2012-09-17 Thread Navnath Gadakh
i have used one HTML select box in my template having name of product as two string but when i send this value by post method in view it takes only one string?plz help -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussio

Re: java script alert from view after sucessfull opreation

2012-09-17 Thread Navnath Gadakh
> > but i used function HttpResponse() not render_to _response(). So how > to carry variable from view to template with httpresponse() -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://grou

java script alert from view after sucessfull opreation

2012-09-16 Thread Navnath Gadakh
how to use java script alert from view after sucessfull opreation in view ifself? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/v41IbNfmmgYJ. To post to

Re: how to use java script alert in view? i use form submit on post method. After sucessfull opreation in view i want alert

2012-09-16 Thread Navnath Gadakh
on sucess and unsucess i want java script alert. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/JfhG8Aul82YJ. To post to this group, send email to django-u

how to use java script alert in view? i use form submit on post method. After sucessfull opreation in view i want alert

2012-09-16 Thread Navnath Gadakh
-- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/t6s6YgYVAY8J. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this