Hi,
it is suprising, that
MyModel.objects.filter()
does not use distinct by default. If you use related tables and OR,
you get the same object returned several times.
Why not enable distinct() by default?
Thomas
--
Thomas Güttler, http://www.tbz-pariv.de/
Bernsdorfer Str. 210-212
Either in admin or as own application.
Thomas Güttler
--
Thomas Güttler, http://www.tbz-pariv.de/
Bernsdorfer Str. 210-212, 09126 Chemnitz, Tel.: 0371/5347-917
TBZ-PARIV GmbH Geschäftsführer: Dr. Reiner Wohlgemuth
Sitz der Gesellschaft: Chemnitz Registergericht: Chemnitz HR
uot; This
> field is very important for myself, and as evidenced by the level of
> communication and work regarding the ticket it seems to be quite
> important to several others as well.
I used the patch on linux with postgres without problems. I think
it could be commited, too.
--
Thoma
?
Apache can't do it. Or at least it would be complicated.
Thomas
--
Thomas Güttler, http://www.tbz-pariv.de/
Bernsdorfer Str. 210-212, 09126 Chemnitz, Tel.: 0371/5347-917
TBZ-PARIV GmbH Geschäftsführer: Dr. Reiner Wohlgemuth
Sitz der Gesellschaft: Chemnitz Registergericht:
MPATIBILITY)
}}}
Thank you for this check framework. I like it.
Regards,
Thomas Güttler
--
Thomas Guettler, http://www.tbz-pariv.de/
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To unsubscribe from this group and stop r
Hello,
I want to improve this method:
django/forms/forms.py: Form.get_changed_data()
I need to have access to the old data, and would like to have a triple list
like this:
(field_name, old_value, new_value)
Code: https://github.com/django/django/blob/master/django/forms/forms.py#L415
My
.
There was some discussion about this [1]. One reason against it was,
that supporting not-null is not available. But a db constraint which
checks the type and data column could solve this.
What do you think?
Thomas Güttler
[1]
https://code.djangoproject.com/wiki/ModelInheritance#a1
tside my current comfort
zone.
I want to use STI the next time I need model inheritance.
Regards,
Thomas
--
Thomas Güttler
http://thomas-guettler.de/
--
You received this message because you are subscribed to the Google Groups "Django
developers" group.
To unsubscribe from t
transaction?
Regards,
Thomas Güttler
--
Thomas Güttler
http://thomas-guettler.de/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, sen
at the beginning
and end of each transaction.
Can you understand what I wrote?
Will a patch to provide settings.MIDDLEWARES_INSIDE_TRANSACTION be accepted?
Regards,
Thomas Güttler
Am 03.02.2015 um 11:00 schrieb Aymeric Augustin:
Hi Thomas,
Both ways had advantages and drawbacks. Eventually I
e.
I guess this could be possible. I guess the diff for the docs
could be longer then the diff for the code.
Regards,
Thomas
--
Thomas Güttler
http://thomas-guettler.de/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django
no due date is set, state must be
"wait_until_due_date")
Open questions: I am unsure if this should be used only for validation, or if
it should be possible
to alter values, too.
What do you think?
Other solutions or improvements?
Regards,
Thomas Güttler
--
Thomas Güttler
http://thomas-guettler.d
withdraw the proposal. If someone likes to do it: go ahead, and ask
me and other for feedback :-)
Regards,
Thomas Güttler
--
Thomas Güttler
http://thomas-guettler.de/
--
You received this message because you are subscribed to the Google Groups "Django
developers (Contributions to Django i
Since `field_order` will be in Django 1.9 the second clean loop is hardly
needed in my case.
https://github.com/django/django/commit/28986da4ca167ae257abcaf7caea230eca2bcd80
Am 08.04.2015 um 14:20 schrieb Thomas Güttler:
Am 26.03.2015 um 15:12 schrieb Marc Tamlyn:
In particular it is worth
Feature-Request.
UseCase: I made some changes to a DjangoCMS page. These changes are
unpublished up to now.
I would like to show this unpublished page to someone who has no login to
DjangoCMS.
Is there a way to create a public link to show the unpublished page to
someone?
Related
15 matches
Mail list logo