Paid Online Surveys, Get Paid For Online Surveys, Get Paid To Take ...

2007-10-05 Thread harina
Do you want to learn how to Get Paid to Take Online Paid Surveys? Find The Secrets of How You can Earn up to $150 Per Hour: Here at Survey4Gold, we have found a work at home job for over 4000 people. You can get paid to take online surveys and earn serious money. Most people have no idea that

static images with built-in django server

2007-10-05 Thread staff-gmail
I have read the docs on static files but cannot figure out how to specify an image when using the built-in web server. If I have my media location: /myproject/myapp/media/picture1.png if I have a template file /myproject/myapp/templates/mypage.html if I try : I get nothing. In fact I've

Re: upload_to dir in ImageField

2007-10-05 Thread Steve Potter
On Oct 5, 6:45 pm, Andy <[EMAIL PROTECTED]> wrote: > I'm having some trouble with the object.get__url() results > for my image field. I'm trying to get this going with the Django's > (ver 0.95) development server in WinXP. I have the following line in > my model: > > avatar =

Re: flatpages

2007-10-05 Thread AndrewK
May be you forgot to add trailing slash to your flatpage url. On Sep 23, 11:05 pm, AniNair <[EMAIL PROTECTED]> wrote: > I tried doing it without the url, it returns a 404 error. The doc says > that Each time any Django application raises a 404 error, the > middleware checks the flatpages

Transforming $6 into NON-STOP INCOME thru PayPal

2007-10-05 Thread kamarulzaman salim
Transforming $6 into NON-STOP INCOME thru PayPal MAKE MONEY FAST USING PAYPAL! Here's a legal way to bring in thousands & thousands of extra income using a great little website service called PayPal! IT WAS PROVEN

Re: Method calls in templates

2007-10-05 Thread James Bennett
On 10/5/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > The user can only call methods on the objects you pass to the template > via the context. So if you want to restrict what they can do, only pass > in objects that have the methods you want to permit. This is exactly why > this method of

upload_to dir in ImageField

2007-10-05 Thread Andy
I'm having some trouble with the object.get__url() results for my image field. I'm trying to get this going with the Django's (ver 0.95) development server in WinXP. I have the following line in my model: avatar = models.ImageField(upload_to='users/', blank=True, null=True) I have the

Re: posgres configuration DATABASE_HOST =''

2007-10-05 Thread Malcolm Tredinnick
On Fri, 2007-10-05 at 15:47 -0700, rpuchadm wrote: > doesn't work if I leave it blank as DATABASE_HOST ='' > if I use DATABASE_HOST ='localhost' > works properly > > I think "DATABASE_HOST - The host your database is on. Leave this as > an empty string if your database server is on the same

posgres configuration DATABASE_HOST =''

2007-10-05 Thread rpuchadm
doesn't work if I leave it blank as DATABASE_HOST ='' if I use DATABASE_HOST ='localhost' works properly I think "DATABASE_HOST - The host your database is on. Leave this as an empty string if your database server is on the same physical machine (not used for SQLite)." in

Re: Method calls in templates

2007-10-05 Thread Malcolm Tredinnick
On Sat, 2007-10-06 at 00:08 +0200, Andreas Ahlenstorf wrote: > Hi, > > At the moment, it's to possible to retrieve more data in the > templates using method calls like all() [1]. While this may be fine > in controlled environments, it may pose a risk at services where you > have to deal

Re: Method calls in templates

2007-10-05 Thread Jonathan Buchanan
Andreas Ahlenstorf wrote: > Hi, > > At the moment, it's to possible to retrieve more data in the > templates using method calls like all() [1]. While this may be fine > in controlled environments, it may pose a risk at services where you > have to deal with user supplied templates (think

Method calls in templates

2007-10-05 Thread Andreas Ahlenstorf
Hi, At the moment, it's to possible to retrieve more data in the templates using method calls like all() [1]. While this may be fine in controlled environments, it may pose a risk at services where you have to deal with user supplied templates (think of a service like Typepad). An user

OverflowError: mktime argument out of range.

2007-10-05 Thread NitinHayaran
Hi all, In my setup i m using winXP and mysql. When i m accessing some css file kept in some directory. First time the css file is displayed correctly, but when i press reload button, it is giving below mentioned error, and if i again press reload the css file is displayed again correctly. This

Week start discrepancy between generic view and templates

2007-10-05 Thread Dave Lowe
I'm using the date_based.archive_week generic view, and it provides a 'week' datetime.date object for my template to use. When I output this in my template: {{ week|date:"W" }} - I get a different week (the previous one, to be exact). This is due to the fact that weeks begin with Sunday in

quiz app

