Re: Bug? django.contrib.auth.forms using User model by importing from auth.models instead of get_user_model()

2017-02-22 Thread Davor Lučić
response, Cheers! 1: https://github.com/django/django/blob/master/django/contrib/auth/forms.py#L92 On 22 February 2017 at 17:05, Davor Lučić wrote: > Hello, > > I have issues using custom user model and forms from contrib.auth.forms > When using `UserCreationForm` it says `auth_use

Bug? django.contrib.auth.forms using User model by importing from auth.models instead of get_user_model()

2017-02-22 Thread Davor Lučić
Hello, I have issues using custom user model and forms from contrib.auth.forms When using `UserCreationForm` it says `auth_user table does not exists` which is expected since i have different user model. Looking at the code, some pieces of code use `get_user_model` and `UserModel` while model for

Re: HTTPS on docs.djangoproject.com

2015-06-12 Thread Davor Lučić
Cool, thank you On 12 June 2015 at 21:13, Markus Holtermann wrote: > Hey, > > Not on djangoproject.com but you can use http://django.readthedocs.org/ > > /Markus > > On June 12, 2015 8:32:09 PM GMT+02:00, "Davor Lučić" > wrote: > >Hello, > >

HTTPS on docs.djangoproject.com

2015-06-12 Thread Davor Lučić
Hello, Is it possible to request documentation on docs.djangoproject.com without HTTPS? I work for corporation that either blocks or uses MITM certs for HTTPS and I am unable to access Django documentation since its forcing me to use HTTPS even when i request HTTP. Thank you, Davor -- You rece

Re: Serving static files?

2008-08-31 Thread Davor Lučić
If you are using Apache you can use mod_rewrite. http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html On Aug 31, 10:08 pm, Robert <[EMAIL PROTECTED]> wrote: > Hi, > > I just got done reading through the 4 django tutorials and they were > very helpful. However, I did not find out through the tut