Re: UUID Field really wontfix?

2012-12-12 Thread Thomas Guettler
-Field authors if they can create a patch. Thomas -- -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email

UUID Field really wontfix?

2012-12-11 Thread Thomas Guettler
This ticket is closed since several years. Maybe it is time to think about it again. Add UUID Field: https://code.djangoproject.com/ticket/4682 Thomas Güttler -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because

Re: Django UnicodeEncodeError in errorlist

2012-04-27 Thread Thomas Guettler
evelopers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en. -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the G

Edit Ticket Description in Trac

2012-04-23 Thread Thomas Guettler
Hi, I would like to modify the descriptions of tickets. Unfortunately this is not possible for me at the moment. Can someone give me the permission for at least modifying my tickets? Thomas Güttler Trac Login is "guettli" -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mai

Re: Ticket for Docs improvement Was: Proposal: upgrading the choices machinery for Django

2012-04-05 Thread Thomas Guettler
Am 05.04.2012 10:03, schrieb Łukasz Rekucki: On 5 April 2012 09:45, Thomas Guettler<h...@tbz-pariv.de> wrote: Hi, I created a ticket, incl. patch https://code.djangoproject.com/ticket/18062 While the example itself is useful, I don't really think Django's documentation should

Ticket for Docs improvement Was: Proposal: upgrading the choices machinery for Django

2012-04-05 Thread Thomas Guettler
s lets people do whatever they want -- including using the dj.choices module. So I am -1 on including this in Django proper. Adrian -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Google

Re: Proposal: upgrading the choices machinery for Django

2012-04-04 Thread Thomas Guettler
=STATE_NEU, choices=states) }}} I like this since, you can access the verbose string like this: Foo.states[obj.state] -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Google Groups "D

Read only Test Was: Speeding up tests

2012-01-17 Thread Thomas Guettler
code is non public. But if there is any interest, we could make it public. Is anyone interested? Thomas Güttler On 16.01.2012 17:46, Anssi Kääriäinen wrote: -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because

#2131 SendFile Support

2012-01-09 Thread Thomas Guettler
tself. i.e. as serving large files is not what Django is made for. }}} -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to th

common variable (Deploying Feature in manage.py)

2011-10-25 Thread Thomas Guettler
deploy apps could use this common variable. In our company we have a common variable. PROD is zero: if STAGE: # some dev system... -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the G

#13024 Signal sent on application startup

2011-08-29 Thread Thomas Guettler
) See https://docs.djangoproject.com/en/dev/topics/settings/#custom-default-settings But there are too many places, where the settings get loaded. I could write a patch, but this is more a design decision. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas

Re: Advice on #13260 - '%' in args to urlresolvers.reverse()

2011-08-23 Thread Thomas Guettler
oglegroups.com/msg25678.html > > > The original message got two responses; one saying quote automatically, > the other saying it's up to the user. The ticket is in "design decision needed" since 14 months: https://code.djangoproject.com/ticket/13260 Who can make this decision? Thomas

Re: ImportError catching in urlresolvers.py

2011-06-16 Thread Thomas Guettler
ersion (and the AttributeError). I want to see the original exception. It would be nice to have a better solution in django. Maybe a settings variable CATCH_EXCEPTIONS? Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message

Re: State of X-Sendfile support?

2011-03-25 Thread Thomas Guettler
On 25.03.2011 12:55, Łukasz Rekucki wrote: > On 25 March 2011 12:34, Thomas Guettler <h...@tbz-pariv.de> wrote: >> Hi, >> >> I look at your example code. You need to name the webserver in the >> code. That's not very nice. I guess it should be possible to >&g

Re: State of X-Sendfile support?

2011-03-25 Thread Thomas Guettler
quot;" > > That package is pretty stable, the only thing it's missing is > documentation which should be sorted soon. > > Cheers. > > - Gustavo. -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this

Re: Expensive queryset cloning

2011-03-16 Thread Thomas Guettler
mutate not clone by default. > And when one need a clone just make it explicitly. > -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Google Groups "Django developers" g

