-
bradleyayers
no, but we both already know this stuff
-
d1rkp1tt
bluesm, needs to hear it
-
bradleyayers
ah good point
-
FunkyBob
"Gordon doesn't need to hear this! He's a highly trained professional!"
-
mhaligowski
@bradleyayers lo
-
bradleyayers
mhaligowski: hey
-
how'd you go with the patch?
-
mhaligowski
i think i've done it:)
-
d1rkp1tt
bluesm, is Gordon?
-
bradleyayers
mhaligowski: can i see?
-
mhaligowski
but I've used django.test.client.Client in test case
-
is that ok?
-
d1rkp1tt
FunkyBob, Oh a quote... whats that off?
-
FunkyBob
d1rkp1tt: heh... go on... strain your memory :)
-
JanC joined the channel
-
here's a hint: crowbar
-
bradleyayers
mhaligowski: that should be fine
-
mhaligowski: i try to keep unit tests to the minimum required to test the functionality though
-
d1rkp1tt
Half life?
-
bradleyayers
without using Client, you'd have to handle keeping around the session cookie which would be a pain
-
mhaligowski
@bradleyayers it seemed suitable to me, as it's connected to the Session
-
bradleyayers
so it makes sense to me to use it here
-
mhaligowski
-
i'll finish running tests locally and commit the soluton
-
jtri
i'e got a line like this in my Form class:
-
select_datafile = forms.ModelChoiceField(required=False, queryset=CsvDataFile.objects.all())
-
bluesm
d1rkp1tt: ? Gordon ?
-
ben_nicoll joined the channel
-
jtri
then I had a line like this in the code processing the form:
-
digestion.data_file = CsvDataFile.objects.get(pk=self.cleaned_data["select_datafile"])
-
d1rkp1tt
bluesm, No, Im not Gordon
-
jtri
but it appears the clean_data already contains a CsvModel object!?
-
sicne i switched to using the ModelChoiceField, i guess...
-
bluesm
I don't get your sense of humor. Unfortunately.
-
Why django not other web framework for python?
-
jtri
is it safe to assume that this modelchoicefield is smart enough to get the model instance on it's own?
-
so no need to seek it based on pk?
-
m8 joined the channel
-
it looks like that's whats happening
-
Browser joined the channel
-
areski joined the channel
-
bluesm
Why python + django is better than Php ?
-
d1rkp1tt
oh dear
-
arietis joined the channel
-
php and.... what other web framework?
-
bluesm
?
-
I don't get it
-
d1rkp1tt
Really its python / php .... not Python plus Django or PHP
-
?
-
gbel joined the channel
-
PHP Alone doesnt come with all the bells and whistles of Django that is
-
But, PHP + Joomla, Drupal .... or some other. But they are fully fledged content management systems
-
bluesm
fledged ?
-
d1rkp1tt
full-fledged: (of a bird) having reached full development with fully grown adult plumage; ready to fly.
-
bluesm
Ok.
-
tmitchell joined the channel
-
But to work with python instead of php.
-
django is good Idea ?
-
d1rkp1tt
Yes
-
Python is also a good idea
-
But, if you wanted more out of the box
-
I would say, Drupal is also a good idea
-
apollo13
meh
-
d1rkp1tt
Some might not
-
like that
-
apollo13
drupal is a pain in the a**
-
d1rkp1tt
lol
-
You get a lot though
-
bluesm
ok
-
Thank you .
-
d1rkp1tt
Let me get their latest module count
-
bluesm
Very much
-
mhaligowski
@bradleyayers pushed
-
apollo13
yeah, but the content model is odd, it has some great ideas but all in all it is ugly imo
-
d1rkp1tt
No coding in drupal though
-
mhaligowski
-
d1rkp1tt
That reminds me
-
FunkyBob
d1rkp1tt: oh, man... I could do so much with that :P
-
10:15 < d1rkp1tt> No coding in drupal though
-
d1rkp1tt
lol
-
well let me rephrase
-
FunkyBob
no... just lots of random monkey mashing keyboard :P
-
d1rkp1tt
I have spent truck loads of time in drupal, and theres a module for everything you can think if
-
Seriously takes the fun out of it
-
Mohsen_Hassani
How can I translate the 'workgroup' inside this template filter? {% breadcrumb_url 'Workgroups' branch_details branch.id %}
-
FunkyBob
Mohsen_Hassani: _('Workgroups')
-
yes, it works in templates
-
Mohsen_Hassani
FunkyBob, wow!
-
joshfinnie joined the channel
-
d1rkp1tt
Doesnt really leave you with a heck of a lot to do
-
Drupal and Symphony are hooking up now
-
Symfony? Symphony?... I forget.. I tried that out before Django
-
jaddison joined the channel
-
But some symphony goodness is going into Drupal
-
bradleyayers
mhaligowski: i'm trying to figure out how to see a diff between branches in github
-
it's alluding me
-
FunkyBob
alluding? or eluding?
-
bradleyayers
thanks for embarassing me
-
mhaligowski
branches -> compare?
-
bradleyayers
in front of everyone
-
FunkyBob
bradleyayers: oh, hey... you do that perfectly fine by yourself :)
-
bradleyayers
mhaligowski: i did that, didn't show what i was expecting
-
d1rkp1tt
I missed that, let me read up..
-
Yup, there it is.
-
bradleyayers
-
FunkyBob
compare/{original}...{new}
-
d1rkp1tt
FunkyBob, Was it Gordon Freeman?
-
bradleyayers
oh what, it's in reverse order
-
FunkyBob
d1rkp1tt: yes!
-
"They're waiting for you, Gordon. In the _test_ _chamber_!"
-
d1rkp1tt
Oh, that one sounds more familiar
-
Was a long time ago
-
2002, 2003?
-
mhaligowski
@bradleyayers want me to make diff?
-
bradleyayers
mhaligowski: nah it's okay
-
i want to figure out github
-
FunkyBob
mhaligowski: must you use twitter style directs like that?
-
mhaligowski: the convention on IRC is as I've done... name with a :
-
bradleyayers
FunkyBob: do you find it offensive?
-
mhaligowski: can you rebase off latest master?
-
mhaligowski
FunkyBob: like this?
-
FunkyBob
exactly
-
d1rkp1tt
FunkyBob, 1998 it was released
-
mhaligowski
sorry, I used to use that like five years ago
-
so i'd say that twitter is using irc-style:)
-
FunkyBob
mhaligowski: this style has been in use on IRC since I started...
-
at which point SMSs didn't exist, let alone twitter
-
mhaligowski
FunkyBob: my irc client doesn't differ that, anyway
-
but i'll switch, no problem
-
bradleyayers
mhaligowski: i think your master branch is out of date
-
FunkyBob
LimeChat, eh?
-
mhaligowski
exactly
-
is there any better irc for os x?
-
FunkyBob
no idea
-
mhaligowski
bradleyayers: in a moment, i'm quite a virgin here:)
-
bradleyayers
mhaligowski: but your ticket_18998 branch is updated
-
FunkyBob
ask someone who runs OS/X
-
d1rkp1tt
whats everyone using for IRC anyway? I switch between xchat and the firefox plugin.. I forget its name
-
ObseLeTe joined the channel
-
bradleyayers
-
ObseLeTe
Hi
-
tanathos
d1rkp1tt: Quassel, kde default
-
bradleyayers
d1rkp1tt: i use colloquy, and it's warty
-
mhaligowski
bradleyayers: git branch master; git fetch upstream will do?
-
bradleyayers
git checkout master
-
mhaligowski
right
-
bradleyayers
do you have the official repo setup as a remote?
-
mhaligowski
yup
-
as upstream
-
bradleyayers
so git checkout master && git pull upstream master