Re: Should Django use Ada?

2024-04-01 Thread Dylan Reinhold
time being too valuable to work on making it better. Dylan On Mon, Apr 1, 2024 at 1:37 PM 'Michael Lissner' via Django developers (Contributions to Django itself) wrote: > Hi all, > > A few years ago, I reported a vulnerability in Django because Python > wasn'

Re: Blocking disposable or temporary email addresses

2022-05-11 Thread Dylan Reinhold
You will never be able to define a "disposable or temporary" email address or provider, so it's a non-starter from my perspective. Dylan On Wed, May 11, 2022 at 2:21 PM Yonas wrote: > Hi, > > Hope everyone is doing well! > > What does the community think about ad

Re: Please help me to find this page

2022-01-18 Thread Dylan Reinhold
https://docs.djangoproject.com/en/dev/intro/contributing/ On Tue, Jan 18, 2022 at 10:08 AM Mariusz Felisiak < felisiak.mari...@gmail.com> wrote: > See docs/intro/contributing.txt > > > -- > You received this message because

Re: Migrations in Django 1.7 make unit testing models harder

2019-09-14 Thread Dylan Young
gt; deployments PostgreSQL: >> https://medium.com/braintree-product-technology/postgresql-at-scale-database-schema-changes-without-downtime-20d3749ed680 >> >> Thanks, >> >> Adam >> >> On Sat, 14 Sep 2019 at 16:09, Dylan Young >> wrote: >> >>>

Re: Migrations in Django 1.7 make unit testing models harder

2019-09-14 Thread Dylan Young
ly if something goes wrong? Recent versions of Django make it easier to modify the test command, so I may take a look at spinning up an external package for this. Le sam. 14 sept. 2019 5:36 a.m., Adam Johnson a écrit : > Hi Dylan, > > In my experience, high availability deployments of

Re: Migrations in Django 1.7 make unit testing models harder

2019-09-13 Thread Dylan Young
This is an old issue that (as far as I can see) was never resolved. My proposed solution would be a flag to the test command to automatically `makemigrations && migrate`. When this behaviour is enabled, it would also roll back any generated migrations at the end of the test run. The flag mi

Re: Introduction as a new member to django contributions mailing list

2019-01-26 Thread Dylan Reinhold
On the project home page https://www.djangoproject.com/ it has the link on how to contribute. https://docs.djangoproject.com/en/dev/internals/contributing If you have a specific question feel free to ask, but this is a good starting point. Dylan On Sat, Jan 26, 2019 at 10:51 AM Yemdjih Kaze

Re: Vendoring Select2

2017-12-16 Thread Dylan Reinhold
Mithlesh, The django project web sites has a page about how to contribute : https://code.djangoproject.com/#Gettinginvolved On Sat, Dec 16, 2017 at 5:35 PM, Mithlesh Kumar < mithlesh.kumar.4...@gmail.com> wrote: > Hi, > > I'm very new to Open Source. I like to contribute to `Django`. How can I >

Re: Support for database level on delete cascade 21961

2017-12-11 Thread Dylan Young
t, this seems like the primary benefit of using two separate kwargs. Can you explain? I'm also curious why you wouldn't put the contraints directly on the DB table instead of injecting them into the SQL commands. Can you explain the rationale behind these decisions/constraints? Best,

Re: PostgreSQL aggregation and views through unmanaged models

2017-09-23 Thread Dylan Young
Is there any reason not to query the models on startup to determine which ones support the optimization and which do not (naively, which are proper tables and which are views, but perhaps postgresql can provide the information instead of relying on heuristics which could change in any release)?

Re: Why Django Document site always redirect to an earlier version

2017-09-21 Thread Dylan Reinhold
>From the main site, or from other site like stack-overflow or google? From the main site I get 1.11. >From another site you cant control what links are used. Dylan On Thu, Sep 21, 2017 at 6:07 PM, Zhiqiang Liu wrote: > Most of the times it is redirected to v1.6, sometimes 1.10, not

Re: New Feature: Allow password reset token to expire in under a day

2017-09-21 Thread Dylan Reinhold
I still think seconds are the way to go, but maybe the documentation could give a clue that timedelta().seconds can be used for readability PASSWORD_RESET_TIMEOUT = datetime.timedelta(hours=6, minutes=30).seconds Dylan On Thu, Sep 21, 2017 at 6:14 AM, Zhiqiang Liu wrote: > Yeah I don'

