Hi,
I came across thoes tickets and the corresponding thread just yesterday and as
fas as I understood the main problem is that newforms ist talking unicode
internally and at the interface to the django-ORM.
I attached my solution to this problem for django.newforms.models (diffed
against late
Hi,
since your assert-function won't be like assert in python or UnitTests, you mix
semantics nobody knows everywhere else.
Please remember that assert Statements have special meanings depending on
__DEBUG__
http://docs.python.org/ref/assert.html
http://pyunit.sourceforge.net/pyunit.html#TESTC
Hi django-developers,
I had the need for a field type similar to USStateField: an OlympicNationField
which takes 3 uppercase letters to the official olympic nation abbrevation.
Maybe this is generic enough to go into django.db.models.fields ?
I attach my solution.
Regards,
Dirk
--
"Feel free
Hi django-developers,
a generic api for registration of new fields would be a good idea.
As IOC, FIFA and ISO-3166 codes are not the same this won't help me:
http://en.wikipedia.org/wiki/Comparison_of_IOC%2C_FIFA%2C_and_ISO_3166_country_codes
But IOC, FIFA and ISO-3166 should have the same api.
Hi all,
I read a lot about django's auth system and the AUTHENTICATION_BACKENDS
middelware. I also googled the following resources for LDAP support in django:
http://code.djangoproject.com/wiki/MultipleAuthBackends
http://www.jrandolph.com/blog/?p=22
http://www.carthage.edu/webdev/?p=12
Are th
Hi all,
I wondered what essential function of setuptools is used and I think that only
find_packages() is neccessary.
Try the following patch for setup.py and a MANIFEST.in
If this works for you, than I won't suggest setuptools bundled with Django.
I tested the following usecases:
python setu
Hi Scott,
I came back to your LDAPSupport. The pre_auth_bind is a little bit tricky evan
with mk_pre_auth_bind, but I got it (after a while :)
And there seems a problem with pre_auth_bind() and update_user():
You let construct somebody a pre_auth_bind() which search for the dn of a user,
but
Hi Scott,
for sure I understand now why you need a second search on update_user() and
with the defaults for mk_pre_auth_bind those two searches should be the same.
A security question about get_ldap_user()
def get_ldap_user(l, username):
"""
Helper method, makes a user obje
Hi all,
I read the middelware documentation on
http://www.djangoproject.com/documentation/middleware/ and try to get a big
picture of understanding.
I also looked into the django/core/handler/base code.
1. incoming request is processed by each Middleware.process_request until a
middleware re
Hi all,
is there a reason why in the admin/doc templatetags, filters and views are
accessible but templates are not ?
Was it only not done until yet ?
How could it be done ?
Regards,
Dirk
--
Echte DSL-Flatrate dauerhaft für 0,- Euro*. Nur noch kurze Zeit!
"Feel free" mit GMX DSL: http://w
Hi Adrian,
> I'm not sure what sort of template documentation we could add. Would
> it just be a list of all the available templates, or what?
what about where exactly the template is located ?
I had a problem that the same template was located in different places and I
didn't know that.
what
Hi James,
James Bennett schrieb:
> On 8/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> what about the loaded templatetag-sets and where they are located ?
>
> Template tag libraries already get picked up, and if they've got
> docstrings those should be displayed.
I mean which templatetag
Hi Adrian,
>
> This sounds like a great addition to the automatic admin
> documentation. Would you be willing to code up the patch?
I don't know where to start for such changes.
I would be happy if I could contribute such a patch.
I think that you need to know a lot of internals ?
Regards,
Dirk
Hi,
I like that the admin/media is served in development mode by django himself.
I would like to write apps which have their own media folders and also should
serve their media files in development mode by themselfs (django himself)
Can the AdminMediaHandler extended or generalized in a way th
Hi,
I answered it myself, and made a ticket :)
http://code.djangoproject.com/ticket/2557
Regards,
Dirk
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--~--~-~--~~~---~--~~
Hi all,
waylan schrieb:
>
> Karen Tracey wrote:
>> If what works for admin can't/shouldn't/won't be generalized, then
>> maybe some documentation enhancements would help out people like me.
>
> See the page "How to serve static files"[1] in the docs. Then, be sure
> to read "The big, fat disclaim
Hi all,
I came across http://code.djangoproject.com/wiki/CookBookThreadlocalsAndUser
Since this middleware depends on
django.contrib.auth.middleware.AuthenticationMiddleware and its context is very
related to the request.user object I was wondering if this is related enought
to become an ow
Hi limodou,
limodou schrieb:
> There are some threads talking about the apps repository already, but
> till now, no repository be found. So I want to suggest again: we
> should build an official project web site to host django apps or
> projects. So we can easy share our source code and exchange
Hi all,
why was False/True evaluation in http://code.djangoproject.com/changeset/3680
reverted?
The committer russelm said: Template variable evalution should follow Python
norms.
What would be more Python norms for true and false as True and False ?
Regards,
Dirk
--
Der GMX SmartSurfer
Hi James,
James Bennett schrieb:
> On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> The committer russelm said: Template variable evalution should follow Python
>> norms.
>
> As I understand it, the distinction is between the string 'False' and
> the boolean False.
>
> In other words,
Hi all,
the usecase for the False/True template evaluation comes from this templatetag
here:
http://svn.sourceforge.net/viewvc/django-userlibs/trunk/libs.common/src/common/templatetags/commonmedia.py?revision=22&view=markup
function yes_no_icon_url(boolean_value)
Normally the boolean_value co
Hi all,
most generic views from date_based accept a template_object_name keyword arg,
except the archive_index, instead the latest object_list is created in the
RequestContext.
I would suggest to apply the attached patch, to make keyword arg
template_object_name available with respect to the o
Hi,
one diff for MANIFEST.in. The docs/*.txt of bdist_rpm are missing!
Regards,
Dirk
--
GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
--~--~-~--~~~---~--~~
You received this message beca
Hi,
I've updated to SVN Revision 4269 and run the regressions tests.
I attached the error output from the run.
Regards,
Dirk
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
--~--~-~--~~---
Hi,
I've updated to SVN Revision 4269 and run the regressions tests.
I attached the error output from the run.
I have to say sorry. I run the SVN Revision 4269 tests against Revision 4259
Django, which was my error :)
Regards,
Dirk
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten
Hi all,
the select-form-widget and the selectmultiple-form-widget display's a
choices-list as
...
...
From the per-row-level-permision branch there is an alternative issue to do
something like this:
...
...
I made 2 new widgets, selectgrouped and selectmultiplegrouped, which w
Hi Adrian,
> This would be a nice addition indeed, but I agree with Honza that the
> following syntax would be better:
>
>choices =(
>( 'Group name 1', [(1, 'one'), (2,'two')]),
>( 'Group name 2', [(3, 'three'), (2,'four')]),
>)
>
> Would you be willing to rework your patc
Hi,
may I suggest to set properties for the files in svn ?
{{{
for filename in `find . -type f`; do
svn propset svn:keyword "URL Author Date Rev Id" $filename
done;
}}}
Regards,
Dirk
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www
28 matches
Mail list logo