Re: Accessing Django through ssh tunneling and error to get status

2018-07-15 Thread Dikus Extrange
Hi Robert. Thank you for your piece of advice. I tried writting ALLOWED HOSTS = ['*',] And after running the server, it throws the same message: Not Found: /http:/127.0.0.1:8000/status Etc,etc... I wonder why the protocol has only a slash (http:/ rather http://). Could it be a wrong message?

Connection refused by Unix socket file

2018-07-15 Thread need_some_help
Having some trouble linking up Django + uWSGI + NGINX If I run the Django development server, the page works perfectly. If I run with: uwsgi --http 0.0.0.0:8134 --wsgi-file /test/test_project/wsgi.py and access it at localhost:8134 the site works except the images are not being loaded. But if

Re: Django "pub_date" error

2018-07-15 Thread Dylan Reinhold
Without your code no one can help you (they will just be guessing). Post your models.py and the exact traceback error. On Sun, Jul 15, 2018 at 7:52 PM, Daniel Tobi Onipe < dexterousgur...@gmail.com> wrote: > I wrote it exactly as it is in the tutorial... > > On Mon, Jul 16, 2018, 02:56 afj afj

Re: Django "pub_date" error

2018-07-15 Thread Daniel Tobi Onipe
I wrote it exactly as it is in the tutorial... On Mon, Jul 16, 2018, 02:56 afj afj wrote: > probably if you would show us the code you've written it would be better. > > On Monday, July 16, 2018 at 2:37:31 AM UTC+3, Daniel Tobi Onipe wrote: >> >> Hi guys. My name is Daniel. I've been having issu

Re: Django "pub_date" error

2018-07-15 Thread afj afj
probably it would be an error spelling the proper function. On Monday, July 16, 2018 at 2:37:31 AM UTC+3, Daniel Tobi Onipe wrote: > > Hi guys. My name is Daniel. I've been having issues with the "pub_date" > part of the tutorial. It keeps popping up a traceback error saying > "pub_date is an in

Re: Django "pub_date" error

2018-07-15 Thread afj afj
probably if you would show us the code you've written it would be better. On Monday, July 16, 2018 at 2:37:31 AM UTC+3, Daniel Tobi Onipe wrote: > > Hi guys. My name is Daniel. I've been having issues with the "pub_date" > part of the tutorial. It keeps popping up a traceback error saying > "pub

Re: Admin CSS Not Working in Opera or UC Browser

2018-07-15 Thread Gerald Brown
One thing I noticed in your settings file is that you are missing a comma (,) at the end of your last application in the settings file. On Monday, 16 July, 2018 08:54 AM, Kayode Oladipo wrote: I recently sent in a query concerning my faulty admin css which loaded previously until an upgrade to

Re: Admin CSS Not Working in Opera or UC Browser

2018-07-15 Thread Gerald Brown
Have you tried FireFox? On Monday, 16 July, 2018 08:54 AM, Kayode Oladipo wrote: I recently sent in a query concerning my faulty admin css which loaded previously until an upgrade to v.2.0.5. I assumed the upgrade was responsible for this, so i downgraded back to my previous version (2.0.2) bu

Admin CSS Not Working in Opera or UC Browser

2018-07-15 Thread Kayode Oladipo
I recently sent in a query concerning my faulty admin css which loaded previously until an upgrade to v.2.0.5. I assumed the upgrade was responsible for this, so i downgraded back to my previous version (2.0.2) but there was no change. I have uninstalled and tried all fixes I know all to no avail.

Re: Re: Beginner

2018-07-15 Thread Harsh Rawat
Options regarding new names ? i didn't get it I am really sorry for disturbing you again and again *Harsh Rawat | +91-8824348448* *Marketing Associate, SPREE'18* *Department of Sponsorship & Marketing* *Birla Institute of Technology and Science, Pilani* *K.K. Birla Goa Campus* On Sat, Jul 14, 20

Re: I can't see my models in MySQL db

2018-07-15 Thread A. Azimzadeh
Any help !? On Sat, Jul 14, 2018, 15:23 ali reza wrote: > Hi all, > > I attached my Django project as a ZIP file. > please help me to find and fix the root cause of issue. > Link: > https://ufile.io/ycmut > > Thanks in advance > > On Wednesday, 4 July 2018 17:50:49 UTC+4:30, ali reza wrote: >>

Re: Including DetailView context in ListView page in the Order history page using Django

2018-07-15 Thread Samir Tendulkar
Thanks I realized I made a mistake there. I changed the models to from Cjarfield to product = models.ForeignKey(Product, on_delete=models.CASCADE) Still stuck on the view On Sat, Jul 14, 2018 at 3:55 PM, Simon McConnell wrote: > item.product.image from your template points to nothing. Product i

Re: django

2018-07-15 Thread Andréas Kühne
Like previously stated django isn't a CMS. Django is a framework to create websites from scratch. That being said if you are familiar with Python and want to use Python instead of PHP for creating a website you can also use django-cms which is a plugin for doing what you want. Regards, Andréas 2

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-15 Thread Bill Torcaso
I ask this out of genuine curiosity -- how do you edit source code? I'm wondering because that seems inseparable from how you structure your python code into files. I say this without any judgement. If your brain likes one method per file, then you are asking your fingers and eyes to do more

Django Channels: long running async function and where to save ORM object

2018-07-15 Thread Sebastian Haase
Hi, I'm still in the process of migration from channels 1 to channels 2... One thing I'm interested in is related to [ http://channels.readthedocs.io/en/latest/one-to-two.html#application-instances ] """ASGI applications are now instantiated once per socket and can use local variables on self t

Re: [django-channels client wrapper] specifying no reconnection attempts

2018-07-15 Thread Andrew Godwin
I don't know much about that JavaScript code, I'm afraid, otherwise I would try and help (it's likely we're going to deprecate support for it soon as there's no maintainer for it right now anyway). Take a look through the source code and see if there's something you can call to stop reconnection a