Re: Django 1.11 security backports

2020-06-09 Thread carlos
i think no! On Tue, Jun 9, 2020 at 10:21 AM Nikolas J. Nyby wrote: > Is anyone maintaining an unofficial Django 1.11 security backports branch? > > I'm migrating to Django 2.2 as soon as possible, but I was just curious if > anyone has a branch with the recent security fixes po

Re: Python 3.8 Installed, yet Django 1.11 is Automatically Being Installed on Mac

2020-06-09 Thread arhoon io
h one you are addressing/using. > > > -- Clive > > On 9 Jun 2020, at 03:37, arhoon io wrote: > > > Hello, > > > > I have installed and successfully confirmed that Python 3.8 works > > on my Mac. However, when I pip installed the latest ve

Re: Python 3.8 Installed, yet Django 1.11 is Automatically Being Installed on Mac

2020-06-09 Thread Clive Bruton
version of Django, it automatically installed Django 1.11 even though I have Python 3.8. When typing in "python" into terminal, it runs Python 2.7 - so that is my guess. If that is true, how do I get the actual latest version of Django (3.0)? Thanks -- You received this messa

Django 1.11 security backports

2020-06-09 Thread Nikolas J. Nyby
Is anyone maintaining an unofficial Django 1.11 security backports branch? I'm migrating to Django 2.2 as soon as possible, but I was just curious if anyone has a branch with the recent security fixes ported in to Django 1.11. -- You received this message because you are subscribed t

Re: Python 3.8 Installed, yet Django 1.11 is Automatically Being Installed on Mac

2020-06-08 Thread carlos
talled the latest version of Django, it >> automatically installed Django 1.11 even though I have Python 3.8. >> >> When typing in "python" into terminal, it runs Python 2.7 - so that is my >> guess. >> >> If that is true, how do I get the actual late

Re: Python 3.8 Installed, yet Django 1.11 is Automatically Being Installed on Mac

2020-06-08 Thread JEGATHEESWARAN SUNDARAVADIVEL
, when I pip installed the latest version of Django, it > automatically installed Django 1.11 even though I have Python 3.8. > > When typing in "python" into terminal, it runs Python 2.7 - so that is my > guess. > > If that is true, how do I get the actual latest version

Re: Python 3.8 Installed, yet Django 1.11 is Automatically Being Installed on Mac

2020-06-08 Thread Thomas Lockhart
that Python 3.8 works on my Mac. > However, when I pip installed the latest version of Django, it automatically > installed Django 1.11 even though I have Python 3.8. > > When typing in "python" into terminal, it runs Python 2.7 - so that is my > guess. > > I

Python 3.8 Installed, yet Django 1.11 is Automatically Being Installed on Mac

2020-06-08 Thread arhoon io
Hello, I have installed and successfully confirmed that Python 3.8 works on my Mac. However, when I pip installed the latest version of Django, it automatically installed Django 1.11 even though I have Python 3.8. When typing in "python" into terminal, it runs Python 2.7 - so

Re: End of extended support for Django 1.11

2020-03-26 Thread Andréas Kühne
d support* for Django 1.11? The Django > Roadmap <https://www.djangoproject.com/weblog/2015/jun/25/roadmap/> says > "Until at least April 2020" and Django's supported versions > <https://www.djangoproject.com/download/#supported-versions> page says > "Apri

End of extended support for Django 1.11

2020-03-25 Thread Daniela Kim
Hi everyone, When exactly is the *end of extended support* for Django 1.11? The Django Roadmap <https://www.djangoproject.com/weblog/2015/jun/25/roadmap/> says "Until at least April 2020" and Django's supported versions <https://www.djangoproject.com/download/#suppo

Re: Upgrade Django 1.11 to 2.2 - Checking forward compatibility automatically

2019-09-09 Thread Gerardo Palazuelos Guerrero
for Django 2.2 > compatibility when I make changes in my Django 1.11 environment so that when > I do upgrade I will not have any issues. Is there a way to do this > automatically? > Similar to what Pylint does for checking python3 compatibility. > > thanks > -- > You received this

Upgrade Django 1.11 to 2.2 - Checking forward compatibility automatically

2019-09-09 Thread amarshall
Hi, I'm looking for a way to test my code automatically for Django 2.2 compatibility when I make changes in my Django 1.11 environment so that when I do upgrade I will not have any issues. Is there a way to do this automatically? Similar to what Pylint does for checking py

