RE: I put 3 more fields on database models

2018-10-06 Thread Deepak Kumar jha
After adding fields in model you have to do 1:python manage.py makemigrations (app_name) 2: Python manage.py migrate Sent from my Windows 10 phone From: Bleron Uka Sent: 07 October 2018 03:33 AM To: Django users Subject: I put 3 more fields on database models Hi,  My database has data there and

Re: I put 3 more fields on database models

2018-10-06 Thread daniel main
Hello. Try and make the migrations then migrate. I hope that helps On Oct 7, 2018 01:03, "Bleron Uka" wrote: Hi, My database has data there and i add 3 more inputs and i am having this error ?! -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: I put 3 more fields on database models

2018-10-06 Thread Manjunath
Seems like you have not performed migrations after adding the new fields. execute these commands & then run your server. python manage.py makemigrations python manage.py migrate On Sunday, October 7, 2018 at 3:33:54 AM UTC+5:30, Bleron Uka wrote: > > Hi, > My database has data there and i

I put 3 more fields on database models

2018-10-06 Thread Bleron Uka
Hi, My database has data there and i add 3 more inputs and i am having this error ?! -- 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...@g

Re: geodjango raster field get pixel value

2018-10-06 Thread Pradeep Singh
when i sendind request always m getting django 404 error can you help me ..nd please tell me how to fix it On Sat, 6 Oct 2018 at 10:42, Pradeep Singh wrote: > i don't know, i hava a problem can you solve this . > > On Sat, 6 Oct 2018 at 10:09, Majid Hojati wrote: > >> [image: Boxbe]

Re: geodjango raster field get pixel value

2018-10-06 Thread Pradeep Singh
i don't know, i hava a problem can you solve this . On Sat, 6 Oct 2018 at 10:09, Majid Hojati wrote: > [image: Boxbe] This message is eligible > for Automatic Cleanup! (asd5...@gmail.com) Add cleanup rule >

geodjango raster field get pixel value

2018-10-06 Thread Majid Hojati
Hi, Is there any function to get raster value under a point using geodjango?or we must perform a raw query? -- 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 djan

Re: Channels: rejecting web socket connections with a custom close code

2018-10-06 Thread replyveer25
hello someone help me i am getting django 404 error ..how fix it ...please help me i am so frustrated On Wednesday, 3 October 2018 04:23:30 UTC-7, Matt F wrote: > > Hello all, > > I have a question about the process of accepting/rejecting web socket > connections in Channels consumers (v2.1.3).

While registering the user with django form, it gives "UNIQUE constraint failed: auth_user.username" error

2018-10-06 Thread Jaydeep Borkar
When I try to register a user using Django form, it gives me "UNIQUE constraint failed: auth_user.username". When I tried registering the first user, it worked, but I couldn't see that entry in my database. When I tried registering the second user, it's giving me this error. Please, help me thr

Re: Channels: rejecting web socket connections with a custom close code

2018-10-06 Thread Andrew Godwin
Hi Matt, This is because the two ways of closing are different - closing before the socket is open sends a HTTP error code (what browsers report for this is different in terms of websocket errors), whereas closing once it is open allows a websocket error to be used. This is referenced in the spec