As a commercial user of all the builltin DB backends and the MSSQL backend
(both the MS fork and its parent), I tend to agree more with Florian's
arguments.
Our experience with the MS MSSQL and Oracle DB backends in supporting our
enterprise customers have been difficult at best, in comparison to
I'm not so sure this is a problem (wrt to using md5 hash of response
content for ETags and likely also for cache keys). The probability of a
naturally occurring collision with MD5 is 1.47*10-29 [1] so the risk of
this scenario occurring by accident is extremely remote.
If we assume that User 2 is
10:54, Gert Burger wrote:
> Correction, it is https://github.com/django/django/pull/13281 now.
>
> On Fri, 7 Aug 2020 at 10:35, Gert Burger wrote:
>
>> I have created https://github.com/django/django/pull/13280 and I will
>> need a day or so to test it against our code ba
Correction, it is https://github.com/django/django/pull/13281 now.
On Fri, 7 Aug 2020 at 10:35, Gert Burger wrote:
> I have created https://github.com/django/django/pull/13280 and I will
> need a day or so to test it against our code bases.
>
> On Thu, 6 Aug 2020 at 18:03, char
ld create a ticket about it.
>
> Would you be interested in creating the ticket and possibly submitting a
> patch Gert?
>
> Simon
>
> Le mardi 4 août 2020 à 21:23:47 UTC-4, Alex Hill a écrit :
>
>> I reckon stick with your first instinct SImon.
>>
>> I
Hi Simon,
I think the commit is bfb746f983aa741afa3709794e70f1e0ab6040b5 "Refs #16043
-- Refactored internal fields value cache".
Cheers
On Tue, 4 Aug 2020 at 15:52, charettes wrote:
> Hello Gert, that seems a bit surprising to me and was likely not a desired
> change.
>
changed and must still point to foo1
# These fail on Django >= 2.0
self.assertEqual(bar1.a, foo1)
self.assertEqual(bar1.a.id, bar1.a_id)
-code--
and executed that via:
python3.6 tests/runtests.py --parallel 1 model_fields
Reg
) and Ubuntu 16.04 Python 3.5.
While Ubuntu 18.04 and RHEL 8 have Python 3.6.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool <http://twitter.com/gvangool>
Web: http://gertvangool.be
On Tue, Jan 22, 2019 at 6:11 PM Collin Anderson
wrote:
> Now that we've dropped Python 2, I perso
Hi Tim
The implementation can be extremely simple as most of the heavy lifting has
already been done for widget templates. The only new parts are:
1. BaseForm.get_context
2. The templates to implement as_table, as_ul and as_p
3. A little bit of glue (render etc, pretty much the same as
with widgets, currently the form HTML is generated
in Python code where it is hard to customise, HTML templates belong in
well... templates!
Thanks
Gert
The template_prefix gives you the ability to easily switch between
different form layouts (think Bootstrap, Foundation etc). Similar idea as
I think something as simple as
{% form your_form prefix='bootstrap' %}
and
{% field your_field prefix='bootstrap' %}
would add huge flexibility, exactly the concept I was trying to convey!
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contr
Hi Tim
I did, and I agree that a TemplatesSetting renderer of sorts would most
likely be the way to implement.
I also think that the use case of "*Using some CSS framework*" is common
enough to warrant giving developers a clean/standard way of doing this
rather than letting each roll their own
d easy to
implement any framework of your choosing or switch from one framework to
another...
Your thoughts on 1) concept and 2) implementation?
Regards
Gert Steyn
--
You received this message because you are subscribed to the Google Groups
"Django developers (Contributions to Django it
>
> While the request per se makes sense I have the feeling that the admin is
> becoming a dumping ground for every possible method out there :/
>
We have six views squeezed into a single class, making it customizable will
inevitably require a large number of methods.
My prediction is that it
Duplicating an entire method from core is the easy part, remembering to
check that against the new Django code every time there is a new Django
release is the actual problem.
Gert
>
>
--
You received this message because you are subscribed to the Google Groups
"Django
for inline_class in *self.get_inlines(request, obj=obj)*:
Any reasons not to do this?
Regards
Gert
--
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 f
/deployment/wsgi/gunicorn/
-- Gert
Twitter: @gvangool <http://twitter.com/gvangool>
Web: http://gertvangool.be
On Sat, May 9, 2015 at 4:19 PM, Steven Berry
wrote:
> While working with an OAuth library I was running into some issues signing
> requests on a local development server du
ne who wants to run Django 1.8 needs
either SCL's (software collections that are installed next to system
binaries) or has access to psycopg2 2.5.
So my point for CentOS/RHEL 6 can be ignored.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool <http://twitter.com/gvangool>
Web: http://gert
For what it's worth, CentOS 6 (supported until November 30, 2020) ships
with 2.0.14. CentOS 7 has 2.5.1.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool <http://twitter.com/gvangool>
Web: http://gertvangool.be
On Mon, Feb 16, 2015 at 9:11 AM, Florian Apolloner
wrote:
> Core
of this available, all of them are slightly
different and none of them seem to stand out as an obvious choice.
Most Django developers don't have the same skills as the core developers,
please provide your guidance with this.
Regards
Gert Steyn
--
You received this message because yo
If the `innocent_looking_function` would use transactions. And thus handles
the `IntegrityError by`
issuing a rollback, just like `get_or_create` does (
https://github.com/django/django/blob/1.6b4/django/db/models/query.py#L360-L390
).
Do you see the same behaviour in `my_func`?
-- Gert
Mobile
/dev/releases/1.3/#extended-static-files-handling
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gertvangool.be
On Wed, May 16, 2012 at 3:47 PM, Andre Terra wrote:
> You can define a custom location for your files like the docs tell you:
> https://docs.djangoproject.com/
django-developers is for the discussion of the development of Django
itself, not development with Django.
As such this mailing list is not appropriate for this message,
django-users would be more appropriate.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gertvangool.be
On Tue
Any thoughts on this?
Regards
Gert
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com.
To unsubscribe from this group, send email to
django-developers+unsubscr...@g
What I would love as a developer in the documentation is, what do I
need to do so my code "could" run on Python 3.
It might not work, but most obvious issues (like b() and u()) would be
out of the way.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gertvangool.be
On S
> http://groups.google.com/group/django-developers?hl=en.
>
@Thomas, GitHub provides an svn bridge: see
https://github.com/blog/626-announcing-svn-support,
https://github.com/blog/644-subversion-write-support and
https://github.com/blog/966-improved-subversion-client-support
Well, we - and I imagine many others - are actively using this behavior.
So our use-case is simple: a user registers, the user remains inactive
until they click on a link in their mailbox.
That is the behavior is "defined" by django-registration.
-- Gert
Mobile: +32 498725202
Twitter:
django-developers is for the discussion of the development of Django
itself, not development with Django.
As such this mailing list is not appropriate for this message,
django-users would be more appropriate.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gertvangool.be
On Wed
django-developers is for the discussion of the development of Django
itself, not development with Django.
As such this mailing list is not appropriate for this message,
django-users would be more appropriate.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gertvangool.be
On Wed
would actually be the perfect place to implement
minify functionality. I think it will make minification a standard for
many sites if css and js files got minified when you run
collectstatic.
Not sure what the implications would be just sharing a thought.
Regards
Gert
--
You received this message be
gt; http://groups.google.com/group/django-developers?hl=en.
>
>
Although I don't personally.
I remember from the HTML5 doctype that some people (with app in enterprises)
need the support
-- Gert
Mobile: +32 498725202
Twitter: @gvangool <http://twitter.com/gvangool>
--
You received thi
Usually you would create a ticket on trac [1] which describes your problem
and reasoning.
And you can attach a patch file to it. This way, it will go through the
normal triaging and feature requests.
[1] http://code.djangoproject.com/newticket
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
ges-in-1-3
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gert.selentic.net
2011/3/30 Thiago Carvalho D' Ávila :
> I have a project running in Django 1.2.5 and I want to update it (the code)
> to Django 1.3. I've seen the release notes, but there is no direct
> i
Congratualations to all involved!
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gert.selentic.net
On Wed, Mar 23, 2011 at 07:15, James Bennett wrote:
> It's here!
>
> Django 1.3 has been officially released.
>
> Blog post here: http://www.djangoproject.co
Can you give an example of the model(s) you're talking about?
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gert.selentic.net
On Thu, Feb 3, 2011 at 22:36, Mike Lindsey wrote:
> I'm doing something with bidirectional ManyToManyFields, in a project
> I'
Not really related to #5373, since it's related to the new generic views code.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gert.selentic.net
On Fri, Jan 7, 2011 at 00:26, Lachlan Musicman wrote:
>
> 2011/1/7 Diego Andrés Sanabria Martín :
> > A few weeks
So for the sake of the argument I've changed the template code to use
"{% load i18n %}" and also added a filter, since that is our use-case.
http://dpaste.com/294778/
I thought that if you wanted to apply a filter to a string in a
template that you had to use _ instead of {% tra
django-developers is for the discussion of the development of Django
itself, not development with Django.
As such this mailing list is not appropriate for this message,
django-users would be more appropriate.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool <http://twitter.com/gvangool&g
BTW: what happens when your verbose_name_plural contains a quote (single or
double)?
-- Gert
Mobile: +32 498725202
Twitter: @gvangool <http://twitter.com/gvangool>
Web: http://gert.selentic.net
On Thu, Dec 9, 2010 at 18:42, Luke Plant wrote:
> Hi,
>
> First, in answer to y
I'm unsure whether this is a bug or not. So I'm checking here first.
But it seems impossible to use {% csrf_token %} on a 404 page?
On a 500 page, it's works though.
-- Gert
Mobile: +32 498725202
Twitter: @gvangool
Web: http://gert.selentic.net
--
You received this message
IMHO I would allow a non-spaced version. My typing my phone number as
0498725202 should also work.
Second thing, wrap the long lines :)
Relevant ticket is #14349 (http://code.djangoproject.com/ticket/14349)
-- Gert
Mobile: +32 498725202
Twitter: @gvangool <http://twitter.com/gvangool>
Web
So in theory, if you change the mod_python handler to one of the projects
mentioned (like paste.modwsgi).
mod_python is "promoted" to the same status as FastCGI?
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Wed, Jun 23, 2010 at 13:43, Russell Keith-Magee
wrote:
>
y running two websites on mod_python. Both are
dead-in-the-water-projects, they're only running for old-times sake on a
separate server. So if they're ever revived (or get traffic), the first
thing I'll do is move them to mod_wsgi.
-- Gert
Mobile: +32 498725202
Web: http://gert.sele
What's wrong with the current StorageBackends?
Apart from the fact that everything goes through Django first, which imho
isn't a bad default solution (easier for parsing and the like...).
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Tue, Jun 22, 2010 at 08:55
MEDIA_ROOT isn't a good solution. It should use a StorageBackend.
For instance, when you use a load-balancer there is no guarantee that
your session hits the same server twice.
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Mon, May 31, 2010 at 10:36, Gregor Müllegger
://docs.djangoproject.com/en/dev/ref/templates/api/#id1
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Fri, Apr 23, 2010 at 09:38, JohnHenry wrote:
> Hi, all
> As I know, Django Templates got all variables through views
> function with Context dict; But I read some source, Ther
?
>From what I've read in the other proposals, your timeline should be
divided into weeks.
It shows a better understanding of the problem.
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Fri, Apr 9, 2010 at 20:14, nubela wrote:
> Proposal Title
> --
&g
django-developers is for the discussion of the development of Django
itself, not development with Django.
As such this mailing list is not appropriate for this message,
django-users would be more appropriate.
But to quickly answer, yes. Especially if you're using many 3rd party apps.
--
What would be the difference with the new raw method on manager
(http://docs.djangoproject.com/en/dev/topics/db/sql/#django.db.models.Manager.raw)?
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Fri, Mar 19, 2010 at 13:39, Sh4wn wrote:
> ## The Django ORM
>
> ### Th
There is a ticket for something similar #8896
(http://code.djangoproject.com/ticket/8896).
Let urlresolvers also route according to hostname.
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
2010/3/15 jens :
> On Mar 15, 3:44 pm, Yuri Baburov wrote:
>> How do you
I believe you still need test cases for both tickets.
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Wed, Mar 3, 2010 at 08:41, Jared Forsyth wrote:
> I found some bugs, wrote come patches, submitted some tickets. =) Is that
> all that's needed?
> The two patch
django-developers is for the discussion of the development of Django
itself, not development with Django.
As such this mailing list is not appropriate for this message,
django-users would be more appropriate.
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Tue, Feb 16, 2010 at
Why do you need new operators?
You can use normal templatefilters according to the documentation.
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Wed, Feb 10, 2010 at 20:00, Jonas Obrist wrote:
> Alex Gaynor wrote:
>>
>> On Wed, Feb 10, 2010 at 12:10 PM, me
The second patch [1] fixes the memcached backend.
[1]
http://code.djangoproject.com/attachment/ticket/12399/memcached-timeout-fixes.diff
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Wed, Jan 27, 2010 at 08:28, Kristian Klette wrote:
> > It's a nasty bug which lea
@Noah, You could also look at it as what a AnonymousUser can't do on
some objects (while it's possible on others).
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
2010/1/19 Noah Silas :
> I'm not certain I understand - if anyone can perform some action, wha
Isn't the idea of row based permission that you don't need a special
model for that?
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Fri, Jan 15, 2010 at 13:55, Anton Bessonov wrote:
> Hello,
>
> It's a false place. All what you need - one Mo
You should use instance.get_gender_display().
See http://www.djangoproject.com/documentation/models/choices/ for more
information...
I do believe this is more a question for django-users.
-- Gert
Mobile: +32 498725202
Web: http://gert.selentic.net
On Tue, Jan 12, 2010 at 12:38, 'chir
> add/delete are spin-offs of that
I can't argue about that add/delete is a form of change :)
> popularity contest
It is most certainly not that, it is about business and making money.
I have been in software development for 15 years now and on more than
one occasion we had to stop using a develo
Jacob, the suggestion you made will most definitely work and I have no
problem implementing it like that. I have to go that route no matter
what the outcome of this discussion because it must be done in a
couple of days :)
I raised the view permission issue primarily because:
1) On a technical l
Some administrators can CHANGE and DELETE
If we had VIEW it would become:
1) Some administrators can ADD
2) Some administrators can CHANGE
3) Some administrators can DELETE
Which was definitely what was intended on day one when the CHANGE,
ADD, DELETE permissions were created.
-
We have a very common situation where we have junior administrators
that are only allowed to ADD news items and higher level admins that
can CHANGE/DELETE them.
Without a view permission it is not possible to do this, you have to
give CHANGE rights to everybody (They must be able to see the list
61 matches
Mail list logo