Re: RFC #9964 - fix "missing" db commits by forcing managed transactions to close

2010-11-25 Thread Thomas Guettler
he case (as in the case of raw > SQL), the user is required to call transaction.set_dirty() to get correct > behavior. > ... -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Goo

#4992: Cache GET requests with QUERY_STRING

2010-10-26 Thread Thomas Guettler
member) should not set "ready for commit". Could someone please review it? Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Google Groups "Django developers&

Re: No caching if request.GET not empty

2010-09-30 Thread Thomas Guettler
Hi Thomas, > > there is a ticket for that: > > http://code.djangoproject.com/ticket/4992 -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Google Groups "Django develo

No caching if request.GET not empty

2010-09-29 Thread Thomas Guettler
. Can someone explain this? I read the documentation[1], but couldn't find a hint way GET requests with a query string are not cached. Should I open a ticket? [1] cache docs: http://docs.djangoproject.com/en/dev/topics/cache/ Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail

Re: #9459 forms.DateTimeField() looses microseconds

2010-09-20 Thread Thomas Guettler
I uploaded a new patch (against trunk) which works on Python 2.4: http://code.djangoproject.com/attachment/ticket/9459/datetime-microseconds-py24.patch I think it is ready for commit. Thomas Tobias McNulty wrote: > On Thu, Sep 9, 2010 at 5:43 AM, Thomas Guettler <h...@tbz-pa

Re: #9459 forms.DateTimeField() looses microseconds

2010-09-10 Thread Thomas Guettler
Tobias McNulty wrote: > On Thu, Sep 9, 2010 at 5:43 AM, Thomas Guettler <h...@tbz-pariv.de > <mailto:h...@tbz-pariv.de>> wrote: > > Here is the patch: > > http://code.djangoproject.com/attachment/ticket/9459/datetime-microseconds-py25.patch > > If

Re: #13870: Correctly handling database isolation (in PostgreSQL)

2010-09-07 Thread Thomas Guettler
untested if this does not leave an idle transaction open): The place where the daemon hangs around if nothing can be done lives must not use the ORM. If there is something to be done, the daemon calls methods that use the commit_on_success decorators. Thomas -- Thomas Guettler, http:

Re: #11834: colorized debug page. Assigned to buriy

2010-08-16 Thread Thomas Guettler
u, Aug 12, 2010 at 9:54 PM, Thomas Guettler <h...@tbz-pariv.de> wrote: ... -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: #11834: colorized debug page. Assigned to buriy

2010-08-13 Thread Thomas Guettler
burc...@gmail.com wrote: > Hi, > > On Thu, Aug 12, 2010 at 9:54 PM, Thomas Guettler <h...@tbz-pariv.de> wrote: >> Hi, >> >> a colorized debug page helps a lot. More than 99% of errors >> are in my code, and not in django's. This patch gives "own"

#11834: colorized debug page. Assigned to buriy

2010-08-12 Thread Thomas Guettler
Hi, a colorized debug page helps a lot. More than 99% of errors are in my code, and not in django's. This patch gives "own" code a different color. It is assigned to "buriy" since 6 months. http://code.djangoproject.com/ticket/11834 Why not commit? Thomas -- T

Re: transaction.commit_manually masks uncaught exception

2010-06-18 Thread Thomas Guettler
lem, and have updated it: > http://code.djangoproject.com/ticket/13265 > I also even found some old discussion in this group from a cross- > poster experiencing the problem: http://bit.ly/9KqDNA > > Let me know if I can help in any way. Thanks for your time. > -JohnO > -- Thomas

Re: Beating on an old issue; counter intuitive cascade deletes on foreign keys

2010-06-10 Thread Thomas Guettler
ixed in > 1.1, and it was ported back to 1.0.X as well. > > We pretty clearly document that our deletion scheme emulates "ON > DELETE CASCADE"; if you can provide evidence to the contrary, please > open a ticket. > > Yours, > Russ Magee %-) > -- Thomas Guettler, htt

Re: Beating on an old issue; counter intuitive cascade deletes on foreign keys

