tions
error-mails 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 beca
he 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 be
h modifies 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/
dful
> of issues.
>
> So: here'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 t
>>>> 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
snag a 'feature' 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 +
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 are
ive data
> 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/
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, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettle
, 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
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
burc...@gmail.com wrote:
> Hi,
>
> On Thu, Aug 12, 2010 at 9:54 PM, Thomas Guettler 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" code
>> a di
> On Thu, Aug 12, 2010 at 9:54 PM, Thomas Guettler 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 to this group,
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 this
s unittest 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 messa
(STATE_DONE, _('done')),
)
state=models.CharField(max_length=16, verbose_name=u'Status',
default=STATE_NEU, choices=states)
}}}
I like this since, you can access the verbose string like this:
Foo.states[obj.state]
--
Thomas Guettler, http://www.t
prove our documentation.
Also, the fact that we *don't* have a sub-framework for this 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 (*) tho
Am 05.04.2012 10:03, schrieb Łukasz Rekucki:
On 5 April 2012 09:45, Thomas Guettler 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 state obvious f
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
/-/pYaefZxhll4J.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to
django-developers+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/django-developers?hl=en.
--
Thomas Guett
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
rrent UUID-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,
sted
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://www.th
,
for older versions it parses the last integer itself.
Please review it.
Thomas Güttler
--
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" grou
Tobias McNulty wrote:
> On Thu, Sep 9, 2010 at 5:43 AM, Thomas Guettler <mailto:h...@tbz-pariv.de>> wrote:
>
> Here is the patch:
>
> http://code.djangoproject.com/attachment/ticket/9459/datetime-microseconds-py25.patch
>
> If the python version is g
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 <mailto:h...@tbz-pa
uests with a query string.
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://
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 developer
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&quo
e 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 Google
all querysets 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 develop
return doc_response
> """
>
> 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 (*) thom
On 25.03.2011 12:55, Łukasz Rekucki wrote:
> On 25 March 2011 12:34, Thomas Guettler 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
>> guess the web
ion (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
om/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?
Thom
)
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
gt; a promise.
If the django core makes a promise that
TEMPLATE_STRING_IF_INVALID=RaiseMissingVariable() is
supported in admin (and other contrib apps), I will help to get it done.
Up to now, that's why I don't use the template language in my apps.
Zen of Python: Errors should never pass silently.
.
Several 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 subs
it will be displayed
in the debug view.
But a better solution would be to have a stack of original exceptions, since
a exception might be cought several times in django.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de
--~--~-~--~~
s seen as a desirable 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 Me
the debug view.
manage.py
is not 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 frustrat
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.
Th
n 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
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
--
T
ccess 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
ned.append(app_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.thoma
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
>>
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 receive
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
need to look up the value in self.cleaned_data.
I know that this would introduce a big not backward compatible change.
But I think it feels much more natural if the value is passed to the method.
Thomas
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler
UPDATE.
The 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
--~--~-~--~~~-
8138:
>
> 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
"D
to selectively 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
--~--~-~--~~-
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
> the equivalent 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
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 differ
Am Freitag, 27. Juli 2007 05:10 schrieb [EMAIL PROTECTED]:
> I was thinking, for the sake of helping new users learn quicker, that
> the Django documentation could be organized a little more. In
> particular the list under "Reference"
>
> i would think a numbered list would be more suitable with 1
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
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
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
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, c
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 s
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:
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
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 tr
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 min
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.
>
> T
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?
Thom
up logging would be documented (maybe in
the wiki of trac).
I had problems with it, because settings.py gets imported several times
and this leads to
all messages being logged twice.
My solution is at the bottom of this snippet:
http://www.djangosnippets.org/snippets/16/
Thomas
--
Th
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
Malcolm Tredinnick schrieb:
> On Wed, 2008-03-05 at 15:32 +0100, Thomas Guettler wrote:
> [...]
>
>> No, it gets imported more then once: (Answer of Malcolm):
>> http://www.mail-archive.com/[EMAIL PROTECTED]/msg39061.html
>>
>
> Read that carefully and
alled logging).
My solution is 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
ation and 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 deve
wsgiserver.py", line 2, in
> <module>
> from django.core.handlers import modpython
>
> File "/Users/jikanter/public_html/django/__init__.py", line 4, in
> <module>
> assert False, 'wa-wa-wee-wah'
>
> AssertionError: wa-wa-we
:
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
ion, 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
76 matches
Mail list logo