Re: ModelForm unique validation is not done right IMHO.

2017-10-08 Thread Todor Velichkov
Settings values programmatically is a cumulative operation most of the time, however when its not and things depend on each other (like your example), then even the docs suggests than one can use the form.clean method. If there is some other dependency outside form.cleaned_data I would prefer t

Re: Willing to contribute to Django

2017-10-08 Thread phani p
i'm looking for any tasks/projects to work in django. That link is way too generic for me to pick. On 9 October 2017 at 01:58, Shun Yu wrote: > This the link you're looking for: https://code.djangoproject.com/ > > > On Tuesday, October 3, 2017 at 10:41:28 PM UTC-7, Sai wrote: >> >> Hello Django

Re: Failing to Run AutodetectorTests Using runtest.py (25253)

2017-10-08 Thread Shun Yu
When I try to run the whole test suite it works fine, it's just that when I try to run this specific one it's failing on me. On Sunday, October 8, 2017 at 1:35:33 PM UTC-7, Shun Yu wrote: > > I'm trying to run the "migrations.test_autodetector.AutodetectorTests" for > django, but I can't seem to

Failing to Run AutodetectorTests Using runtest.py (25253)

2017-10-08 Thread Shun Yu
I'm trying to run the "migrations.test_autodetector.AutodetectorTests" for django, but I can't seem to get it to work. I'm using Windows 10 and Python 3.6.2. Below is the output I'm getting, thanks for the help! C:\Users\Shun\.virtualenvs\django-original-test\Scripts\python.exe C:/Users/Shun/Des

Re: Willing to contribute to Django

2017-10-08 Thread Shun Yu
This the link you're looking for: https://code.djangoproject.com/ On Tuesday, October 3, 2017 at 10:41:28 PM UTC-7, Sai wrote: > > Hello Django developers, > I'm Sai. I'm using django from last 2 years. I worked with other > frameworks like Rails,Node. I'm very much attracted to django fram

Re: ModelForm unique validation is not done right IMHO.

2017-10-08 Thread Florian Apolloner
On Saturday, October 7, 2017 at 5:07:31 PM UTC+2, Todor Velichkov wrote: > > I believe this could save a lot of headache to people. If there is no > guarantee that an instance cannot be saved after the form has been > validated, then do not give me an option to shoot myself into the foot. > Ev

Re: PostgreSQL Partial Indexes package

2017-10-08 Thread Adam Johnson
It looks to me that the same trick on Oracle can be used on MySQL/MariaDB - indexing a generated column. There's a comment on https://mariadb.com/kb/en/library/generated-columns/ to that effect. P.S. Drizzle is long dead, the site isn't even up any more :) On 8 October 2017 at 12:38, Tim Allen w

Re: PostgreSQL Partial Indexes package

2017-10-08 Thread Tim Allen
I would love to see partial indexes supported. Great work! As far as databases with Django support: - PostgreSQL supports partial indexes - SQLite supports partial indexes - SQL Server supports them, called "filtered indexes" - Oracle: Sort of supports them: https://blog.jooq.org/2017/01/18/how-

Re: Refactoring the autoreloader

2017-10-08 Thread Tim Allen
If we need some dogfooding with real-world candidates, I'd be happy to provide some. We have a project which currently takes ~20 minutes to start up (automated data models created by introspecting a database) that might be a good edge-case candidate. -- You received this message because you ar