latest 100 | #django-sqlalchemy

May 3rd, 2008

20:30 empty
sure.

May 5th, 2008

19:32 empty_
brosner_________________________________ is now known as alex_gaenor

May 8th, 2008

17:34 brosner
r7500 <-- test for the bot
17:34 DjangoBot
17:36 empty
what you doing with the bot?
17:39 empty
wasn't that the prob before
17:39 brosner
its always been a problem since #django got registered
17:39 empty
that's odd

May 23rd, 2008

19:53 brosner
empty: have you been able to spend any time on dj-sa
20:04 empty
yeah tons
20:04 empty
I've been working on the class replacement stuff
20:05 empty
but doing it in a branch
20:05 empty
so I don't break existing code.
20:05 brosner
oh
20:05 empty
I've also been recently speaking with apollo13 about doing some of the other work, like management commands.
20:05 brosner
haven't been looking at code commits anyways. :P
20:05 empty
which will not be impacted by the change.
20:05 empty
oh
20:05 empty
how you?
20:05 brosner
good. been working with django from userland lately
20:06 brosner
when i got to boulder on wednesday i walked in when someone asked "what about sqla and django"
20:12 brosner
empty: i gave up on django-evolution at work
20:12 brosner
going back to pencil and paper
20:12 empty
wow
20:13 brosner
it needs to be a bit further along. i was running into problems i just couldn't get myself out
20:13 brosner
and i would leave it and forget it. which made it impossible to use (which is mostly my fault) but raw sql is just going to be easier in the long run
20:16 empty
ah
20:41 empty
yeah, so have you looked at sqlalchemy-migrate?
20:41 empty
apollo13 was telling me that it is very nice.
20:41 empty
I haven't looked at it.

May 27th, 2008

15:05 SRabbelier
empty: :)

May 30th, 2008

02:43 brosner
r1000
02:43 DjangoBot
02:43 brosner
r100000000000

May 31st, 2008

02:36 vomjom
using the latest SVN for both django and django_sqlalchemy with a DateTimeField in a model, i get:
02:37 vomjom
File "/usr/local/lib/python2.5/site-packages/django_sqlalchemy/models/fields/__init__.py", line 82, in sa_column_kwargs
02:37 vomjom
kwargs = dict(onupdate=self.onupdate)
02:37 vomjom
AttributeError: 'DateTimeField' object has no attribute 'onupdate'
02:39 empty
vomjom: this is the latest, as of a day or so ago?
02:39 vomjom
just checked out about 5 mins ago
02:40 empty
vomjom: okay, well there's kinks to work out on that but I wanted to get it merged as the changes were huge. So let me dig into it.
02:40 vomjom
thanks :)
02:41 empty
vomjom: would you http://dpaste.com/ your model
02:42 vomjom
okay, but i need to single it out first because i have a couple that could be culprits
02:42 empty
you know what, why don't you wait.
02:42 empty
I think I have an idea.
02:44 vomjom
hmm
02:45 vomjom
fyi i commented out all the models and it gave me that same error :P, but the apps that come with django_sqlalchemy in the tests directory seem to work
02:46 empty
vomjom: have you deleted pyc?
02:46 empty
there was quite a bit of changes.
02:46 empty
also here's another thing.
02:46 empty
is it when you're just going into the shell?
02:46 empty
or is it when you're doing a save
02:46 vomjom
shell
02:46 vomjom
empty, this is a first install of django_sqlalchemy so i don't think .pyc would be the problem
02:47 vomjom
i guess i'll try it, though
02:47 empty
oh okay
02:47 empty
do you have a DateField or a DateTimeField in your model?
02:47 vomjom
empty, when i commented out the models, it gave me the same error
02:47 vomjom
i'm wondering if it's user error :P
02:47 vomjom
i'll try to dig into the problem further
02:47 empty
okay, because I just added a DateField with onupdate and it works.
02:48 empty
and one without and it works.
02:48 empty
but it definitely could be a problem with dj-sa because like i said, huge changes.
02:49 vomjom
apparently it's django.contrib.auth that's giving me the issue
02:49 empty
oh well that could be.
02:49 empty
honestly I haven' t started testing third party stuff now. I just got class replacement working.
02:50 vomjom
ah, okay
02:50 empty
That's sort of my next step
02:50 empty
Maybe I'll start with auth
02:50 empty
just to see
02:52 empty
vomjom: yep it's auth
02:55 brosner
did i hear class replacement is working?
02:57 empty
sorta
02:57 empty
nah, it is
02:57 empty
but I just committed it finally. I have a lot more testing to do
02:57 brosner
kick ass empty :)
02:57 empty
and parts are a bit hackish, but I plan to clean that up.
02:57 empty
brosner: yeah it's pretty cool. Now on to testing third party stuff. :)
03:16 empty
vomjom: grab the latest. It should at least not error now. Beyond that I'm not sure. I'll test it over the next couple of days to see how far I get.

June 13th, 2008

20:04 vomjom
does django-sqlalchemy have a simple function that'll convert a django Model into an sqlalchemy Table?
20:11 brosner
not really. sounds like a decent abstraction though
20:12 brosner
right now that code is embedded in the metaclass for models
20:17 brosner
i am so far behind the dj-sa dev right now. empty appears to be steadily committing things. was i right about the Model to sa Table?
20:45 empty
vomjom: yeah brosner is right.
20:45 empty
although no longer a metaclass
20:45 empty
but a factory of sorts.
20:46 empty
same idea though
20:46 brosner
yeah i just saw that. i need to study these changes
20:46 empty
vomjom: sounds like a cool management command.
20:46 brosner
tons o work
20:46 empty
brosner: well yeah but these days I spend 3 hours and make one little change. :)
20:47 empty
but I've been doing a little bit each night.
20:47 brosner
its like we are meta programming the meta programming
20:47 empty
yes, haha

June 20th, 2008

17:49 brosner
hmmmmmmmmmmmm
17:50 brosner
i had a moment of thinking
17:50 brosner
ok nevermind. bad idea
17:51 empty
haha
17:56 brosner
in our case it might be neat if we could change how import works ;)
Page 1 of 19   1  2  3  4  ...  16  17  18  19  Next →(1,884 total)