2007-10-05 Thread dummy
Hi, I wrote a little quiz app visible at svn http://django-userlibs.svn.sourceforge.net/svnroot/django-userlibs/trunk/apps.quiz . Maybe there is somebody out who needs such an app. Regards, Dirk -- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden:

Re: nesh thumbnails error after moving to unicode

2007-10-05 Thread Chris Moffitt
We've made mods to the thumbnail code to work with Satchmo and more recent django checkouts. You can see it here- http://www.satchmoproject.com/trac/browser/satchmo/trunk/satchmo/thumbnail -Chris --~--~-~--~~~---~--~~ You received this message because you are

Syntax error in file upload

2007-10-05 Thread jacoberg2
Hey, I've been working on this view for a while and I keep hitting road blocks, the newest one actually hits the save method in my view, but stops on a weird syntax error. This is the traceback. Traceback (most recent call last): File

Blog

2007-10-05 Thread Stefant
This blog it's beautiful watch that http://www.ssscccrrrooolll.spaces.live.com/ i speak italian and i can translate the post into this blog --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

Re: Random objects in view

2007-10-05 Thread Alessandro Ronchi
2007/10/4, RajeshD <[EMAIL PROTECTED]>: > Remember that whenever you filter an existing queryset in order to > progressively develop a query, you get a new queryset. So, you need to > assign it back to a variable otherwise it's lost in the ether :) Ops :) -- Alessandro Ronchi Skype: aronchi

Online Jobs.Earn Rs.50000 every month.Part time Jobs.No Investment

2007-10-05 Thread suri
Online Jobs.Earn Rs.5 every month.Part time Jobs.No Investment http://netjobss.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

combine generic views - object_list and object_detail

2007-10-05 Thread Ana
Hi, I'd like to get to know if there is possibility to combine generic views - object_list and object_detail. In my application I have object_detail template showing Resource details. The details are resource_name, object_id and resource_reservation_reasons. Resource_reservation_reasons should be

Re: filtering through django templates then through textile

2007-10-05 Thread James Bennett
On 10/5/07, kan <[EMAIL PROTECTED]> wrote: > Say I have a text file. Is it possible to treat the file as a django > template then filter through textile to finally get xhtml ? This has > the advantage that I can write my web pages in textile but also have > the facilities of django's if then

Re: middleware introspection

2007-10-05 Thread Jeremy Dunck
On 10/5/07, Robin Becker <[EMAIL PROTECTED]> wrote: > can the middleware determine the template used by V0 so that it can be used > automatically to generate V2? Yes. Have a look at django.test.utils.instrumented_test_render and .setup_test_environment. You'll see a way to monkeypatch

Re: Getting the Error 'TypeError, float argument required'

2007-10-05 Thread Thomas Guettler
Am Freitag, 5. Oktober 2007 09:21 schrieb Greg: > Hello, > I have the following field in my class > > amount = models.DecimalField("Order Amount", max_digits=6, > decimal_places=2) > > Whenever, I add a new record to this class I get the following error: > > TypeError at /admin/plush/orders/ >

special codes

2007-10-05 Thread [EMAIL PROTECTED]
http://secretrecipesleaked.blogspot.com/ --~--~-~--~~~---~--~~ 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

Re: Plz, I am just new to Python...

2007-10-05 Thread johnnyn
Here is a nice installation walk-through if you're using Vista... http://www.cybertechhelp.com/forums/blog.php?b=4 And CLJ's Instant Django install and tutorial works very well for Windows also. Best of luck. On Oct 4, 5:18 pm, Derek Payton <[EMAIL PROTECTED]> wrote: > > > I tried downloading

All secret recipes of top fast food resturants free

2007-10-05 Thread [EMAIL PROTECTED]
http://secretrecipesleaked.blogspot.com/ --~--~-~--~~~---~--~~ 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

middleware introspection

2007-10-05 Thread Robin Becker
A colleague is writing a response middleware which hijacks the normal view under certain circumstances. Diagramatically V0 -->M(0)--> V1 is the normal case view V0 goes directly to V1 ie the middleware M does nothing. when the hijack is to take place V0 -->M(1)-->V2-->M(0)-->V1 Now my

Re: nesh thumbnails error after moving to unicode

2007-10-05 Thread Divan Roulant
I get the same error since the latest svn upgrade. I tried adding a "u" before the thumbnail dimensions to make the string unicode in the template but it doesn't work. Ex.: I also tried adding the encoding instructions #!/usr/bin/python # -*- coding: utf-8 -*- on top of the thumbnail.py

Getting the Error 'TypeError, float argument required'

2007-10-05 Thread Greg
Hello, I have the following field in my class amount = models.DecimalField("Order Amount", max_digits=6, decimal_places=2) Whenever, I add a new record to this class I get the following error: TypeError at /admin/plush/orders/ float argument required Any suggestions? Thanks