How to switch json context between two pages in djanog

2014-03-31 Thread Ashish Kumar
I have two html pages with different json context ,I have templates for both pages which contains a script which on loading the pages individually loads the context into the list.Now i want to develop a toggle button which onclicking changes the context ,is there any way i can do this with ajax

Django makemigration polls error

2018-07-24 Thread Ashish Kumar
I am trying to follow the latest Django tutorial at the documentation and I faced the following error when I enter python manage.py makemigrations polls Traceback (most recent call last): File "manage.py", line 15, in execute_from_command_line(sys.argv) File "C:\Users\asus\AppData\Local\Program

Re: Django makemigration polls error

2018-07-26 Thread Ashish Kumar
thanks man. that was the mistake i did. On Wednesday, July 25, 2018 at 4:54:09 PM UTC+5:30, theAloneOne wrote: > > You may have missed a comma after *'polls.apps.PollsConfig'* in your > settings.py file in the *INSTALLED_APPS* list so check it again and you > may not be using the same django-ver

Re: Django makemigration polls error

2018-07-26 Thread Ashish Kumar
I'm using the latest version m8 On Wednesday, July 25, 2018 at 5:50:24 PM UTC+5:30, Okware Aldo wrote: > > I think he should share screenshot of his setting.py file, but from what I > can see -- if he is running django 1.10 and above apps should be 'polls' > not *'polls.apps.PollsConfig'* > >

First app using mouse click event

2014-08-22 Thread ASHISH KUMAR GUPTA
Hi, I am very new to web development and started learning django few days back as I really like and enjoy Python. I have done the first tutorial and I understand some of the basic concepts. I want to develop an app where I need to record mouse clicks from the user, can someone please guide me t