older of a user's Django installation. Your
installer script should look for where the Django library has been
installed, and then save your app in django/contrib. Simply host your
"egg" on your website for now, and edit the Django project wiki with a
link to your file (http://code.djangoproject.com/wiki).
Hope this helps! And I hope the core Django devs add their opinions on
this topic.
Django-all-the-way-ly yours,
Jason Huggins
Adrian Holovaty wrote:
> Oooh, that's a good idea. Django already displays the __repr__() of
> the corresponding record on the *change* page, but it'd be nice to do
> it automatically (via Ajax) right after the field is populated on the
> add page (or changed on the change page).
Yup... I notice
By default, it looks like validators in Django are only given the new
field's value and the posted form data... I have a custom validator for
my model that depends on information only available in the request. How
can I get to the request object from inside the validator?
I've added a keyword arg
Yeah, my thoughts exactly on the turbogears thing... I like Rails,
Django, and gosh, even Plone, specifically because they're used in
large, referenceable, high-traffic *production* sites. The Rails gang
are very handy about documenting knowledge of their production support
and deployment tips and
Robert Hicks wrote:
> On the Django site it lists the currently implemented databases and say
> "more to come soon".
>
> Is Oracle on that list? And relatively speaking, how "soon" is soon?
I wrote the Oracle patch and it's working fairly well for me at the
moment, you can download and apply it f
tonemcd wrote:
> Amit,
> *Many thanks* - that is *exactly* the kind of stuff I need to know
> about. We have people who can write the decorators for LDAP
> authentication,
I just wrote a detailed post on how to "hack" in LDAP support to
Django. It does not cover the same steps as suggested by Ami
I wrote the patch using Oracle 9.2.0.1.0 on Windows XP and Python
2.4.1. I'm hoping to set up a dev server (or at least VMPlayer image)
that will test the patch against Windows and Red Hat versions of Oracle
10g.
I highly doubt there are version specific differences in the patch
between 9i and 10
>You do mention that every entry in LDAP must also exist in the
> django users table as well - is that a fundamental requirement?
Yes, it is a fundamental requirement for my "hack". I put "hack" in
quotes because I fully admit that my patch is not a complete plug-in
replacement for Django's user
Hmm... Jason, your code is probably the "next logical step" for my
hack. The following is the right link to your code, yes?
-->http://www.carcosa.net/jason/blog/computing/django/authentication-2005-12-05-13-25.html
-Jason
I don't know what is wrong in this particular scenario.. but all I have
to say is
Memory leaks should be taken very seriously and should be hunted down
and exterminated with extreme prejudice.
Yes, Python has built-in garbage collection, but is way to easy to
create circular references betwe
Luke Skibinski Holt wrote:
> there is no per-record permission system
> for users yet (or ever...). However this seems an unlikely scenario and
> more often as not you will only want your users only looking/updating
> data they have created.
I had an "aha!" moment on this topic last night. My rep
Good to know. Then I stand corrected. But I guess this proves the point
that I *still* don't know what the heck is causing my very real and
very "now" memory leak problems in my Plone app :-) (And I should
probably switch my rant to the Plone boards, not here). I like to
think to that I'm relativ
Hi, Dody,
Yes, I did see your reply. However, since I didn't see a public reply
saying "Yes, that's it. Thank you!". I assumed that your reply wasn't
the final solution and the thread was still open. Did Vidar reply to
you saying this was indeed the solution?
This subject line and the mention a
Patrick,
I'm using Django right now for my in-house Finance department to "bulk"
edit multiple items. You'd be surprised how I'm doing it, though. I'm
generating an XML file and letting the user download it from the
website... Then they use Excel for the "bulk editing", save again as
XML, and rep
gabor wrote:
> so is there a way to only show some part of the webpage (or the whole
> webpage) if javascript is enabled?
Use javascript to build up the form and its visual elements on
pageload. A user without Javascript enabled would see a blank page. :-)
-Jason
--~--~-~--~~-
"Greenpeace goes open source in collaboration push"
http://news.zdnet.co.uk/software/applications/0,39020384,39277583,00.htm
An excerpt:
"We wanted results pretty quickly," said Kleef. "And the basic idea was
always to develop this using open source, so we could get more people
to contribute to
16 matches
Mail list logo