Re: syntax error: export DJANGO_DEBUG=False

2019-10-11 Thread wd
hi, export DJANGO_DEBUG=False This is a shell command, you shouldn't add this to your settings.py. On Fri, Oct 11, 2019 at 9:51 PM fishbite wrote: > Hi there, > > My first post to this group! > > I've built the locallibrary project following the MDN tutorial and I'm now > preparing to deploy

Re: Save partial state of a page when reloading

2019-10-11 Thread wd
hi, I think It's not a django problem, it's a classic web developing problem. Http is stateless, if you want to 'save' something, you need to use 1. URL param like the 'q=soccer'. 2. Use cookie/session. I think your problem can be solved by one of the methods below: 1. Use ajax to do the

Re: CSS not working

2019-10-11 Thread Jani Tiainen
Hi. As you see Django indeed found your static file. Next step is to open up developer tools in browser and load your page. You should be able to use it to determine was file even loaded and was your style applied to link Note that if I'm not mistaken plain color only affects unvisited links

Re: Software Engineer position at Palo Alto Startup

2019-10-11 Thread Chuck Yu
Thank you for your email. And sorry that I am looking for the job around Los Angeles, CA where close to I live. Thank you, Chuck On Fri, Oct 11, 2019 at 2:06 PM Scott Satkin wrote: > *Are you an experienced Django developer interested in a full-time > opportunity to join an established

Re: MDN Locallibrary project - syntax error on 'export DJANGO_DEBUG=False'

2019-10-11 Thread Daniel Hepper
The export statement does not belong in your settings file, you are supposed to type it into your shell, like you do with “python manage.py ...” commands > Am 11.10.2019 um 15:51 schrieb fishbite : > >  > Hi there, > > I've been working on the MDN Locallibrary project and am just preparing to

Re: MDN Locallibrary project - syntax error on 'export DJANGO_DEBUG=False'

2019-10-11 Thread John Martin
Try retyping the lines from scratch. You may have picked up a unicode version of single quote, or similar substitution, through copy/pasting. John On 11/10/2019 14:12, fishbite wrote: Hi there, I've been working on the MDN Locallibrary project and am just preparing to publish the website on

Software Engineer position at Palo Alto Startup

2019-10-11 Thread Scott Satkin
*Are you an experienced Django developer interested in a full-time opportunity to join an established healthcare startup in Palo Alto California?* If so, please email sc...@limbix.com, or apply online: https://angel.co/company/limbix/jobs/624447-senior-software-engineer -- *SUMMARY*

Save partial state of a page when reloading

2019-10-11 Thread Robert Levasseur
Hi, I'm very new to Django so this might be a silly question, but I'm having an issue with the filter functionality on my site's search page. I am using the django-haystack module to interface with the Whoosh search engine, and it functions by reloading the page while sending the query as a

Re: filter.update

2019-10-11 Thread Adam Mičuda
Hi, it is not working, because it is not valid python. Use Mydbtable.filter(column = value).update(**{mylist[0]: value}) instead. And keep in mind that value of mylist[0] (any dict key in general) must meet the some criteria to be valid dict key. See https://wiki.python.org/moin/DictionaryKeys

Re: migrate error in manage.py

2019-10-11 Thread Suraj Thapa FC
Use python3 On Fri, 11 Oct, 2019, 11:01 PM Ralph Barhydt, wrote: > When I try to run "python manage.py migrate" I get an error "invalid > syntax" that points to ") from exc". How can I fix this? > > -- > You received this message because you are subscribed to the Google Groups > "Django users"

Micro Service Architecture

2019-10-11 Thread Uzama Zaid Mohammed Jaward
Hi all What are the tech stack is good for micro service architecture in Django -- 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

migrate error in manage.py

2019-10-11 Thread Ralph Barhydt
When I try to run "python manage.py migrate" I get an error "invalid syntax" that points to ") from exc". How can I fix this? -- 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,

Re: filter search from 2 models