2010-06-08 Thread Thomas Guettler
ata > deleted from my database on two production projects and it pisses me > off big time every time. > > I can accept that NOT nullable foreign relations cascade the delete > but not if they have null=True on them. > ... -- Thomas Guettler, http://www.thomas-guettler.de/ E-Ma

missing in SVN branches/releases/1.2.X

2010-06-03 Thread Thomas Guettler
Hi, will there be a SVN branch releases/1.2.X? For 1.0 and 1.1 it exists: http://code.djangoproject.com/browser/django/branches/releases Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you

Re: Decision for ticket #6362 - Remove blank spaces with strip when validating the data

2010-06-03 Thread Thomas Guettler
e' in MySQL with unique indexes ignoring > trailing spaces for comparison purposes. > > Any chance of a decision on whether this should appear in 1.3 and in > what form? -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You recei

Re: Advice on #13260 - '%' in args to urlresolvers.reverse()

2010-04-22 Thread Thomas Guettler
>>>> reverse('special', args=[r'+\$*']) > '/special_chars/+%5C$*/' > > It would have to output: > > '/special_chars/%2B%5C%24%2A/' Hi, I think the current test case is broken. All args/kwargs should be quoted. -- Thomas Guettler, http://www.thomas-guettler.de/

Re: Process discussion: reboot

2010-04-22 Thread Thomas Guettler
's your chance. You have suggestions about Django's > development process? Make them. I'm listening. > > Jacob > -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de -- You received this message because you are subscribed to the G

Subclassing db fields: to_python() need model instance

2009-10-02 Thread Thomas Guettler
subclassing.py to make this possible? # Finally that's what I need for my db field: class Creator(object): ... def __set__(self, obj, value): obj.__dict__[self.field.name] = self.field.to_python(value, obj) Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli

Re: Feature proposal: Test client form value extraction

2009-08-26 Thread Thomas Guettler
e transaction management for some > reason. > > Let me know what you think. Should I submit it as a ticket? -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because

Re: #10355 Add support for email backends

2009-08-21 Thread Thomas Guettler
ls of uncaught exceptions should take a different backend than emails for application users. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because you are sub

Re: Creating "Read-only" automated form views

2009-06-29 Thread Thomas Guettler
quivalent of these but in a "read-only" version:... -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: BigInt Patch for Django 1.0.2

2009-04-08 Thread Thomas Guettler
n Django 1.0.2. -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this

Re: Proposal: enable CSRF middleware by default

2009-03-19 Thread Thomas Guettler
ively disable -- now fixable with 'csrf_exempt' > > Please let me know by Thursday evening (GMT) if there are objections. > > Luke > -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~-

Unittest on live data Was: Rolling back tests -- status and open issues

2009-01-14 Thread Thomas Guettler
> > http://code.djangoproject.com/ticket/8138 > ... > -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Session-based messages (Contrib-05, #4604)

2009-01-07 Thread Thomas Guettler
he second request (GET) could be readonly. Maybe something like this snippet would be good: http://www.djangosnippets.org/snippets/1064/ Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~

Re: Proposal: Decoupling authorization from view

2008-11-25 Thread Thomas Guettler
ribute "authorized". > > Hi Eric, I am very happy that someone understood what I want. > Perhaps you could post your code somewhere so that 3rd-party app > developers can standardize their authorization (git-hub?). > > I added a snippet: http://www.djangosnippets.org

Who can set "ready for checkin"?

2008-10-28 Thread Thomas Guettler
ramework/python code) I would like to know if I can set "ready for checkin" or what else can I do to see progress. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You rec

Re: Proposal: Signal after model of app was loaded

2008-10-22 Thread Thomas Guettler
Hi Malcolm and others, your solution would solve my problem. I drop this proposal. Malcolm Tredinnick schrieb: > On Tue, 2008-10-21 at 13:07 +0200, Thomas Guettler wrote: > >> Hi, >> >> what do you think about a signal which fires after the models >>

Proposal: Signal after model of app was loaded

