Re: responsive html

2018-06-08 Thread Musab Mohammed
Thank You. On Friday, June 8, 2018 at 7:25:57 PM UTC+5:30, Dan Nepejchal wrote: > > Hi, > > so if I understand it right you can use django template > https://docs.djangoproject.com/en/2.0/topics/templates/ and use your css > media query, then check how to serve static files >

Redirect Loops and 404 with Django Channels and runserver command

2018-06-08 Thread Justin Lee
I was just trying to integrate channels into an existing django/DRF project and I have been running into an issue where my original urls paths are breaking when I do runserver. My root index view leads to 301 infinite redirects loop and my other app views results in a 404. The Socket server

Re: responsive html

2018-06-08 Thread Dan Nepejchal
Hi, so if I understand it right you can use django template https://docs.djangoproject.com/en/2.0/topics/templates/ and use your css media query, then check how to serve static files https://docs.djangoproject.com/en/2.0/howto/static-files/ sou about css is in basic nothing change. pá 8. 6. 2018

Re: what does the below mentioned error means and how do i resolve this error.something is wrong with my admin.py file.Please comment:

2018-06-08 Thread Mario R. Osorio
Looks like you skiped a huge part of the tutorial. you might to go back... On Thursday, June 7, 2018 at 11:08:15 AM UTC-4, Avitab Ayan Sarmah wrote: > > In windows powershell: > > ERRORS: > : (admin.E108) The value of > 'list_display[0]' refers to 'question_text', which is not a callable, an >

How do you receive group messages outside of consumer?

2018-06-08 Thread hasan Infogeek
Right now my application relies on async_to_sync(channel_layer.group_send) to send messages to the group but I can't find a channel_layer.group_receive or equivalent function. I can write a websocket client that connect to the group that will receive the messages but it would be better if i

responsive html

2018-06-08 Thread Musab Mohammed
HI, I am using css media query in normal Html file and I am tying to convert it to django. So now i am not able to get responsive view. please let me know whats the solution. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: This site can’t be reached 127.0.0.1 refused to connect.

2018-06-08 Thread Илья Барков
I had a similar problem in Firefox, in other browsers everything worked well. Cleared the cache and cookies! https://support.mozilla.org/en-US/kb/websites-dont-load-troubleshoot-and-fix-errors#w_the-problem-only-happens-with-certain-websites 2018-06-06 4:33 GMT+03:00 James Farris : > What’s the

Re: what does the below mentioned error means and how do i resolve this error.something is wrong with my admin.py file.Please comment:

2018-06-08 Thread Avitab Ayan Sarmah
Can you tell me what is wrong in my admin.py file because from exception it seems that list_display() is having something wrong which I am not able to find out On Fri 8 Jun, 2018, 7:23 PM Mario R. Osorio, wrote: > Looks like you skiped a huge part of the tutorial. you might to go back... > > On

Re: Simple django api

2018-06-08 Thread Jason
you might want to read https://stackoverflow.com/help/how-to-ask, since the skill of knowing how to ask a good question is invaluable in life. your original question doesn't contain any specifics about what you want, what you've done and what problem you're having. Learn how to break a

Re: what does the below mentioned error means and how do i resolve this error.something is wrong with my admin.py file.Please comment:

2018-06-08 Thread 'Anthony Flury' via Django users
The errors are relatively obvious to be frank - see the responses below ... On 08/06/18 14:56, Avitab Ayan Sarmah wrote: Can you tell me what is wrong in my admin.py file because from exception it seems that list_display() is having something wrong which I am not able to find out On Fri 8

odd crash

2018-06-08 Thread Larry Martell
I have an app that uses 1.9. It will work fine for weeks and weeks, and then out of the blue a page that has just worked will crash with this: Request Method: GET Request URL: Django Version: 1.9 Python Version: 2.7.5 Installed Applications: ['django.contrib.admin', 'django.contrib.auth',