help for Date base generic views

2008-10-29 Thread please smile
Hi All, Can anyone please send me a small date based generic view application . Thank You. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Help to Upload image

2008-10-30 Thread please smile
Hi All, Can anybody please tell how to upload a image ? models.py class photos(models.Model): caption = models.CharField(max_length=10) photo = models.ImageField(upload_to= 'Path') It works at Admin Side .But not working at client side. MyHtml.html

fetching images from database

2008-10-30 Thread please smile
Hi All, I have uploaded some images in a folder and also saved the image name into data base table. Now I need to fetch and display all the images to my client side web page . How can I do this .Please help. Thanks --~--~-~--~~~---~--~~ You received this messag

help for RSS Feed

2008-11-03 Thread please smile
Hi All , Can anybody please send me a small RSS feed application using 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@googlegro

automatically save latitude and longitude of the address.

2008-11-17 Thread please smile
HI All, How can I add automatically latitude and longitude of the physical address. for exp if, fnclatitude('Chennai') returns latitude and longitude of chenai. Please help This is my model (models.py) def fnclatitude(location): key = settings.GOOGLE_KEY output = "csv"

Re: automatically save latitude and longitude of the address.

2008-11-18 Thread please smile
ename the function > though because it's doing more than just returning latitude at that > point.) > > Code at: http://dpaste.com/91483/ > > Adam > > > On Mon, Nov 17, 2008 at 3:19 AM, please smile <[EMAIL PROTECTED]> > wrote: > > HI All, > > >

image resizing

2008-11-25 Thread please smile
Hi All, Can Any one help me to resize all types of (like jpeg,gif ect) images. This code only useful to upload Jpeg images only. When I upload a image 'thumbnail' folder has two images and when I delete the image only one image is deleted from folder(Resized image or thumbn

Form POST Issue

2008-12-01 Thread please smile
Hi All, I need to pass the "totalItems" value as argument to Paginator(disp, totalItems) function if It is POST. But it throws the error "coercing to Unicode: need string or buffer, int found" How do I rectify it. Thanks def detail(request, gallery_slug, page=0): if request.m

Re: Form POST Issue

2008-12-01 Thread please smile
Thanks Karen Tracey,I typecast the posted value as integer. now Its works fine. On Tue, Dec 2, 2008 at 3:28 AM, Karen Tracey <[EMAIL PROTECTED]> wrote: > In the future, if you click "Switch to copy-and-paste-view" and then just > copy and paste the contents of the traceback window, that is gene

Re: admin.py -- AlreadyRegistered

2008-12-02 Thread please smile
hi, class BookAdmin(admin.ModelAdmin): pass # admin.site.register(Book, BookAdmin) Just put '#' in front of admin.site.register(Book, BookAdmin) .Now run the server ,if it s ok then remove the # On Tue, Dec 2, 2008 at 12:47 PM, Roland van Laar <[EMAIL PROTECTED]> wrote: > > djan wrote: > >

Django point field

2009-09-25 Thread please smile
Hi all, I have a problem to convert latitude and longitude values into point field value. def get_lat_long(location): key = settings.GOOGLE_API_KEY output = "csv" location = urllib.quote_plus(location) request = "http://maps.google.com/maps/geo?q=%s&output=

Re: Django point field

2009-09-25 Thread please smile
x27;coordinates'][0]) > long = float(dlist['Placemark'][0]['Point']['coordinates'][1]) > return (lat, long) > else > return '' > > > > Le 25/09/2009 09:47, please smile a écrit : &

csv export through command line

2009-09-29 Thread please smile
Hi All, I need to export .CSV(example.csv) file data into my data base table . How can I do this through command line. My application blog/ __init__.py models.py management/ __init__.py commands/ __init__.py csvexport.py views.py How can