Re: Broken?

2018-04-28 Thread Kevin O'Gorman
So I modified the command so that it brought out all the fields, adding them one by one in a .values() call added to the QuerySet. They all came out just fine, every single one, including the timestamp. As a result, I'm thinking this may be a bug in Django when it is just being called on to pr

Re: Django--Making query use part of the matching name

2018-04-28 Thread 'Anthony Flury' via Django users
What are the rules - you say that a query string of '10FTK' should match '10FTH86RSK', but also '10FTK', '10F6TK', '10FTK4' I think the problem is that the rules aren't 100% clear. * For '10FTK' to match '10FTH' you actually only care about the first 4 characters ? * For '10FTK' to mat

Re: Broken?

2018-04-28 Thread Kevin O'Gorman
Maybe, but while the log file has undergone some migrations in the past, it has not been much, not recently, and everything is up-to-date now. 'manage makemigrations' detects nothing. So the question is how I can explore this. ++ kevin On Saturday, April 28, 2018 at 7:17:24 AM UTC-7, Jason wr

Re: Django ODBC connect to DB2 IBM(AKA AS400) how to?

2018-04-28 Thread Jason
no clue about whether this works for django, but this showed up on google when search for *python ibm as400* : https://stackoverflow.com/questions/35461388/connecting-to-ibm-as400-server-for-database-operations-hangs. On Friday, April 27, 2018 at 11:17:45 AM UTC-4, Jose Perez wrote: > > Guys

Re: Broken?

2018-04-28 Thread Jason
Basically, its saying that something is expecting a string, but is instead getting a datetime object. Sounds like something changed in your `oils/models.py` file On Saturday, April 28, 2018 at 7:54:24 AM UTC-4, Kevin O'Gorman wrote: > > I've got a working site, but I made a copy of the database

Re: Beginning Django.

2018-04-28 Thread Gerardo Palazuelos Guerrero
Hi A quick online tutorial? The Django girls tutorial is very good, use Django 1.11 (LTS). Also is free. A good book but long? There is a good one Python TDD (Oreilly publisher) by Harry Percival. I’m enjoying too much. It use Django 1.11 (LTS). One Django 2.0 I can see Django By Example (Packt

Re: Tutorial 1 doesn't work

2018-04-28 Thread Fidel Leon
Line 6 of polls/views, should be: def index(request): instead of def index*[*request*]*: Python function names get arguments using parenthesis, not square brackets. Fidel Leon El 28 de abril de 2018 a las 13:54:13, giwon@nexstreaming.com ( giwon@nexstreaming.com) escribió: I did exa

Beginning Django.

2018-04-28 Thread Kayode Oladipo
Hello friends, I recently completed Python Crash Course 3 and I'm looking to go into web development with Django, there are almost no Django 2.0 books and I'm finding the official Polls tutorial a lil beginner unfriendly. Any advice as regards this? Thanks -- You received this message because yo

Tutorial 1 doesn't work

2018-04-28 Thread giwon . seo
I did exactly what is written in the tutorial 1 and checked it many times, and I got the server up and running and I had this log. The funny thing is that I don't have this log and it starts running the server successfully if I get rid of the path setting in the mysite/urls.py I think I'm ha

Broken?

2018-04-28 Thread Kevin O'Gorman
I've got a working site, but I made a copy of the database in order to do some development work. I've hit a snag that looks like a problem in the data. The odd part is that this database is in production, and my backups have the same problem. So I'm presuming my new code is broken in some way I

Re: Architecting a Crypto Market Data Feed using Django Channels

2018-04-28 Thread Andrew Godwin
I can't help you with real-time streaming architecture overall - that's a much bigger scope of thing - but I can say that you shouldn't be keeping a synchronous consumer open like that (you're using a whole thread). You should either rewrite it to be async-native, so it doesn't use up a thread and