Re: I have a problem when linking two urls

2016-03-29 Thread Tim Graham
This mailing list is for the development of Django itself. Please use django-users for usage questions. On Tuesday, March 29, 2016 at 5:28:30 PM UTC-4, ludovic coues wrote: > > Without a bit more of information, it will be kinda hard to help you. > The full text of the error, the content on the

Re: Add HTML5 required attribute on form widgets

2016-03-29 Thread Collin Anderson
Hi All, I think things are kind of quiet because djangocon.eu is starting tomorrow. My opinion: In the past we changed things to use html5 types (number, email, url, etc) and we didn't use a deprecation warning in those cases, just mentioned it in the release notes. I'm sure it will break some pe

Re: I have a problem when linking two urls

2016-03-29 Thread ludovic coues
Without a bit more of information, it will be kinda hard to help you. The full text of the error, the content on the template with the button and the content on the related urls.py file would be a nice start. 2016-03-29 23:09 GMT+02:00 Cristina Elena Stan : > Hello! > I make the login page and th

I have a problem when linking two urls

2016-03-29 Thread Cristina Elena Stan
Hello! I make the login page and the register. After the user logs in on the home page i have a "create prescription" button and when i press it it says ERROR page not found. So the only problem i have is that when i press "create prescription" from the home page it doesn;t show me the page. Ca

Re: relative path in {% extends "...base.html" %} like relative import

2016-03-29 Thread Tim Graham
I found a couple previous discussions but no strong arguments against the feature so I'll move forward with reviewing the patch. https://groups.google.com/d/topic/django-users/qX2ThbMk_So/discussion https://groups.google.com/d/topic/django-users/_dUhA_IWpl8/discussion On Friday, March 25, 2016

Re: bulk_create for multi table inheritance support

2016-03-29 Thread Anssi Kääriäinen
For MySQL InnoDB tables the behavior is described here: http://dev.mysql.com/doc/refman/5.1/en/innodb-auto-increment-handling.html, see "Gaps in auto-increment values for “bulk inserts”" item. So, you are safe as long as the lock mode is correct, and assuming the lock mode is the default is OK for

bulk_create for multi table inheritance support

2016-03-29 Thread Podrigal, Aron
Hi, I worked on supporting bulk_insert for multi table inheritance here [1] I would like to get some feedback. bulk_create can be used in one of 2 ways 1) If you already have parent records in the database and want to bulk_insert into the child table only. 2) There isn't any parent records, and