Re: backend specific tests

2018-11-06 Thread Dan Davis
What about mysql? I have 5.7 installed, and tried to run with root privileges, which is what worked for postgresql. It still failed quite a number of times. On Tue, Nov 6, 2018 at 7:41 PM charettes wrote: > Exactly. > > Given you should be running tests against a throwaway or at least > non-c

Re: backend specific tests

2018-11-06 Thread charettes
Exactly. Given you should be running tests against a throwaway or at least non-critical PostgreSQL cluster anyway I don't think requiring superuser privileges is an issue. Simon Le mardi 6 novembre 2018 18:43:47 UTC-5, Dan Davis a écrit : > > So, a developer using PostgreSQL doesn't need superu

Re: backend specific tests

2018-11-06 Thread Dan Davis
So, a developer using PostgreSQL doesn't need superuser privileges, but you do to run Django's unit tests, because it will test these contributed postgres operations. On Monday, November 5, 2018 at 5:48:20 PM UTC-5, Josh Smeaton wrote: > > I don't think there's a full list of extensions the test

Re: A server error occurred. Please contact the administrator

2018-11-06 Thread Adam Johnson
This mailing list is for the development of Django itself, not for support. Use the django-users mailing list for that, or IRC #django on freenode, or a site like Stack Overflow. On Tue, 6 Nov 2018 at 11:53, Muhammad Tahir wrote: > hello everybody, > when i try to access http://127.0.0.1:8000/ad

Re: Idea: Allow queryset.get() and queryset.filter() to accept a positional argument for implicit primary key filtering

2018-11-06 Thread Daniel Chimeno
This is something I've also experimented while working with a shell, I often mislead the .get(pk), with .get(pk=pk), but only at the shell, not in the views or other places (not sure why). For that, I'm -1 to to include it in the core, and possible the best place is a third package app like djan

Re: Idea: Allow queryset.get() and queryset.filter() to accept a positional argument for implicit primary key filtering

2018-11-06 Thread ludovic coues
When experimenting with code in the shell, debugging or troubleshooting, I personally tend to do a lot of get. I know some object cause issue so I try to get them to poke them and see what's the problem. When trying to get them, if I have the id, I always try to type Model.objects.get(id). Sometim

A server error occurred. Please contact the administrator

2018-11-06 Thread Muhammad Tahir
hello everybody, when i try to access http://127.0.0.1:8000/admin i am getting error i.e A server error occurred. Please contact the administrator. what is the reason and hat could be the solution. please help. Please check screen shot below [image: 1.PNG] and blow is the screen shot of http: