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
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
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
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
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"
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,
> >
>
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
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
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
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:
> >
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=
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 :
&
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
13 matches
Mail list logo