Re: New Feature: Allow password reset token to expire in under a day

2017-09-21 Thread Dylan Reinhold
stay with seconds, Dylan On Wed, Sep 20, 2017 at 7:56 PM, Zhiqiang Liu wrote: > I need general consensus on how to proceed with supporting password expire > time to be under a day. Currently it is not possible because we use > PASSWORD_RESET_TIMEOUT_DAYS. > > In tick

CheckboxSelectMultiple Widget Bug

2017-06-22 Thread Dylan Young
Hey all: Just wanted to check in about a potential bug before I file it in the bug tracker; it's potentially fixed already since I'm working on Django 1.8, but I can't see any record of the bug, so wanted to see if it's come up. The CheckboxSelectMultiple widget doesn't seem to apply attrs correc

Django test suite taking > 2 hours, gets stuck, have to Ctrl-C

2017-04-22 Thread &#x27;Dylan Verheul' via Django developers (Contributions to Django itself)
properly. My hardware is a new MacBook Pro with several Django and Python projects running on it (including tests). I use pyenv and brew to manage my python environments. Any help in getting the test suite to run would be greatly appreciated. Thanks. Dylan -- You received this message

Django 1.8 Migrations: AlterField Migration calls default callable for ForeignKey even when no Model Instances Exist

2017-03-14 Thread Dylan Young
Steps to reproduce: Create Model Make migrations Add FK to model with a callable default that has some side effect (e.g. creating the default instance in the database) Make migrations Migrate (or run tests on clean db) Observe the side effect I couldn't find this on the Bug Tracker. Is this stil

Feature Request AND/OR Documentation Fix: Manager.from_queryset does not copy methods that already exist even with queryset_only=False

2017-02-26 Thread Dylan Young
Bug: This behaviour should be documented, as it means that certain methods can't be specified in the a QuerySet subclass and be expected to be copied into the corresponding Manager: ``get_queryset`` and ``all``, in particular. Docs: - Methods with a queryset_only attribute set to False are al

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-31 Thread Dylan Klomparens
I have confirmed that removing the ordering line from the Meta class of the model hides this bug. It looks as though your first assessment was spot on, Ian :-). On Thu, Jan 31, 2013 at 11:40 AM, Dylan Klomparens < dylan.klompar...@gmail.com> wrote: > Some additional information: he

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-31 Thread Dylan Klomparens
Ah, after a second look, yes you are right, it was a transcription error with the number of parenthesis. Apologies for the confusion! I've attached the model admin. The Django version is: >>> import django >>> django.VERSION (1, 5, 0, 'rc', 1) -- Dylan On

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-30 Thread Dylan Klomparens
e SQL statement has 4 opening parenthesis, and only 3 closing parenthesis. This kind of statement work in Oracle 10g XE? On Wed, Jan 30, 2013 at 7:30 PM, Ian Kelly wrote: > On Wed, Jan 30, 2013 at 4:30 PM, Dylan Klomparens > wrote: > > Hello, > > > > I've encountered w

Re: Possible ORM bug with SQL syntax & generic relations

2013-01-30 Thread Dylan Klomparens
Something I forgot to mention: I have *only observed the bug using Oracle 11g*. Everything seems to work fine with SQLite3. On Wed, Jan 30, 2013 at 6:30 PM, Dylan Klomparens < dylan.klompar...@gmail.com> wrote: > Hello, > > I've encountered what may be a Django ORM bug a

Possible ORM bug with SQL syntax & generic relations

2013-01-30 Thread Dylan Klomparens
creates the bug, the generated SQL statement (read from the debug output), and the model in question. Could someone please confirm that this is indeed a bug? If so, I can create a ticket and begin researching how to remedy this problem. -- Dylan -- You received this message because you are s

Tabular inline improvement

2012-08-28 Thread Dylan Klomparens
en I'll start working on a patch. -- Dylan -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/hrBW1wUeIYkJ. To post to this group, send e

Re: Django Ajax Redux

2005-12-10 Thread Dylan
g things in your own namespace. The reason we often do things like dojoType="foo" is that namespace stuff doesn't work well on IE. But that still doesn't explain to me why it is a real pain, as we do it all the time with no pain. :) -Dylan Schiemann