Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
RESOLVED. I managed to fix it. The problem .. Was so obvious. In *views.py* I did not provide the* cart.html *and *checkout.html* with the same configurations as *store.html*. Thus, this caused the 500 server errors. I hope that this thread can help anyone in the future that encounters a similar

Re: Django+DjangoRestFramework+React+Redux

2020-09-03 Thread Gerardo Palazuelos Guerrero
search for Brad Traversy's Django + React series of videos in YouTube -- Gerardo Palazuelos Guerrero On Thu, Sep 3, 2020 at 12:42 PM Yogendra Yadav wrote: > Anyone please suggest some good GitHub repos to learn the subject > combination > > -- > You received this message because you are

Django+DjangoRestFramework+React+Redux

2020-09-03 Thread Yogendra Yadav
Anyone please suggest some good GitHub repos to learn the subject combination -- 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

Re: unexpected change

2020-09-03 Thread Shaheed Haque
To clarify, try creating an empty file (e.g. using the "touch" command) with the right path. On Thu, 3 Sep 2020, 17:39 Shaheed Haque, wrote: > Sorry to hear about your problems. One other avenue to possibly explore is > Pycharm's "local history" facility. This keeps track of changes >

Re: unexpected change

2020-09-03 Thread Shaheed Haque
Sorry to hear about your problems. One other avenue to possibly explore is Pycharm's "local history" facility. This keeps track of changes independently of any VCS such as git. It seems to be based on the original file paths. So, try creating one file with the EXACT path before the rename. Then

Re: unexpected change

2020-09-03 Thread rbarh...@gmail.com
Yeah, well great advice. Too bad I didn't take it sooner. I lost two weeks of really hard work because I move a folder and somehow it erased all the coding I had done in PyCharm. I don't understand it, but there it is. I am in the process of learning how to use Git and Github. But. Damn.

Re: How to get client or user side details

2020-09-03 Thread Salima Begum
Hi, RANGA BHARATH JINKA I need any library in python or django. Thank you On Wed, Sep 2, 2020 at 10:31 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > There is a javascript library called Detect.js > Detect.js Github: https://github.com/darcyclarke/Detect.js >

Re: Potential Bug in django.contrib.gis

2020-09-03 Thread Janis
Additional Info: I get this behavious in python 3.6.7, which according to the documentation should be compatible with django 3.1. Janis schrieb am Donnerstag, 3. September 2020 um 17:16:50 UTC+2: > > Hi all, > I recently upgraded django 1.11 to 3.1. Now, in dango 3.1, the following > example

Re: ValueError... Cannot query "User": Must be "Model" instance.

2020-09-03 Thread RANGA BHARATH JINKA
Hi, Go through this. This will help you. The error is because of foreign key. https://stackoverflow.com/questions/37839867/django-error-cannot-assign-must-be-an-instance On Thu, Sep 3, 2020 at 8:46 PM Abdu-H wrote: > Hello, > > I am working on an app where car owner will list their car and

Potential Bug in django.contrib.gis

2020-09-03 Thread Janis Goldzycher
Hi all, I recently upgraded django 1.11 to 3.1. Now, in dango 3.1, the following example code from https://docs.djangoproject.com/en/3.1/ref/contrib/gis/geos/#django.contrib.gis.geos.Polygon produces a Segfault. Code snippet: >>> from django.contrib.gis.geos import Point, LineString, Polygon,

ValueError... Cannot query "User": Must be "Model" instance.

2020-09-03 Thread Abdu-H
Hello, I am working on an app where car owner will list their car and drivers interested in renting them will make a request to rent the cars… i basically have three models the *users*(car owners and drivers) *car* listed by owners, and *rent, *i have a listView to list all the car

ValueError... Cannot query "User": Must be "Model" instance.

2020-09-03 Thread Abdulhameed Giwa
Hello, I am working on an app where car owners will list their car and drivers interested in renting them will make a request to rent the cars… i basically have three models the *users*(car owners and drivers) *car* listed by owners, and *rent, *i have a listView to list all the car available

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
Hi Kasper, I am getting the following error: raise TemplateDoesNotExist(template_name, chain=chain) django.template.exceptions.TemplateDoesNotExist: ./store/cart.html How can the template not exist if the other templates exist? Lol, it seems impossible. On Thu, Sep 3, 2020 at 8:31 AM Kasper

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread Kasper Laudrup
Hi King Niko, On 03/09/2020 13.44, King Niko wrote: Okay, so I fixed everything with Django Logging- including getting the pictures to show up in the store. What's written in the Django logs when you get the 500 errors? Kind regards, Kasper Laudrup -- You received this message because

Re: DJANGO ADMINISTRATION ERROR & TemplateDoesNotExist

2020-09-03 Thread King Niko
Okay, so I fixed everything with Django Logging- including getting the pictures to show up in the store. However, one thing still remains - recognizing the *store/cart.html* and *store/checkout.html* To get the pictures to appear from the DJANGO ADMINISTRATION, I used the following:

Re: DB migration: Loading a massive fixture dump

2020-09-03 Thread Fred Blaise
Just for the follow-up, I ended up using pgloader and after some argument tweaking, it worked. Cheers. On Wednesday, September 2, 2020 at 7:26:04 AM UTC+2 Fred Blaise wrote: > Hi Mike, > > Thanks for the answer. > > Yes, I was aware yet hopeful regarding the size. > > Regarding the converter, I

Admin - django.auth.group 1to1 comment

2020-09-03 Thread Mike Dewhirst
In the Admin I would like to add an inline comment to django.auth.group for purposes of documenting the role each group record represents including why certain permissions have been granted or denied to that group. In other words, I believe auth.group really needs a comment TextField. I've struck