Re: Occasional CSRF cookie not set django 1.11 -> 2.1

2019-05-22 Thread Yusuf Musleh
Hi Aldian, thanks for the insight. We don't set "CSRF_COOKIE_SECURE = True", django defaults it to False, allowing cookies to be sent to non https connections, however that being said we know that the error occurs even on https. We redirect all our traffic to https as well. On Wednesday, Ma

Re: Occasional CSRF cookie not set django 1.11 -> 2.1

2019-05-22 Thread Aldian Fazrihady
Yusuf, did you use CSRF_COOKIE_SECURE = True and access the website using http instead of https? https://stackoverflow.com/questions/17716624/django-csrf-cookie-not-set On Wed, May 22, 2019 at 6:18 PM Yusuf Musleh wrote: > Hello Aldian, > > Thank you for your reply. > > That was one of the very

Re: Occasional CSRF cookie not set django 1.11 -> 2.1

2019-05-22 Thread Yusuf Musleh
Hello Aldian, Thank you for your reply. That was one of the very first things we investigated, but it does not seem to be the case, as the error happens sometimes when the page/form is still fresh, in addition to that, the error message would have been different if the token in the form expire

Re: Occasional CSRF cookie not set django 1.11 -> 2.1

2019-05-21 Thread Aldian Fazrihady
The form page itself can expire if you let it readily opened in a browser tab for hours. If I did that and I didn't reload my form before using it, I will get a CSRF error. There several ideas to fix it. The point is to have CSRF cookie to always fresh, and your form will use that cookie instead

Occasional CSRF cookie not set django 1.11 -> 2.1

2019-05-21 Thread Yusuf Musleh
Hello, We recently migrated from django 1.11.5 to 2.1.4. We performed all the necessary changes needed for the migration and the application to work, things went smoothly except for some CSRF validation issues. After the migration on our production server we noticed an increase in the number of

Django 1.11.X - csrf hints when using requests to make direct view requests over https

2019-04-24 Thread Michael McDaniels
When using the requests module to construct Django view requests over https, insure you use lower case in your ALLOWED_HOSTS and/or CSRF_TRUSTED_ORIGINS in settings.py. The module 'django.middleware.csrf' calls 'is_same_domain()' from 'django.utils.http' which does a 'lower()' on the host porti

Re: Pagination breaks in ListView after migrating from Django 1.11 to 2.2 with SQLite

2019-04-24 Thread Szabolcs Hodossy
Thanks for the help, I have checked those release notes, but I was not able to identify the related change (neither subquery nor __in lookup). I wanted to give you a deeper look into the code, but during that I managed to isolate the issue. It seems that the '__in' lookups previously accepted objec

Re: Pagination breaks in ListView after migrating from Django 1.11 to 2.2 with SQLite

2019-04-23 Thread Simon Charette
I assume you are either using a Subquery annotation that returns multiple results or an __in lookup against a query with multiple columns. I vaguely remember something changed in this area but it was documented in one of the 2.0, 2.1 or 2.2 release notes. Best, Simon Le mardi 23 avril 2019 10:31

Pagination breaks in ListView after migrating from Django 1.11 to 2.2 with SQLite

2019-04-23 Thread hodossy . szabolcs
Hello, I am facing the following issue after upgrading to 2.2 from 1.11. Here is the stack trace: Traceback (most recent call last): File "(...)\.env\lib\site-packages\django\db\backends\utils.py", line 84, in _execute return self.cursor.execute(sql, params) File "(...)\.env\lib\site-pa

Re: Django 1.11: AttributeError: 'module' object has no attribute 'setup_environ'

2019-03-05 Thread Chi Shiek
ue is I have an app running on app engine using django 1.5. >> Recently I was making a number of major updates to the app and decided to >> convert to django 1.11 as part of that update. >> >> Everything seemed to work fine on my local dev_appserver, but when I >> deploy

Re: Django 1.11: AttributeError: 'module' object has no attribute 'setup_environ'

2019-02-28 Thread Chi Shiek
ine using django 1.5. > Recently I was making a number of major updates to the app and decided to > convert to django 1.11 as part of that update. > > Everything seemed to work fine on my local dev_appserver, but when I > deployed it to app engine, it threw an error similar to th

Re: Django 1.11: AttributeError: 'module' object has no attribute 'setup_environ'

2019-02-28 Thread Chi Shiek
The issue is I have an app running on app engine using django 1.5. > Recently I was making a number of major updates to the app and decided to > convert to django 1.11 as part of that update. > > Everything seemed to work fine on my local dev_appserver, but when I > deployed it to app e

Django 1.11: AttributeError: 'module' object has no attribute 'setup_environ'

2019-02-28 Thread Chi Shiek
This is related to a bug I raised against app engine while tying to migrate from django 1.5 to 1.11. The issue is I have an app running on app engine using django 1.5. Recently I was making a number of major updates to the app and decided to convert to django 1.11 as part of that update

Re: Upgrading project from Django 1.11 to 2.1

2019-02-11 Thread Mike Dewhirst
On 11/02/2019 6:00 pm, PARTH PATIL wrote: Six.text_types is used to represent unicode() in python2 and str in python3. And now you are only using python3, it would be safe to replace it with str() Thank you kind Sir! Mike -- You received this message because you are subscribed to the Google

Upgrading project from Django 1.11 to 2.1

2019-02-10 Thread PARTH PATIL
Six.text_types is used to represent unicode() in python2 and str in python3. And now you are only using python3, it would be safe to replace it with str() -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop re

Upgrading project from Django 1.11 to 2.1

2019-02-10 Thread Mike Dewhirst
Is it safe/advisable to globally replace six.text_types( with str( Thanks Mike -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@google

Re: Poor Performance for Form Rendering In Django 1.11

2018-12-11 Thread John
slowing it to a slither. ;) On Monday, December 10, 2018 at 9:32:02 AM UTC-6, Matthew Pava wrote: > > I vaguely remember having this issue when I moved to Django 1.11. It was > frustrating. I have thus far refused to move over to Jinja, and I just use > autocompletes

RE: Poor Performance for Form Rendering In Django 1.11

2018-12-10 Thread Matthew Pava
I vaguely remember having this issue when I moved to Django 1.11. It was frustrating. I have thus far refused to move over to Jinja, and I just use autocompletes for my large select widgets. There is also the possibility of using template fragment caching. Wrap the select in a cache block

Re: Poor Performance for Form Rendering In Django 1.11

2018-12-10 Thread John
Yes, the form has about a dozen selects, with two in particular being larger - the country and the currency fields - that probably have a couple hundred options each. I have since removed those two fields which leaves about 10 selects with about 80 options total. While these numbers fluctuate

Re: Poor Performance for Form Rendering In Django 1.11

2018-12-10 Thread James Bennett
On Mon, Dec 10, 2018 at 6:29 AM John Lehmann wrote: > So my takeaway from what you are saying is that no one is running a > production site with a Django select field to render a country or currency > option (e.g., django-countries or django-money), because either of these > would have well over

Re: Poor Performance for Form Rendering In Django 1.11

2018-12-10 Thread John Lehmann
Hi James, Thank you for the input! So my takeaway from what you are saying is that no one is running a production site with a Django select field to render a country or currency option (e.g., django-countries or django-money), because either of these would have well over a hundred entries (and my

Re: Poor Performance for Form Rendering In Django 1.11

2018-12-10 Thread James Bennett
On Mon, Dec 10, 2018 at 5:31 AM John Lehmann wrote: > I am still hoping however for someone to explain to me why the default > renderer cannot handle my use case, such as that a few hundred inputs is > too many, or that I am doing something else improperly. Surely this kind > of a change would n

Re: Poor Performance for Form Rendering In Django 1.11

2018-12-10 Thread John Lehmann
Hi Simon, thanks for the response. I am still hoping however for someone to explain to me why the default renderer cannot handle my use case, such as that a few hundred inputs is too many, or that I am doing something else improperly. Surely this kind of a change would not be made to the framewor

Re: Poor Performance for Form Rendering In Django 1.11

2018-12-07 Thread Simon Charette
Hello John, Did you try switching to the Jinja2 form renderer[0] to see if it helps? I've not tried it myself but I heard it makes a significant difference. Cheers, Simon [0] https://docs.djangoproject.com/en/2.1/ref/forms/renderers/#jinja2 Le vendredi 7 décembre 2018 08:30:48 UTC-5, John a éc

Poor Performance for Form Rendering In Django 1.11

2018-12-07 Thread John
My site has a navbar with an advanced search widget (beside the search field), which renders on every page. For each request, a context_processor creates the form so it can be available on that page in the navbar. This form has about a dozen selects with a total

Re: Django 1.11 Serving Large files for download ??

2018-06-20 Thread Gokul Swaminathan
Hi Julio, Thank you for that. You mean to say that we have to leave it web server rather then Django. But the files have to be authenticated based on the request. When a person requests for a file only his respective file has to be provided for download. With a bit of googling i check

Re: Django 1.11 Serving Large files for download ??

2018-06-20 Thread Julio Biason
Hi Gokul, Well, since this is for intranet, you may be lucky. For large downloads, you can put your facing server (nginx, apache) to point directly to the media directory. For example, if your media files are being stored on `/srv/myserver/media`, and have an URL of `/media`, you could add a loca

Django 1.11 Serving Large files for download ??

2018-06-20 Thread Gokul Swaminathan
How to serve large file for download. Also it should handle simultaneous requests. I have to serve the web application in Intranet environment. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Django 1.11 admin Bug!! list_filter get duplicated in other models admin

2018-06-18 Thread ebuild
Here is an update that might help in the future : https://code.djangoproject.com/ticket/29456#comment:3 On Wednesday, May 30, 2018 at 12:59:23 PM UTC+1, Jason wrote: > > maybe. Best thing for you to do would make an example and write a ticket > about it at https://code.djangoproject.com/ > > On

Re: Django 1.11 admin Bug!! list_filter get duplicated in other models admin

2018-05-30 Thread Jason
maybe. Best thing for you to do would make an example and write a ticket about it at https://code.djangoproject.com/ On Wednesday, May 30, 2018 at 1:58:28 AM UTC-4, ebuild wrote: > > This is happening only after updated to from 1.8 to 1.11, using Eclipse. > I have multiple model admin with diffe

Re: Django 1.11 admin Bug!! list_filter get duplicated in other models admin

2018-05-30 Thread Jason
maybe. Best thing for you to do would make an example and write a ticket about it at https://code.djangoproject.com/ On Wednesday, May 30, 2018 at 1:58:28 AM UTC-4, ebuild wrote: > > This is happening only after updated to from 1.8 to 1.11, using Eclipse. > I have multiple model admin with diffe

Django 1.11 admin Bug!! list_filter get duplicated in other models admin

2018-05-29 Thread ebuild
This is happening only after updated to from 1.8 to 1.11, using Eclipse. I have multiple model admin with different list_filter, what is happening is that when I go to* modelA admin* page which has* list_filter* and then navigate to *modelB admin* I got the list_filter of *modelA *displayed inst

OAuth2 Token Generation in Django 1.11

2018-04-09 Thread Haroon Ahmed
Hi, I am using Django 1.9.8 and implemented OAuth2, but when i upgrade django to 1.11 my to OAuth2 Token generation gets errors, this is my code to generate token: * data = [* * ('grant_type', 'password'),* * ('username', userName),* * ('password', password),* *]

Re: Django 1.11 and Python 3 SQLite Migration "table already exists"

2018-04-03 Thread Alex Laird
identifying with a Django 1.11 project using SQLite in development. The > project linked below was/is previously Python 2/3 compatible, though I > primarily ran it using Python 2. Recently, I switched over most of my > computers and projects to default to using Python 3. Additionally, I

Django 1.11 and Python 3 SQLite Migration "table already exists"

2018-04-03 Thread Alex Laird
I've recently started receiving an error that I'm having trouble identifying with a Django 1.11 project using SQLite in development. The project linked below was/is previously Python 2/3 compatible, though I primarily ran it using Python 2. Recently, I switched over most of my com

dictsort with null values not working with Django 1.11

2018-03-16 Thread Jean-Baptiste Pressac
Hello, I am trying to migrate from Python 2, Django 1.8 to Python 3, Django 1.11 and I have a little problem with dictsort filter whith Null values. The following code was working on *Django 1.8, Python 2* : *Extract from models.py:* class Edition(models.Model): titre = models.CharField

StaticLiveServerTestCase: database emptied after first test after upgrading to Django 1.11

2018-02-23 Thread Simon McConnell
Nothing to do with this? https://docs.djangoproject.com/en/2.0/releases/1.11.2/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googleg

StaticLiveServerTestCase: database emptied after first test after upgrading to Django 1.11

2018-02-23 Thread 'Tom Evans' via Django users
Hi all We have a bunch of functional tests derived from StaticLiveServerTestCase using selenium that have started failing after upgrading from Django 1.8 to Django 1.11. The database is initially populated via data migrations, but after running one test it all the data loaded via migrations has

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-25 Thread Etienne Robillard
Is it possible to wrap Django API into public C methods in Cython? I'm thinking I could define a few functions in my libdjango.pyx typically used for Django administration. What do you think? Etienne Le 2018-01-24 à 06:26, Etienne Robillard a écrit : Hi Jason, Le 2018-01-24 à 06:11, Jason

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Etienne Robillard
Hi Jason, Le 2018-01-24 à 06:11, Jason a écrit : I'm curious about this to, but am struggling to see the use case for this.  Could you elaborate on how you'd use something like this, and its expected benefits? The goal would be to use faster C code for accessing Django internal api. Then I s

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Jason
I'm curious about this to, but am struggling to see the use case for this. Could you elaborate on how you'd use something like this, and its expected benefits? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Avraham Serour
please try and share your findings, I'm sure I'm not the only one curious about this On Wed, Jan 24, 2018 at 11:21 AM, Etienne Robillard wrote: > Hi Avraham > > On Tuesday, 23 January 2018 17:18:19 UTC-5, Avraham Serour wrote: >> >> Did you try doing this and see what happens? >> > > Not yet. B

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Etienne Robillard
Hi Avraham On Tuesday, 23 January 2018 17:18:19 UTC-5, Avraham Serour wrote: > > Did you try doing this and see what happens? > Not yet. But I presume I could just use the libdjango.so shared library as a replacement for the django package? Regards, Etienne > > On 23 Jan 2018 9:56 PM, "Etien

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-23 Thread Avraham Serour
Did you try doing this and see what happens? On 23 Jan 2018 9:56 PM, "Etienne Robillard" wrote: > Can I create a file named libdjango.pyx with the following code: > > {{{ > > import django > > from django import * > > }}} > > Then compile the C file with gcc to access django in C ? > > Etienne >

Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-23 Thread Etienne Robillard
Can I create a file named libdjango.pyx with the following code: {{{ import django from django import * }}} Then compile the C file with gcc to access django in C ? Etienne Le 2018-01-23 à 04:32, Etienne Robillard a écrit : Hi, I would like to know if it would be possible to autogenerat

How to autoGenerate C bindings for Django 1.11 ?

2018-01-23 Thread Etienne Robillard
Hi, I would like to know if it would be possible to autogenerate C bindings for the whole Django package in Cython or similar extension. What do you think? :) Cheers, Etienne -- Etienne Robillard tkad...@yandex.com https://www.isotopesoftware.ca/ -- You received this message because you

Re: Migrations circular dependency on upgrade to Django 1.11

2017-12-15 Thread 'Tom Evans' via Django users
After more investigating, it seems that the problem was due to the squashed migrations and the migrations they replaced both being present. After removing all migrations (from our apps) listed in "replaces" and fixing up the dependencies to not point at the old squashed migration (which I guess was

Migrations circular dependency on upgrade to Django 1.11

2017-12-15 Thread 'Tom Evans' via Django users
Hi all I'm updating a project from Django 1.8 to 1.11, however the migrations which ran correctly under 1.8 now raise a CircularDependencyError for (effortless_auth.0001_initial, app.0028_create_south_korea_data_set, effortless_auth.0003_add_dev_group, app.0027_create_effortless_verticals), which

Re: Django 1.11

2017-12-13 Thread minh quang
Thank you! On Sunday, December 10, 2017 at 10:58:44 AM UTC+7, minh quang wrote: > > Hi all, i am begining develop web django. If i buid django web app to > manage studen't score result then will i creat what model is? > ,thanks all? > -- You received this message because you are subscribed to t

Re: Django 1.11

2017-12-10 Thread Jani Tiainen
Hi. Please do the official tutorial first to get hang of Django concepts. https://docs.djangoproject.com/en/1.11/intro/tutorial01/ If you feel that official tutorial is too packed Django Girls do have excellent tutorial. https://tutorial.djangogirls.org/en/ 10.12.2017 5.58 "minh quang" kirjoitt

Django 1.11

2017-12-09 Thread minh quang
Hi all, i am begining develop web django. If i buid django web app to manage studen't score result then will i creat what model is? ,thanks all? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: django 1.11 run error

2017-11-24 Thread ngn
Thanks Jason, That solved the problem. I am grateful On 11/23/2017 02:43 PM, Jason wrote: If this is a new environment with existing source code, did you install all the requirements? eg, is there a requirements.txt file in the project root, and did you execute pip install -r requirements.tx

Re: django 1.11 run error

2017-11-23 Thread Jason
If this is a new environment with existing source code, did you install all the requirements? eg, is there a requirements.txt file in the project root, and did you execute pip install -r requirements.txt when the virtual env was activated? If so, try running pip install python-dotenv Your err

Re: django 1.11 run error

2017-11-22 Thread ngn zone
Thanks k2527806 , Actually my virtualenv is activated and all the commands "python manage.py migrate " is run while it is activated. So I still wonder what might be wrong. Is it the django installation or the virtualenv installation? I wonder On Wednesday, November 22, 2017 at 10:51:09 PM UTC

Re: django 1.11 run error

2017-11-22 Thread nerdfiles
pyenv also allows for a .local file to autoload the environment On Wednesday, November 22, 2017 at 3:51:09 PM UTC-6, k2527806 wrote: > > If you use virtualenv, first of all activate the virtualenv > > On Nov 22, 2017 8:12 PM, "ngn zone" > > wrote: > > Hello all, > > I am new to Django. I am try

Re: django 1.11 run error

2017-11-22 Thread mohammad k
If you use virtualenv, first of all activate the virtualenv On Nov 22, 2017 8:12 PM, "ngn zone" wrote: Hello all, I am new to Django. I am trying to run a project and when I run "python manage.py makemigrations " I get the following error message. What am I doing wrong? python manage.py mak

django 1.11 run error

2017-11-22 Thread ngn zone
Hello all, I am new to Django. I am trying to run a project and when I run "python manage.py makemigrations " I get the following error message. What am I doing wrong? python manage.py makemigrations Traceback (most recent call last): File "manage.py", line 9, in dotenv.read_dotenv()

Re: how to do query inner join in django 1.11

2017-11-17 Thread Angel Omar Rojas Pacheco
Hello Cristiano, my relation ship data base is in this case one to many. thanks On Thursday, November 16, 2017 at 11:38:27 PM UTC-2, Cristiano Coelho wrote: > > .select_related or prefetch_related? Depends on if it's a 1-Many or > Many-Many relationship. > > El jueves, 16 de noviembre de 2017, 13

how to do query inner join in django 1.11

2017-11-16 Thread Angel Omar Rojas Pacheco
hello peolpe I need your help please, I read documentation django rest framework/serialize, but isn't find my solution, I need this query in django: select * from auth_user as auser inner join profilecolonybit_profile as profileu on auser.id=profileu.user_id this show me all users and profile

Re: Django 1.11 and PostgreSQL 10 compatibility

2017-10-26 Thread Fabio C. Barrionuevo da Luz
Psycopg 2.7.3.2 was released with Postgresql 10 support http://initd.org/psycopg/articles/2017/10/24/psycopg-2732-released/ 2017-10-22 3:54 GMT-03:00 Edandweb : > Thanks > > On Thursday, 19 October 2017 12:27:50 UTC+3, Edandweb wrote: >> >> Hi, >> >> I am developing a new application in Python

Re: Django 1.11 and PostgreSQL 10 compatibility

2017-10-21 Thread Edandweb
Thanks On Thursday, 19 October 2017 12:27:50 UTC+3, Edandweb wrote: > > Hi, > > I am developing a new application in Python and Django, for the database > we want to use the last version of PostgreSQL v10. > The django Documentation says in > https://docs.djangoproject.com/en/1.11/ref/databases/

Django 1.11 - Best Datepicker to use?

2017-10-21 Thread Jack Zhang
I'm looking for a datepicker widget to use for a DateTime form field. I searched around and most of the answers were old Stack Overflow posts from 2011 about hacking the calendar datepicker widget from Django's Admin. The information about that was inconclusive and I couldn't get mine to work.

Re: Django 1.11 and PostgreSQL 10 compatibility

2017-10-19 Thread Carlos Augusto Machado
Hi, You can use 9.4, 9.5 and 10. Em qui, 19 de out de 2017 07:27, Edandweb escreveu: > Hi, > > I am developing a new application in Python and Django, for the database > we want to use the last version of PostgreSQL v10. > The django Documentation says in > https://docs.djangoproject.com/en/1.11

Re: Django 1.11 and PostgreSQL 10 compatibility

2017-10-19 Thread Antonis Christofides
Hello, It means exactly what it says: 9.3 or higher. "Higher" can mean 9.4, 9.5, 10, etc. Regards, Antonis Antonis Christofides http://djangodeployment.com On 2017-10-19 11:27, Edandweb wrote: > Hi, > > I am developing a new application in Python and Django, for the database we > want to use

Django 1.11 and PostgreSQL 10 compatibility

2017-10-19 Thread Edandweb
Hi, I am developing a new application in Python, Django and for the database we'll use PostgreSQL. In the Django documentation, https://docs.djangoproject.com/en/1.11/ref/databases/#postgresql-notes : Django supports PostgreSQL 9.3 and higher. psycopg2 2.5.4 or hig

Django 1.11 and PostgreSQL 10 compatibility

2017-10-19 Thread Edandweb
Hi, I am developing a new application in Python and Django, for the database we want to use the last version of PostgreSQL v10. The django Documentation says in https://docs.djangoproject.com/en/1.11/ref/databases/#postgresql-notes: *Django supports PostgreSQL 9.3 and higher. psycopg2

RE: Template Rendering Django 1.11

2017-08-16 Thread Matthew Pava
I found the problem was with a third-party app that was designed for older versions of Django. I was able to correct it and all is well with Django 1.11. The app was django-autocomplete-light v2.2. I never adopted the v3. Since v3 was created, I actually incorporated v2.2 into my project to

Re: Template Rendering Django 1.11

2017-08-07 Thread Tim Graham
unacceptable right now. > > > > *From:* Tim Graham [mailto:timogra...@gmail.com] > *Sent:* Saturday, August 5, 2017 8:25 PM > *To:* Django users > *Cc:* Matthew Pava > *Subject:* Re: Template Rendering Django 1.11 > > > > Are you using the cached template loa

Re: Template Rendering Django 1.11

2017-08-05 Thread Tim Graham
Are you using the cached template loader? It may mitigate the problem to some extent. https://docs.djangoproject.com/en/1.11/ref/templates/api/#django.template.loaders.cached.Loader As of Django 1.11, it's enabled if DEBUG is False and OPTIONS['loaders'] <https://docs.djangop

Template Rendering Django 1.11

2017-08-04 Thread Matthew Pava
I finally made the leap to Django 1.11 from 1.10. I thought that I needed to use the new Subquery, but it turned out that I was able to solve my problem without using it. Good news for sure! However, I have noticed that my forms are loading more slowly. We discovered that when we were using

Re: upgrading django 1.11 warning list

2017-07-25 Thread Tim Graham
Yes, it's safe to add that to migrations. https://docs.djangoproject.com/en/dev/releases/1.9/#foreignkey-and-onetoonefield-on-delete-argument On Tuesday, July 25, 2017 at 8:55:24 AM UTC-4, pablochud wrote: > > Hi! > It showed me warning related to 'on_delete' as required arg for ForeignKey > in

Re: Multiple User Types in Django 1.11

2017-07-25 Thread Gabriel - Iulian Dumbrava
; Yours, > Russ Magee %-) > > On 24 Jul 2017, at 7:09 PM, stan > > wrote: > > What is the best way to create multiple user types in Django 1.11? > > For example, an e-learning platform will need 2 user models: Students and > Teachers, which have different permissions

upgrading django 1.11 warning list

2017-07-25 Thread pablochud
Hi! It showed me warning related to 'on_delete' as required arg for ForeignKey in migration files. is it safty to change migration file manually or is there alternative way to bypass warning? -- You received this message because you are subscribed to the Google Groups "Django users" group. To

upgrading to Django 1.11 warning

2017-07-25 Thread pablochud
Hi, It showed me warning related to 'on_delete' as required arg for ForeignKey in migration files. Is it save to change migration file manually or is there alternative way to bypass this warning? -- You received this message because you are subscribed to the Google Groups "Django users" group

Re: Multiple User Types in Django 1.11

2017-07-24 Thread Russell Keith-Magee
ser types in Django 1.11? > > For example, an e-learning platform will need 2 user models: Students and > Teachers, which have different permissions and different attributes/methods > > -- > You received this message because you are subscribed to the Google Groups &

Multiple User Types in Django 1.11

2017-07-24 Thread stan
What is the best way to create multiple user types in Django 1.11? For example, an e-learning platform will need 2 user models: Students and Teachers, which have different permissions and different attributes/methods -- You received this message because you are subscribed to the Google Groups

Re: What Way is best to extend User in Django 1.11?

2017-07-18 Thread James Bennett
If the fields you're adding are things that you need to know for purposes of figuring out who someone is and what they're allowed to do, put them in a custom User model. If the fields you're adding are not for the purpose of figuring out who someone is and what they're allowed to do, put them in a

Re: What Way is best to extend User in Django 1.11?

2017-07-18 Thread Avraham Serour
: > timezone = models.CharField(max_length=50, default='Asia/shanghai') > objects = UserManager() > > This way seems also will add a new table. > > There also have some way but i don't understand,so I want know on Django > 1.11,What way is best to ext

What Way is best to extend User in Django 1.11?

2017-07-17 Thread 李余通
tem burden. 2.inherit User eg:class CustomUser(User): timezone = models.CharField(max_length=50, default='Asia/shanghai') objects = UserManager() This way seems also will add a new table. There also have some way but i don't understand,so I want know on Django 1.11,What w

Re: Multilingual site with Django 1.11 and Google Cloud Platform

2017-06-14 Thread Antonis Christofides
edule/data-internationalization-in-django/.> > > On June 12, 2017 7:50:09 PM GMT+03:00, Mihai Rusoaie > wrote: > > Hello! > > I have a website with content in Romanian. > > I would like to create an English version.

Re: Multilingual site with Django 1.11 and Google Cloud Platform

2017-06-14 Thread Mihai Rusoaie
bsite with content in Romanian. >> >> I would like to create an English version. >> >> For the interface I will use Django 1.11 Localization: >> https://docs.djangoproject.com/en/1.11/topics/i18n/translation/#how-to-create-language-files >> For translating

Re: Multilingual site with Django 1.11 and Google Cloud Platform

2017-06-12 Thread Antonis Christofides
Mihai Rusoaie wrote: >Hello! > >I have a website with content in Romanian. > >I would like to create an English version. > >For the interface I will use Django 1.11 >Localization: >https://docs.djangoproject.com/en/1.11/topics/i18n/translation/#how-to-create

Re: Multilingual site with Django 1.11 and Google Cloud Platform

2017-06-12 Thread Jani Tiainen
> > I would like to create an English version. > > For the interface I will use Django 1.11 Localization: https://docs. > djangoproject.com/en/1.11/topics/i18n/translation/#how- > to-create-language-files > For translating automatically the content to english, I will use Google

Multilingual site with Django 1.11 and Google Cloud Platform

2017-06-12 Thread Mihai Rusoaie
Hello! I have a website with content in Romanian. I would like to create an English version. For the interface I will use Django 1.11 Localization: https://docs.djangoproject.com/en/1.11/topics/i18n/translation/#how-to-create-language-files For translating automatically the content to english

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-02 Thread F. Nikita Thomas
Hi Melvyn and yes!!: [user@echo project]$ uwsgi --http :8000 --chdir /home/user/Env/project/ --module project.wsgi --virtualenv /home/user/Env/project/projectenv/ *** Starting uWSGI 2.0.15 (64bit) on [Fri Jun 2 19:54:37 2017] *** compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-11) on 30 M

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-02 Thread Melvyn Sopacua
On Friday 02 June 2017 12:53:06 F. Nikita Thomas wrote: > Thank you everyone and my apologies for the late reply, a friend > passed. I did as requested and here are the results: > > > [user@echo project]$ which python > /usr/bin/python > [user@echo project]$ python -V > Python 2.7.5 So at this p

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-02 Thread F. Nikita Thomas
Thank you everyone and my apologies for the late reply, a friend passed. I did as requested and here are the results: [user@echo project]$ which python /usr/bin/python [user@echo project]$ python -V Python 2.7.5 [user@echo project]$ . projectenv/bin/activate (projectenv) [user@echo project]$ whi

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-02 Thread 'Abraham Varricatt' via Django users
Consider thinking of the problem this way - you are trying to tell uwsgi to run a django project located within a certain directory using a virtualenv located in another directory. What James is asking is, if you have checked that the virtualenv you are using has all the dependencies to run yo

  1   2   >