2008-10-21 Thread Thomas Guettler
_name) return None if mod.models not in self.app_store: self.app_store[mod.models] = len(self.app_store) ### here the signal should get fired return mod.models }}} -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: gu

Proposal: Decoupling authorization from view

2008-10-13 Thread Thomas Guettler
this view and a small middleware to render "403 forbidden" pages. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Goo

Re: "things are ready" signal?

2008-10-02 Thread Thomas Guettler
Marc Fargas schrieb: > Hi there, > > Staring at #8638 I'm trying to find a way to hook code to be run "just > after Django is completelly loaded" and found no way ;( > ... > So, would a signal there be useful? I am missing this signal, too. Thomas -- Thomas

#689 Honour Webserver Provided Auth (REMOTE_USER)

2008-10-01 Thread Thomas Guettler
in the ticket. -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email

Re: implementing app specific default settings

2008-09-12 Thread Thomas Guettler
gt; if settings doesn't already have the attribute. > > Hi, sorry, I only read the first lines of your post. I think application settings should not be in settings.py. Maybe appname_settings.py. It would be good to have a default way, to make django applications more pluggable. Thomas

Re: Exception swallowing in urls.py + admin.autodiscover() == a lot of frustration for developers

2008-08-28 Thread Thomas Guettler
handled: http://code.djangoproject.com/attachment/ticket/6537/6537.diff > So I think we need to do something along the lines of what's in > #7524... it's far, far from perfect, but it's probably the only way to > go to avoid a lot of frustration. > > Yes, I think this is a show stop

Re: Debug logging of swallowed exceptions

2008-08-19 Thread Thomas Guettler
e change, I volunteer to submit a patch > covering all swallowed exceptions - avoiding these 2+ hour "bug" > hunting sessions is well worth my time. > > There's no need for this to be a 1.0 feature. > > -Jim Meier > > > -

Re: Rethinking silent failures in templates

2008-05-16 Thread Thomas Guettler
exception, if a variable is missing. See http://www.djangosnippets.org/snippets/646/ Unfortunately TEMPLATE_STRING_IF_INVALID is not used in all places: e.g. Loops: http://code.djangoproject.com/ticket/6766 Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guet

is_authenticated as property

2008-04-10 Thread Thomas Guettler
: Make is_authenticated a property which returns a object which evaluates to the proper boolean value. This object has a method __call__ which returns the same value. This is backwards compatible. Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de

Re: Django leaking a file descriptor.

2008-03-28 Thread Thomas Guettler
ot;/Users/jikanter/public_html/django/__init__.py", line 4, in > module > assert False, 'wa-wa-wee-wah' > > AssertionError: wa-wa-wee-wah > > > > Has anyone experienced something similar? > > mod_python works fine without django, and the django serves files > cor

Re: Add newform errors directly (without using ValidationError)

2008-03-27 Thread Thomas Guettler
unittest: http://code.djangoproject.com/ticket/5335 -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django develo

Re: settings imported twice Was: logging & MODPYTHON

2008-03-06 Thread Thomas Guettler
s at the bottom of this snippet: http://www.djangosnippets.org/snippets/16/ Thomas -- Thomas Guettler, http://www.thomas-guettler.de/ E-Mail: guettli (*) thomas-guettler + de --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Djang

Re: ***SPAM*** Re: logging & MODPYTHON

2008-03-05 Thread Thomas Guettler
Graham Dumpleton schrieb: > On Mar 5, 6:56 pm, Thomas Guettler <[EMAIL PROTECTED]> wrote: > >> AndrewD schrieb:> I would like to contribute a general Django logging >> system. I have >> >>> MODPYTHON logging working, & a basic file logging s

Re: SQLAlchemy + Django... Again?

2008-03-03 Thread Thomas Guettler
Brantley Harris schrieb: > SQLAlchemy + Django > > What's the status on this? If someone was to work on it, would it be > supported by the lords of Django? > > Hi, I like the django OR mapping very much. I never used SQLAlchemy. Why do you think it is better? Thomas -

Re: SVN not available