2019-10-11 Thread sotiris moustogiannis
thanks a lot. you helped me On Friday, October 11, 2019 at 7:14:45 PM UTC+3, lemme smash wrote: > > just create custom view and add those two querysets to context. if you > want to do search by one input in both querysets, you'll need to create > custom filter as well, or just filter it in a

Re: filter search from 2 models

2019-10-11 Thread lemme smash
just create custom view and add those two querysets to context. if you want to do search by one input in both querysets, you'll need to create custom filter as well, or just filter it in a view by query from input On Thursday, October 10, 2019 at 1:48:52 AM UTC+3, sotiris moustogiannis wrote:

filter.update

2019-10-11 Thread Luca Bertolotti
sorry but i have a big problem I have this mylist = ['a','b','c'] than Mydbtable.filter(column = value),update(mylist[0]=value) why update never accept mylist[0] there is a solution? regards -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Anyone used RENDER product for hosting?

2019-10-11 Thread Mario R. Osorio
I like Digital Ocean On Tuesday, October 8, 2019 at 5:33:27 AM UTC-4, ram.mullapudi wrote: > > > Hello, > > I'm looking for cheaper, secure and reliable way to host my website? The > site is being developed on DJango FWK. We are currently on GCP and also > reviewed other popular vendors too. I

Re: CSS not working

2019-10-11 Thread yashwanth .k
Hello, You must make a separate directory in static folder. in the html file try using { load staticfiles } not {load static} On Fri, Oct 11, 2019 at 11:59 AM yasar arafath Kajamydeen < yasar...@gmail.com> wrote: > *@ Jani - Executed the given cmd, Please find the output and please guide > me

Re: How to modify data after receiving from request.data

2019-10-11 Thread gaurav jain
You can not modify the request.data object. You can save it in a different variable and use that Regards Gaurav Jain crazcu...@gmail.com/9971594094 On Fri, 11 Oct, 2019, 7:20 PM laxmikanta nayak, < laxmikantanayak...@gmail.com> wrote: > Hi, > > I am passing {message: 'here'} to a rest api then

How to modify data after receiving from request.data

2019-10-11 Thread laxmikanta nayak
Hi, I am passing {message: 'here'} to a rest api then in rest api before saving to the db i want to modify it to {message:'here it it'}. at which step should i do the modification: after reading from request.data using json dump and loads , or there is a way to modify the serializer.data ? --

syntax error: export DJANGO_DEBUG=False

2019-10-11 Thread fishbite
Hi there, My first post to this group! I've built the locallibrary project following the MDN tutorial and I'm now preparing to deploy the site on Heroku as described in the same tutorial and have added these lines to my settings.py file: *import os* *SECRET_KEY =

MDN Locallibrary project - syntax error on 'export DJANGO_DEBUG=False'

2019-10-11 Thread fishbite
Hi there, I've been working on the MDN Locallibrary project and am just preparing to publish the website on Heroku. I seem to be stumbling at the first hurdle though and hope someone can help. The problem is a syntax error pointing to the following line of code in my settings.py file: export

Re: django print all record in the cmd but display the last one on template

2019-10-11 Thread Raja Sekar Sampath
Hi, Convert the variable IPD into an array or render result variable on template On Fri, 11 Oct 2019 at 12:04, leb dev wrote: > i have a function that retrieve data from sql server database where i am > using **fetchall()** then for loop > the retrieved data are all printed on the **cmd

django print all record in the cmd but display the last one on template

2019-10-11 Thread leb dev
i have a function that retrieve data from sql server database where i am using **fetchall()** then for loop the retrieved data are all printed on the **cmd console** but when i tried to display these result on the template it **only display the last record**. views.py def

Re: CSS not working

2019-10-11 Thread yasar arafath Kajamydeen
*@ Jani - Executed the given cmd, Please find the output and please guide me further ..* (mypython) C:\Users\kajamydeenya\telusko>python manage.py findstatic -v 3 polls/style.css Found 'polls/style.css' here: C:\Users\kajamydeenya\telusko\polls\static\polls\style.css Looking in the