jgiorgi: I know people who've used Oracle, MS SQL Server and Firebird
tashi is now known as tashi_
Ariel_Calzada has quit
natea has quit
ionelmc has quit
mike007
can I tell django not to create or select the 'id' property for a model?
I have a view that I am selecting from that does not have an 'id'
hauntel has quit
FunkyBob
mike007: it needs some sort of primary key
tashi_ is now known as tashi
__love__ has quit
Y3K
FunkyBob: Hey bud, how you doin'?
mike007
ok
mezner joined the channel
FunkyBob
Y3K: good... y'self?
Y3K
FunkyBob: Fine, trying to finish up a project before weekend.
FunkyBob
cool
tWoolie joined the channel
dblado has quit
mike007 has quit
milkandtang has quit
jgiorgi
FunkyBob: yeah it seams that other than what i listed oracle is supported then there's some third party backends, it's sad to see a great framework stuck in SQL
FunkyBob
eh?
what would you like it to support?
passy has quit
ch1wn has quit
raijin joined the channel
jgiorgi: in what way does it "suck" at SQL?
jgiorgi
FunkyBob: i said "stuck" as in there isn't support for anything not-SQL based
tdelam joined the channel
FunkyBob
oh, stuck... it's early, I've not had coffee :)
jgiorgi: well, there's django-nonrel... but the ORM is an object _Relational_ mapper
it's for mapping to (pseudo)relational stores
zetaspartan2552 joined the channel
jgiorgi
FunkyBob: yeah i saw that, mongo is one of the db's i use but it doesnt seem mature
ch1wn joined the channel
FunkyBob
yeah, well...
passy joined the channel
you don't really need the orm for that
and there's no way I'd trust mongodb or its ilk for our business
seagreen has quit
jgiorgi
meh, you don't need an orm but you can't use any Django tool designed to use the ORM for mongo without heavy modifications
there is something to be said for wrapping something just for universal use
chromakey2112 has quit
rogi has quit
Ergo^ has quit
FunkyBob
we could debate this ... but really ... no
you can get all excited about your "everything old is new again" DB tech... but there's still lots of cases it just doesn't suit.
a lot of people still hold this "joins are bad" attitude, which seems to stem from using MySQL
dirn joined the channel
MicahCarrick has quit
gremmie has quit
odinho
jgiorgi: There's a LINQ-for-Python-ish thing called asq. I watched a presentation on it and finally found out why you'd ever want something like that :P
sgambino has quit
FunkyBob
odinho: ooh... I've a friend who's going to lvoe you
markalanevans has quit
mike007 joined the channel
rydgel has quit
seagreen joined the channel
jgiorgi
odinho: personally i prefer working with the mongo API directly, it's a beautiful API, but when you want to make data backends interchangeable your only choice is a wrapper, i wrote one for circuits but no large frameworks have any support for nosql
mattmcc
Not everyone considers interchangable database backends to be something worth having.
FunkyBob
jgiorgi: please stop saying "nosql" when you mean "nonrel"
NoSQL is a relational DBMS that uses a query language other than SQL
mattmcc
Different DBs have different strengths, and only the most trivial applications truly don't care which DB they're talking to.
jgiorgi
FunkyBob: actually i mean NoSQL, whether it is relational or not i'm refering to support for a database that doesnt use sql as it's query language
odinho
FunkyBob: Uh, ... and to what do I owe that pleasure? I did not write asq as I didn't even understand what LINQ did before that presentation.
FunkyBob
odinho: no, I've a friend [my original Python guru] who has had to work in C#... and feels the one thing it has over Python is LINQ
dblado joined the channel
jgiorgi
mattmcc: i disagree with that, i would say a lot of data storage tasks can be abstracted to a level where it's irrelevant how the data is being stored
odinho
FunkyBob: Lots of people say that, and I have never understood why. But I do now. After listening to a guy praise it for 1.5 hours and showing his start on something like that for Python.
FunkyBob
mattmcc: ah, the ol' "horses for courses" argument :)
odinho
FunkyBob: It doesn't transform everything to AST and do compile and optimization steps on it like C# LINQ though. But there was nothing really stopping it, except for it being hard and hacky.
hwrd|work joined the channel
maspwr has quit
LewisZ joined the channel
gabrielfalcao joined the channel
subbyyy joined the channel
glitch273 has quit
mattmcc
jgiorgi: At a cost of performance, sure. You can store GIS data in an Excel spreadsheet, but why would you want to when there's PostGIS?
Is it realistic to abstract GeoDjango to DBs that lack GIS layers? Not in my book, no.
josuebc
Hi, I am trying to install django_wiki following the install guide. But when I try to sync the DBs I get an error saying that theres no module called notify, even tho I have installed django_notify with pip. Any ideas why this is happening?
kvnn joined the channel
kvnn
[Tastypie problem] Following the EntryResource / AuthorResource example at the bottom of http://django-tastypie.readthedocs.org/en/lates..., I see my foreign key field in my json result, but the value is "", I'm certain that the foreign key is populated for this instance. Any ideas?
Ahoy. I seem to remember there being some Django thing that makes it so that when you fetch an object from the database, it gives you the most specific possible subclass instead of the class you queried.
mattmcc
tswett: You're probably thinking of django-model-utils.
FunkyBob
tWoolie: or django-polymorphic
jefimenko joined the channel
tswett
mattmcc: yeah, that's it! Thanks.
estebistec has quit
jefimenko
does anyone have any recommendations on how to handle internationalized media? e.g. different banner images used depending on the language?
Ariel_Calzada joined the channel
a while back i wrote a context processor that would set MEDIA_PATH = MEDIA_PATH + LANGUAGE_CODE + '/'
so you could put media in /path/to/media/{en-us,de}/
i was wondering if anyone else has thought up an elegant solution
maspwr joined the channel
FunkyBob
tswett: I ended up having to reverse engineer that... it's realy quite elegant
ssbr joined the channel
atula has quit
seagreen has quit
ch1wn has quit
passy has quit
mezner has quit
markalanevans joined the channel
farciarz84 has quit
nihilista has quit
xpen joined the channel
usbar joined the channel
xpen has quit
heptal has quit
nihilista joined the channel
usbar
Hi, I just asked a question but got disconnected. So I installed django-notify and add it to my installed_apps but now sync-ing my dbs I get a "cannot import name notify" error. Any ideas why? If I open a python shell I can't import notify but I can import django_notify
FunkyBob
usbar: then that's the problem
seems like a wrong name
usbar
FunkyBob: But I installed django-notify with pip and on the installed apps list I have 'django_notify' not sure why django is looking for notify and not django_notify
kvnn has quit
servvs joined the channel
josuebc has quit
FunkyBob
usbar: well, _what_ exactly is looking for notify?
servvs
if I pass a list to a template through render, can i access each element with list[x]?