and double check your django version (though I'm pretty sure you should have that functionality), and the logging changes worked for me in my Django app)
pembo13
crap, sorry... totally editing the wrong settings.py
delgiudices has quit
Ferdroid has left the channel
thanks
q--pr has quit
ktosiek joined the channel
jhfisc joined the channel
adsworth has quit
`CONVERT_TZ` in MariaDB is returning NULL it seems
lolidunno joined the channel
nuked0ne joined the channel
jhfisc has quit
sol1x joined the channel
jhfisc joined the channel
n42k joined the channel
jhfisc has quit
Amedeo joined the channel
Cyph0n has quit
n42k
Hey! Is there any way to specify which table to use for a many to many relationship filter? i.e. Article.objects.filter(publications__title="Science News") in the example in https://docs.djangoproject.com/en/1.11/topics/d... . I want to change it from the default (in this case) myapp_article_publications.
jccn joined the channel
jhfisc joined the channel
harwiltz joined the channel
xliiv has quit
Cyph0n joined the channel
harwiltz
Hello. I'm trying to return HTML with an HttpResponse in django, but my HTML file refers to a script that I have on my server. However, when my HTML is displayed, it seems that the javascript file wasn't found. I think my problem is how I'm refering to my js file in the HTML. Anyone know how to do this?
Haudegen has quit
Right now, my html file refers to the absolute path of my js file on the server, but when I keep it like that evidently 127.0.0.1:8000/<filepath> is being queried, which isn't good
Wooble
harwiltz: use the staticfiles app.
howie9393 joined the channel
howie9393
adfa
Hi #django, I was wondering how django.test.TestCase and the ORM interact. If I create a databased backed object in a TestCase, the ORM can "see" the object when I query for it (like so https://dpaste.de/agio#L1). But if I were to connect to the test database directly using let's say "mysql -u myuser -p test_database_that_django_made", the tables are empty. How does the ORM know about this uncommited object? And, how can I see thi
harwiltz
Wooble: I've never heard of that, but is there really no way to do this without using another tool?