Hi Ian,
Thanks for the prompt reply. (which time zone are you in?)
I made some modifications to your Django Captcha that might be useful,
so I'm attaching the patch (generated by svn) below. The changes are:
1. modified to make use of tempfile.mkdtemp() and tempfile.tempdir
instead of "/tmp" to m
On Friday 06 Jan 2006 7:23 am, [EMAIL PROTECTED] wrote:
> hi
>
> thanks for django, its a real pleasure to work with.
hi george - nice to see you on this list ;-)
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.org.in
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!
Hi Feiyu.
the problem is the captcha validation is the manipulator out of scope
when the the validation is run.
there are 2 choices.
1. the captcha view should throw a validation error (not a 404)..
thats my bug, and I will fix it shortly. This will mean you will get
the error message on your
Folks,
I'm working on an application that makes use of Django Captcha. I want
to be able to display the captcha validation error along with other
errors on the form after post, and here is my view code (please note
the story model is the same as django.models.storys so the manipulator
is django.mo
thanks!
Cool, feels like have been waiting for this video forever. ;-)
Special cheers to Jacob's video editing efforts. I know how painful
it could be.
- Cheng Zhang
On Jan 5, 2006, at 10:20 PM, Adrian Holovaty wrote:
Last month, there was a Django/Rails meetup in Chicago, at which I
spoke about
On 5 Jan 2006, at 17:48, mortenbagai wrote:
Is there a way to model data from multiple, separate data
sources in the same Django project?
Not at the moment, but it's under active discussion:
http://code.djangoproject.com/ticket/1142
Please add a brief description of your requirement to that
you can implement this with custom views.
just put a where clause when you retreive the object list, and check
the user-id when you retrieve it
and error out if it isn't the owner.
(or you haven't got the 'admin' flag set on your user)
regards
Ian.
On 1/6/06, [EMAIL PROTECTED] <[EMAIL PROTECTED
hi
thanks for django, its a real pleasure to work with.
I am working on an app where users will need to be able to view, add,
edit, delete only their "own" objects. Will I not be able to implement
this in Django at this time?
thanks.
Sean Perry wrote:
Kevin wrote:
return map(*([None] + [value[i::cols] for i in range(0,
cols)]))
Nice, but why use all of that magic?
return [value[i:i+cols] for i in range(0, len(value), 4)]
your version actually returns [(1,2), (3,4)], iow a list of tuples.
where that last 4
Kevin wrote:
return map(*([None] + [value[i::cols] for i in range(0,
cols)]))
Nice, but why use all of that magic?
return [value[i:i+cols] for i in range(0, len(value), 4)]
your version actually returns [(1,2), (3,4)], iow a list of tuples.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Le Roux wrote:
> Thanks. I'll do that. It just feels like that type of thing should
> happen outside of the view (and come to the view as a parameter). The
> other thing is that _all_ my views will need this and to me that just
> feels a bit dirty. I
I'm resending this question because I'm still having trouble figuring
this out. I'm interested in customizing how a inline-edited foreign key
appears in the admin interface. Is there some way to do this?
Thanks.-- Forwarded message --From: Colleen Owens <[EMAIL PROTECTED]>Date: Jan
For this exact use I created the following custom filter. It converts
a list into a two-dimensional table:
def tabularize(value, cols):
"""modifies a list to become a list of lists
eg [1,2,3,4] becomes [[1,2], [3,4]] with an argument of 2"""
try:
cols = in
> {% if forloop.counter|add:"-1"|divisibleby:"4" %}
Arrggh, my eyes are burning! try
{% if forloop.counter0|divisibleby:4 %}
-rob
Here's an issue I've been wondering about. It's something that comes up
somewhat frequently in the type of development we do, and I'm wondering
what the Django-centric approach to this would be? Here's the
situation:
We have newly developed Django app that's running beautifully. In fact,
it's wor
On 5 Jan 2006, at 15:17, stinger wrote:
You said in the download page "If at all possible, please use
BitTorrent! Our servers thank you..."
It would be useful if there were torrents for just Adrian's talk,
just the Q&A etc.
Cheers,
Simon
Thanks Adrian and Jacob. Nice Job ;)
I am downloading the videos right now.
I plan to download rails and django presentation on video and for the
Q&A session download only the audio.
You said in the download page "If at all possible, please use
BitTorrent! Our servers thank you..."
I suggest y
Yes thats very helpfull.
Thanks,
Last month, there was a Django/Rails meetup in Chicago, at which I
spoke about Django and David H. of Rails spoke about Rails. Last night
we made available video and audio of both presentations, plus the Q&A
session.
Jacob spent a *ton* of time condensing the 13 hours of raw video into
nicely edi
2006/1/5, Kenneth Gonsalves <[EMAIL PROTECTED]>:
>
> hi
> i am trying to develop a photogallery application.
You might be interesting in contributing to hugo's [1]
[1] https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoGallery
--
Brice Carpentier aka Br|ce
Hello!
Is there any way to format a number in the admin aplication? For example:
Integers: Right align
Float: Right aling
Currency: Right aling+ format acording to locale. That is 1234.23 -> 1.234.23 €
Best regards,
--
Antoni Aloy López
Binissalem - Mallorca
Soci de Bulma
Hello James Bennett and Joshua D. Drake ,
Thank you for some ideas about using Django with share webhosting .
I have some more questions:
1. Does it mean that I should ask my webhosting provider to install
mod_proxy Apache module( my provider uses Apache server)?
2.After enabling proxy, is it poss
On 5 Jan 2006, at 11:40, ChaosKCW wrote:
I of course want something better and django stands out. Its mostly
for
interactive apps, as opposed to static content, so my first questions
is can I do things like javascript and xmlhttprequest (ie AJAX ) in
django easily ? I am sure I can but thoug
Hi
My company is looking for me to outline there web apps strategy going
forward, and of course they want tried and tested which means websphere
and J2EE or possibly .NET.
I of course want something better and django stands out. Its mostly for
interactive apps, as opposed to static content, so m
On Thursday 05 Jan 2006 2:43 pm, Kenneth Gonsalves wrote:
> hi
> i am trying to develop a photogallery application. For this i
> need four photos per line. To calculate the line breaks, i tried
> to use forloop.counter - but apparently one cannot do maths on
> the counter. I was doing
> {% ifequal
hi
i am trying to develop a photogallery application. For this i need
four photos per line. To calculate the line breaks, i tried to use
forloop.counter - but apparently one cannot do maths on the
counter. I was doing
{% ifequal (forloop.counter % 4) 0 %}
but am getting an error. any clues?
Cool. Thanks a lot. I'll try that out when I get home. It is definitely
the cleanest solution by far.
28 matches
Mail list logo