I believe the request object should contain the IP address regardless
of whether the user has an account. You can store that IP with the
vote like Vladimir mentioned.
Here are the docs for HttpRequest objects:
http://docs.djangoproject.com/en/dev/ref/request-response/#attributes
On Jun 28, 4:38
I've set up a couple Django sites on Dreamhost, as well as one on
Webfaction. Webfaction is great. Dreamhost requires lots of
tweaking, but you can definitely run a Django site just fine there
too. I've had no issues with uptime. If you need help setting it up
on Dreamhost, check out Jeff Cro
What operating system are you using? If it's unix, Linux, or Mac OS
X, there should be a file named ".bash_profile" in your home directory
(if you're using bash). You can run the export statements directly
from a shell prompt on any of these OS-es. You should also put the
export statements in t
How many private users do you have? If it's just a small number,
consider using the same model for all Users, and making some profiles
public/private. A couple usernames will be taken, but that shouldn't
be a big deal.
If you actually want a second namespace, I'm not sure of the best way
to pro
. So, you'd have to lookup the labels separately. One way to
do this would be to create a hashtable mapping obscure field names to
descriptive labels, and when you generate the email, do a bunch of
lookups to convert the field names to labels.
Aneesh
On May 18, 11:14 am, Oli Warner wrote
ome up.
On Apr 16, 10:43 am, Brian Neal wrote:
> On Apr 16, 11:33 am, Aneesh K wrote:
>
>
>
> > Why is the TemplateSyntaxError raised, and why don't I see this
> > problem on my development server?
>
> > Thanks!
> > Aneesh
>
> Could be a pyth
tead of the Django development webserver). That leads me to
believe it could be a settings issue. I'm using the trunk version of
Django from svn, and my production server has Python 2.4.4.
Why is the TemplateSyntaxError raised, and why don
Good luck,
Aneesh
On Apr 16, 9:00 am, gry wrote:
> [django: 1.1 beta 1 SVN-10407, python 2.5.2, ubuntu]
> My first django toy app. I've been working through the
> tutorialhttp://docs.djangoproject.com/en/dev/intro/tutorial02/.
> I've already done a few cycles of (change-m
8 matches
Mail list logo