how to use variables in settings.py on template + how to use the media

2011-04-14 Thread GKR
how to use variables in settings.py on template. eg : [settings.py] -- import os import sys PROJECT_ROOT = os.path.abspath(os.path.join(os.path.dirname(__file__), "./")) PROJECT_NAME = 'e_book' MEDIA_ROOT = os.path.join(PROJECT_ROOT, 'site_media/')

Re: how to use variables in settings.py on template + how to use the media

2011-04-14 Thread GKR
please 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 from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit thi

Re: how to use variables in settings.py on template + how to use the media

2011-04-14 Thread GKR
plz help on how to use my custom images and css -- 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 from this group, send email to django-users+unsubscr...@googlegro

How to display the data on the page from the database

2011-04-26 Thread GKR
How to display the data on the page from the database in tabular format like msflexgrid with update facility. Please 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 u

please help

2011-04-29 Thread GKR
for a particular project with login system which type u all suggest is the best. 1. login system to be create by self model 2. to use the login system provided by django -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: please help

2011-04-29 Thread GKR
more over how to use the admin django login system in my own created templates and views. please help lil bit desciptively. -- 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

how to add datepicker (available in admin)

2011-05-02 Thread GKR
how to add datepicker (available in admin) into my custom page for date input form field. -- 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 from this group, send e

Re: how to add datepicker (available in admin)

2011-05-04 Thread GKR
thanks but its giving an error like name 'AdminDateWidget' is not defined please help it might be a configuration problem please help thanks -- 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

how to use jquery for date picker

2011-05-04 Thread GKR
how to use jquery for date picker please 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 from this group, send email to django-users+unsubscr...@googlegrou

Re: how to use jquery for date picker

2011-05-04 Thread GKR
sorry for that but I am going to use that for django thanks -- 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 from this group, send email to django-users+unsubscr

not able to use editable=True or false in forms.CharField()

2011-05-05 Thread GKR
not able to use editable=True or false in forms.CharField() getting error as TypeError at /items_entry/ __init__() got an unexpected keyword argument 'editable' Request Method: GET Request URL: http://localhost:8000/items_entry/ Django Version: 1.3 Exception Type: TypeError Exception Val

Re: not able to use editable=True or false in forms.CharField()

2011-05-05 Thread GKR
ya removing the editable kwarg gets rid of the error. -- 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 from this group, send email to django-users+unsubscr...@go

Re: not able to use editable=True or false in forms.CharField()

2011-05-05 Thread GKR
what is the alternative to disable any form field -- 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 from this group, send email to django-users+unsubscr...@googleg

Froms new line in forms.py

2011-05-06 Thread GKR
raise forms.ValidationError("Item Code [" + fieldrec.barcode_id + "] already exists. [" + fieldrec.i_name + " -- " + str(fieldrec.i_size) + "(ml) -- Rs." + str(fieldrec.i_price) + " -- Last Updated On: " + lud.strftime("%d/%m/%Y") +"]") in forms.py gives output as ..a

how to use jquery for point of Sale

2011-05-06 Thread GKR
how to use jquery for point of Sale -- 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 from this group, send email to django-users+unsubscr...@googlegroups.com. Fo

Re: how to use jquery for point of Sale

2011-05-06 Thread GKR
sorry for that please help me i wanted to add a table and a input text for the purpose of Point Of Sale. So that the id when entered in the textbox will add the item onto the table with other values like rates etc for billing. how can i implement this.. please give me any example to learn.

Re: Froms new line in forms.py

