ironbeard: A through model could store percentage.
vuoto_ joined the channel
tulioz joined the channel
Frenchiie
something like the sql group by and limit? anyone?
Gwildorix joined the channel
thegrymek joined the channel
jacen915 has quit
mariusp has quit
systempk has quit
ironbeard
mattmcc: I'm not familiar with those, I'll look them up. Thanks for the direction!
lborda joined the channel
ulhas has quit
airstrike
kline: got it?
mariusp joined the channel
kline
airstrike, depends what there was to get - if anyone sent me anything, i didnt get that, but the site is now running. i suspect "sudo -e" on a file doesnt flush changes back until the editor is closed :v
airstrike
Frenchiie: what is your ORM query like?
kline
so i was saving these config changes but emperor would never see them until i gave up to fix IRC falling over
airstrike
kline: I proposed an alternative way to structure your stuff on github
kline: and explained it here
kline
sorry, i missed it here
ironbeard
mattmcc: Oh, this is perfect! Great!
jrist joined the channel
kline
i probably agree fwiw, but its not me whos written it, i was just pulled in as someone who can admin the nginx/emperor stuff
and i was deadly confused about why it would/wouldnt load it. played around with the venv (could launch from console fine inside the venv, but obviously not outwith) and drawn from that i needed to add venv stuff to the vassal ini, which never got flushed back, embarrassingly
Stragler
I want to filter a query set with .filter() but I want to exclude objects with action_date that is later than timezone.now(). How do I do that?
ironfroggy has quit
action_date is the date of an action. I want ot get all the objefts that have action_date that has already passed
jtri: because i am a lazy bum, i always do dump / restore operations as the postgres user :p
rub3nc has quit
zamro joined the channel
the_drow joined the channel
jbitcm- joined the channel
stickperson joined the channel
the_drow has quit
airstrike
you could always ask in #postgresql
hutch34_ joined the channel
ieatkittens joined the channel
sieve joined the channel
jessamyn_ has quit
the_drow joined the channel
hutch34 has quit
FreedomFighter joined the channel
renlo joined the channel
ironfroggy has quit
matsaman joined the channel
ironfroggy joined the channel
phinxy has quit
bx2 joined the channel
sanketdg has quit
nathanhi joined the channel
Arendtsen joined the channel
ironfroggy_ joined the channel
DrNo joined the channel
jax joined the channel
DrNo has quit
DrNo joined the channel
ddiet
I'm stuck, I'm make inspectdb, some of tables don't have primary key by default, because they have only 2 foreign key by design and I can't add id = AutoField to this model. Without primary key, I can't make a dumpdata and use it in my real DB
vuoto_ has quit
bx2 has quit
FreedomFighter has quit
hutch34_ has quit
royendgel joined the channel
the_drow has quit
sjoerdjob
ddiet: apparently it's a m2m table... maybe it would help if you defined it as a `ManyToManyField` on one of the tables it has a foreign key to?
gopar joined the channel
ddiet
sjoerdjob: Actually, start to think about using 2 DBs, one SQLite3 for this app and as main PostgreSQL because have no idea, how to bypass it and make fixture.
beardedeagle has quit
sjoerdjob
besides the inspectdb thing. What is the actual problem you want to solve?
pembo13 joined the channel
hylje joined the channel
dviola
this is the line that's giving me the problem with the non-english characters: https://dpaste.de/nFav#L85
should I just throw an exception here?
pembo13
dviola: which variable has the non english characters