On 05/05/06 20:06, Jakub Labath wrote:
> Hi Steven,
>
> Thanks but I don't seem to have the 'wsgi.url_scheme' available in my
> request.META could it be becuase I'm using apache and mod_python?
>
Hi
Yea, after having another look, it seems that's only available while
running the dev server. M
On 05/05/06 19:33, Jakub Labath wrote:
> Hi,
>
> I eventually solved my problem by modifying django/core/handlers/modpython.py
> so that request.META would contain a key HTTPS.
>
> --- core/handlers/modpython.py (revision 2299)
> +++ core/handlers/modpython.py (working copy)
> @@ -86,6 +86,8 @
On 05/11/06 17:02, [EMAIL PROTECTED] wrote:
Regarding the dsn stuff i don't really care. Since the config file
itself is python I can do in there whatever I like.
So +0 on that.
For putting the dsn in the env I'm -1 as it may cause security problems.
IMHO the only place where such config as a
On 05/30/06 20:33, Joseph Kocherhans wrote:
> Has anyone tested out the multi-auth branch yet? I haven't heard
> anything, so either people aren't using it, or it's working well and
> the docs are good enough. Personally, I've been using it with both
> external SQL and LDAP backends for over a mon
Hi,
It seems that app names in django must be unique or weird things happen.
Is that correct?
I have a project called 'phc', in which I have an app called 'auth'. In
this app there is a module named 'UserProfile'.
So my installed apps looks like this:
INSTALLED_APPS = (
'django.contrib.a
On 06/04/06 14:00, Steven Armstrong wrote:
> Hi,
>
> It seems that app names in django must be unique or weird things happen.
> Is that correct?
>
Just found this [1], so sorry for the noise. I searched through the
tickets, but forgot to check the mailing list archi
On 06/07/06 05:11, Adrian Holovaty wrote:
> http://code.djangoproject.com/wiki/NewbieMistakes#POSTtoviewslosesPOSTdata
>
> It's about time to solve this one. Who has a creative, elegant solution? :-)
>
> Some ideas, just to start discussion --
>
> * THROW ERROR ON POST: The CommonMiddleware, wh
Hi all
Have been playing around with dojo lately and started building widgets
to use in my django apps. Must say - although docs are sparse - dojo is
one helluva framework :)
While googling for input I came across ticket #13 and now I'm wondering
how much of those ideas and super sexy mockups
On 06/25/06 16:58, Malcolm Tredinnick wrote:
> On Sun, 2006-06-25 at 22:39 +0800, Russell Keith-Magee wrote:
>> On 6/25/06, Ivan Sagalaev <[EMAIL PROTECTED]> wrote:
>> >
>> > I'd like to draw some attention to ticket
>> > http://code.djangoproject.com/ticket/2232 (mainly russelm's attention as
>>
On 07/28/06 15:34, Ahmad Alhashemi wrote:
>
> Bill de hÓra wrote:
>> Scope it per template:
>>
>> {% extends "base_generic.html" %}
>> {% escape %}
>>
>> This lets people who want auto-escaping, have it, without typing in
>> "|escape" everywhere or screwing things up site wide with globals.
>
>
Assuming that the reverse url mappings is taken care of I see two things
one may want to define per app. configuration and dependencies
There are usually two kinds of configuration settings an app may need.
Required ones that the user must set for the app to work, and optional
ones for which s
On 08/02/06 09:09, Malcolm Tredinnick wrote:
[...]
> My motivation here was having to debug an email generation template
> yesterday that was like a train wreck with all the template tags jammed
> together to avoid spurious blank lines. It's going to be a few more days
> before I can work on this
On 08/07/06 18:39, limodou wrote:
> On 8/8/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
>>
>> limodou wrote:
>> > On 8/7/06, Kevin Menard <[EMAIL PROTECTED]> wrote:
>> >> On 8/7/06, Joe <[EMAIL PROTECTED]> wrote:
>> >>> Wouldn't you want to put your database settings (Username and password)
>> >
On 08/07/06 19:27, limodou wrote:
> On 8/8/06, Steven Armstrong <[EMAIL PROTECTED]> wrote:
>>
>> On 08/07/06 18:39, limodou wrote:
>> > On 8/8/06, Michael Radziej <[EMAIL PROTECTED]> wrote:
>> >>
>> >> limodou wrote:
>> >>
On 08/07/06 20:35, Michael Radziej wrote:
> Steven Armstrong wrote:
>
>> Why not just create a second settings file, call it settings_local.py or
>> whatever, and at the end of settings.py do something like:
>>
>> from settings_local import *
>
> Well (ap
On 08/08/06 02:46, Malcolm Tredinnick wrote:
> On Mon, 2006-08-07 at 14:22 -0400, Kevin Menard wrote:
>> On 8/7/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>>
>> > We don't need a default solution for this. It's not within the scope
>> > of this project to tell people how they should organize
Hi all
I'm just thinking out loud here. Don't know if something like this is
even wanted in django land.
I've been playing around with trac lately and am rather fond of their
light weight component architecture [1].
I was wondering if an approach like this may be a good idea for the
django a
On 10/01/06 16:22, carlwenrich wrote:
> I've done this with JavaScript, but I'd like to stay with Django/Python
> if possible.
>
No. As this happens on the client JavaScript is your only option.
--~--~-~--~~~---~--~~
You received this message because you are subs
On 10/16/06 20:13, DavidA wrote:
> Hi,
>
> I noticed an inconsistency between the request META information in the
> modpython handler versus the base handler.
>
> I'm opening the URL http://web/data/pos/ which goes through two URL
> conf's:
>
> The default urls.py for the application:
> (r'
On 10/16/06 20:27, DavidA wrote:
>
> Steven Armstrong wrote:
>> Have you got a folder/file named 'data' in your apaches document root?
>> If so, try nuking or renaming it.
>
> No. And no virtual directories or aliases named 'data' either, nor a
> f
Rob Hudson wrote:
> I'd like to see more inline documentation of the code. Some .py files
> have this but some don't. Just an overview of what the file does, how
> things are organized, maybe some concrete examples via doctests.
> Something for the average python programmer to get a toehold into
zbelzer wrote:
> Hi all.
>
> I've been learning about and working with Django for a little while
> now and I have decided that I would like to help contribute to the
> project and community. I'm decent with python, but I still find that
> looking through the entire code base is pretty intimidatin
On 11/04/05 06:13, Jacob Kaplan-Moss wrote:
Howdy --
I've merged the i18n branch into the trunk; major thanks are due to
hugo! I'm running it live on all the LJW sites and it works fine,
but there could be some lurking issues, so caveat programmer. Adrian
will have a blog post on the ma
On 11/28/05 18:25, hugo wrote:
My first instinct in this sort of case is to find out what others are doing,
i.e. Dojo folks, RoR, TG, etc.
That's what I did. Zilch. Nada. Zero. Nothing. Seems nobody ever cared
about a proper solution to JavaScript and i18n. What they do are hacks,
if they do s
On 12/10/05 21:45, Eugene Lazutkin wrote:
Inline.
"Robert Wittams" <[EMAIL PROTECTED]> wrote in
message news:[EMAIL PROTECTED]
I had a look at dojo before and these were the questions that popped up
in my mind:
Dojo seems to rely on adding its own unnamespaced attributes to normal
elements.
On 12/12/05 01:15, Lachlan Cannon wrote:
Using classes it's not clear if it's there to style an element or to
pass params to some js widget or whatever. When using custom attrs it's
much clearer what's going on.
I couldn't disagree more. :)
class is there to 'subclass' elements. The W3C them
On 01/31/06 22:25, Ian Holsman wrote:
are you proposing a standard interface to templating languages in python
ala WSGI but for templates?
There's currently a discussion about just that on the python web-sig
mailing list.
http://mail.python.org/pipermail/web-sig/2006-January/thread.html#1
Hi django devs
In a app I'm currently building I rely on the 'sqlinitialdata' feature.
I've recently switched to the magical-removal branch where this is not
yet implemented.
I've opened a ticket #1438 [1] and sent a patch that implements it.
It currently just fetches .sql files from the app/s
On 03/04/06 01:34, Russell Keith-Magee wrote:
> On 3/4/06, Steven Armstrong <[EMAIL PROTECTED]> wrote:
>>
>> Hi django devs
>>
>> In a app I'm currently building I rely on the 'sqlinitialdata' feature.
>> I've recently switched to the
Ludvig Ericson wrote on 07/22/08 22:45:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Jul 22, 2008, at 16:40, Jeremy Dunck wrote:
>> In general, expect DNS hiccups for a while; the whole world is
>> patching right now.
>
> Off-topic, yes, but I have to ask, what do you mean?
Guess he
Simon G. wrote on 04/25/07 13:33:
> Evening all,
>
> There's been a long history of people asking for some way of easily
> using the MEDIA_URL setting in templates. At a quick glance, I get
> #1278, #3818, #2532, and #4105.
>
> These have all been marked wontfix, and I closed this last one to
>
Hi
I've made a small change to the ModelForm framework to allow declarative
definition of validators. This allows for quick and easy reuse of
validators and means I have to write less clean_foo methods. This works
both in the admin as in custom views.
What used to be written like this:
clas
Honza Král wrote on 04/16/08 00:13:
> Hi,
> check out ticket #6845 ( http://code.djangoproject.com/ticket/6845 ).
> It enables you to define validators on both DB Fields and FormFields
> and should make your work much easier.
>
Hi Honza
Found your ticket just after posting this :)
Will keep an
James Bennett wrote on 05/18/08 06:30:
> On Wed, May 14, 2008 at 8:58 AM, Simon Willison <[EMAIL PROTECTED]> wrote:
>> Silent errors are bad. If we were to remove them, how much of a
>> negative impact would it have on the existing user base?
>
> The impression I get is that a lot of people rely
34 matches
Mail list logo