2011-05-06 Thread GKR
actually i wanted the output as ..already exists. [DEMO_ not ..already exists. [DEMO_ in the output screen. -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: how to use jquery for point of Sale

2011-05-06 Thread GKR
Im sorry for all what happened. as im not that much familiar with forums etc.. I admin it was my mistake. still i was not able to get what Shawn replied "How to ask an actual question so maybe someone can answer it." please get me in a lil bit descriptive way. Thanks -- You received this me

Re: how to use jquery for point of Sale

2011-05-07 Thread GKR
thanks -- 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 from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit thi

Re: Froms new line in forms.py

2011-05-07 Thread GKR
Please 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 from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit thi

Re: Froms new line in forms.py

2011-05-07 Thread GKR
Yes It gave the output displaying within the strings. -- 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 from this group, send email to django-users+unsubscr...@go

Re: Froms new line in forms.py

2011-05-07 Thread GKR
sorry for that I am seeing it in browser -- 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 from this group, send email to django-users+unsubscr...@googlegroups.c

Re: how to use jquery for point of Sale

2011-05-07 Thread GKR
thanks Derek -- 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 from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit th

Re: Froms new line in forms.py

2011-05-07 Thread GKR
Thanks yu hepled me to resolve the problem.. The problem was i used it earlier as raise forms.ValidationError("Item Code [" + fieldrec.barcode_id + "] already exists." + mark_safe("Errorhere") + fieldrec.i_name + " -- " + str(fieldrec.i_size) + "(ml) -- Rs." + str(fieldrec.i_price) + " -- Las

Re: Froms new line in forms.py

2011-05-07 Thread GKR
Thanks yu hepled me to resolve the problem.. The problem was i used it earlier as raise forms.ValidationError("Item Code [" + fieldrec.barcode_id + "] already exists." + mark_safe("Errorhere") + fieldrec.i_name + " -- " + str(fieldrec.i_size) + "(ml) -- Rs." + str(fieldrec.i_price) + " -- Las

Use Ajax to retrieve data from db based on data from input box and adding it to a table.

2011-05-13 Thread GKR
which is the best way to implement the following:: i will be having a text box and a Add button Along with a table below it containing headers Serial No, roll no,Name, Age, Address, Phone no my logic is to take the roll no as input from the text box and when i press enter either on the text f

Re: Use Ajax to retrieve data from db based on data from input box and adding it to a table.

2011-05-13 Thread GKR
please 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 from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit thi

Re: Use Ajax to retrieve data from db based on data from input box and adding it to a table.

2011-05-13 Thread GKR
Thanks for ur idea so shall i put the scripts directly on the template file to work out or is there any better alternate.. -- 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 u

Re: Use Ajax to retrieve data from db based on data from input box and adding it to a table.

2011-05-13 Thread GKR
thanks -- 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 from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this gro

Django widget popup

2011-06-24 Thread GKR
i tried to use sontek / *django-tekextensions( https://github.com/sontek/django-tekextensions ) for popup widget *but cannot follow what Model.object should be given in forms.py. #forms.pyfrom app.widgets import SelectWithPopUp class CustomForm(forms.Form): selectfield = forms.ModelChoic

Re: Django widget popup

2011-06-24 Thread GKR
Please help -- 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/-/2rChkYMaGMAJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe

Looking for recomendation on using popup like admin "+" widget

2011-06-25 Thread GKR
Im looking for some way to use the widget with a choice filed like admin interface (+) to popup a window when clicked on it and popup should give the way to add new data like the datas in the choice field. on save the window to close and the choice field to get updated along with that.. Pleas

Re: Looking for recomendation on using popup like admin "+" widget

2011-06-25 Thread GKR
Some one please help -- 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/-/Vgrw_-xLcI0J. To post to this group, send email to django-users@googlegroups.com. To un

Re: Looking for recomendation on using popup like admin "+" widget

2011-07-06 Thread GKR
Thanks Peter -- 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/-/018S1QL0-qMJ. To post to this group, send email to django-users@googlegroups.com. To unsubscrib

Re: how to Generate a 5 character unique alpha-numeric string

2011-04-10 Thread GKR
I meant to say not random. serial eg: .. .. 2A00A 2A00B .. .. .. 2A00Z 2A010 2A011 .. ... 2A019 2A01A 2A01B -- 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