2008-01-23 Thread Thomas Guettler
Works again. Am Mittwoch, 23. Januar 2008 12:54 schrieb Thomas Guettler: > Hi, > > http://code.djangoproject.com/browser/django/trunk/django/views > > ''' > 503 Service Unavailable > > Resources to service this request are not available. > > This message is

SVN not available

2008-01-23 Thread Thomas Guettler
Hi, http://code.djangoproject.com/browser/django/trunk/django/views ''' 503 Service Unavailable Resources to service this request are not available. This message is sent by Packeteer PacketShaper. ''' ===> date -R Wed, 23 Jan 2008 12:51:42 +0100 Same on the shell: ... oops, it failed one

Re: Better Support for static file serving via django

2007-12-13 Thread Thomas Guettler
Am Mittwoch, 12. Dezember 2007 21:34 schrieb SmileyChris: > On Dec 13, 9:19 am, "Robert Coup" <[EMAIL PROTECTED]> > > wrote: > > On 13/12/2007, Thomas Güttler <[EMAIL PROTECTED]> wrote: > > > How can you check that only authorized users can access > > > some files? > > Thomas, you might want to

Re: A few questions about FileField

2007-12-04 Thread Thomas Guettler
Am Montag, 3. Dezember 2007 16:04 schrieb Marty Alchin: > There is one other question I've been meaning to ask for a while. As > would be expected, this FileField work adds a good amount of code to > db/models/fields/__init__.py, including 3 new classes, which aren't > even Fields themselves (but

Re: ForeignKey(unique=True) and ForeignRelatedObjectsDescriptor

2007-11-06 Thread Thomas Guettler
Am Montag, 5. November 2007 18:47 schrieb Jeremy Dunck: > Consider: > > class Place(Model): > ... > > class Retaurant(Model): > place = ForeignKey(Place, unique=True) > You can use a property. Code not tested: class Place(Model): def get_restaurant(self): try:

Re: FileField question

2007-10-29 Thread Thomas Guettler
Am Freitag, 26. Oktober 2007 15:39 schrieb Marty Alchin: > Okay, just a quick update. I don't have a new patch ready yet, because > I wanted to outline a couple things and ask another question. I've > implemented the callable method for determining filenames, including > the ability to include a

Re: FileField question

2007-10-24 Thread Thomas Guettler
Am Dienstag, 23. Oktober 2007 14:49 schrieb Marty Alchin: > In response to some recent questions regarding FileField usage, I > thought about including a way to format the filename based on details > from the model instance itself. It's looking like it' be best to add > an argument to FileField,

Re: content of request.path

2007-09-05 Thread Thomas Guettler
Am Mittwoch, 5. September 2007 12:59 schrieb Michael Radziej: > On Wed, Sep 05, Thomas Guettler wrote: > > Am Mittwoch, 5. September 2007 11:27 schrieb Michael Radziej: > > > On Wed, Sep 05, Thomas Guettler wrote: > > > > [cut] > > > > &g

Re: content of request.path

2007-09-05 Thread Thomas Guettler
Am Mittwoch, 5. September 2007 11:27 schrieb Michael Radziej: > On Wed, Sep 05, Thomas Guettler wrote: [cut] > Is this the same problem as in ticket #285? > > http://code.djangoproject.com/ticket/285 Yes --~--~-~--~~~---~--~~ You received this mes

content of request.path

2007-09-05 Thread Thomas Guettler
Hi, if the SCGI/AJP/mod_python app is mounted under /dynamic (http://.../dynamic) and request URL is http://.../dynamic/test/ What should be the content if request.path? With mod_python it is /dynamic/test/ With SCGI+WSCGI it is /test/ settings.APPEND_SLASH and other stuff don't work with

Session based Messages

2007-07-09 Thread Thomas Guettler
Hi, I hope this patch will be merged soon: http://code.djangoproject.com/attachment/ticket/4604/visitor_messages.patch Messages should be stored with sessions. I would like to enhance the message system by a loglevel: debug, info, error. This way you could display important messages