#pinax-sprint

Feb. 23rd, 2010

03:46 brosner
actually this has a specific need for it
03:47 jtauber
right, it's because it's user-content
03:47 jtauber
it's like a fixture but media
03:48 skyl
oh, okay
03:48 skyl
gotcha
03:50 deepthawtz
django is awesome!
03:50 deepthawtz
...the restaurant
03:51 jtauber
:D
03:51 skyl
ContentType.objects.get_for_model(Bookmark)
03:51 skyl
model=ContentType.objects.get_for_model(Bookmark)
03:52 skyl
tags = Tag.objects.filter(items__content_type = model, name__istartswith = u'f').distinct()[:limit]
03:52 skyl
never returns any Tag objs
03:52 skyl
whereas blog.models.Post as the contenttype does fine
03:53 skyl
anyhoo ...
03:53 skyl
I'm going to default to showing all of the tags for the site with counts across the whole site
03:54 skyl
I know, I need to eat at that django place sometime :D
03:56 skyl
looks like Photos have the same affliction as bookmarks. Not sure what the deal is
03:56 skyl
{% tag_autocomplete_js "blog post model" %} return tags and counts just for the model
03:57 skyl
{% tag_autocomplete_js "bookmarks bookmark model" %} will not suggest anything
03:58 skyl
however, I think that a rational default is {% tag_auto_complete %} which returns site-wide tags and counts is a good default
03:58 skyl
#default :D
03:59 skyl
{% tag_autocomplete_js %} that is
04:07 skyl
btw, atm .. sample_group_project$ ./manage.py syncdb
04:07 skyl
Error: No module named tagging_ext
04:09 skyl
04:09 skyl
04:10 skyl
04:10 skyl
differences demonstrate the intended 3 choices for suggestions/counts
04:12 kwadratsqr
quit
04:12 kwadratsqr
exit
04:14 skyl
04:14 skyl
tagging autocomplete with counts, task 306, final answer
04:19 skyl
I think that this will break other projects that use the template if tagging_utils is not in INSTALLED_APPS and included in urls.
04:19 skyl
template*s
04:20 skyl
do we want to just include tagging_utils in INSTALLED_APPS for every project and include the urls?
04:20 skyl
maybe you can merge with tagging_ext?
04:21 skyl
at any rate, I am triaging other tickets now so that branch is sitting for a moment
04:58 skyl
you guys slacking? :S
04:58 skyl
where is pydroid?
04:59 aroy
I'm working on testing the account app
05:03 jtauber
skyl: pydroid left ages ago
07:25 skyl
counts are working alongside tagging_ext in social and code projects
07:25 skyl
for tag_autocomplete_js
07:26 skyl
I like the widget better than the js in extra_body
07:26 skyl
I do believe, could we even pass that to the admin without template changes?
07:43 brosner
maybe
08:01 skyl
08:02 skyl
one small commit and then a small fix to that commit
14:31 dartdog
anyone awake?
14:32 jezdez
yep
14:33 jezdez
dartdog: in case you wanted to work on media file processing (e.g. minification) I got commit access to django_compressor yesterday and will do a pypi release later today
14:35 dartdog
Well I was hoping for some one local in Atl left them at about 1:30 and it looked like they were actually about to get going more, I will take a look at the media file issue to see if it is something I can tackle given my skill level so far just trying to help on some more intro type docs
14:36 jezdez
cool, don't hesitate to ping me if you need any help :)
14:36 dartdog
I'm not proud! thanks
16:56 deepthawtz
good morning
17:31 pydroid
ls
17:31 pydroid
ooops
17:58 deepthawtz
18:27 __skyl__
try to post a wiki page on the social project
18:27 __skyl__
19:06 justquick
Hey all, i believe i have a fix for pinax ticket #559: http://github.com/justquick/django-notification...
19:06 DjangoBot
19:07 justquick
my only question is whether to mail_admins for each failure inside the loop, or to just log it as is
19:07 justquick
brosner: i guess your the one to ask
19:52 justquick
where is the best place to put a post_syncdb signal in the pinax core?
19:52 justquick
19:53 justquick
its currently in pinax.core.models, but that means "pinax.core" has to b put into INSTALLED_APPS
20:02 __skyl__
are we trying to patch up the existing wikiapp or ... ?
21:09 brosner
21:57 __skyl__
our subnav api, will return a pubsubhubhub deferred which on callback will blocking pop from our redis queue
21:57 __skyl__
it's very flexible
21:57 aroy
I agree
22:04 dartdog
syncdb fail in company project
22:05 dartdog
syncdb paste company project http://code.pinaxproject.com/paste/Q0gU/

Feb. 24th, 2010

03:59 aroy
I've checked in some unit tests for the account app at http://github.com/audrey/pinax
03:59 aroy
it's not complete - just tests on the login view
04:19 aroy
16:12 rmh
Hi just got home after an 8 hour flight. How's everything going?
18:45 jtauber
any sprints still at PyCon that haven't eaten lunch yet: I'll be down in 10-15 minutes and will be hungry :-)
18:45 jtauber
err, sprinters*
18:46 aroy
sounds good
18:48 mrtrosen
how is the sprinting going?
18:48 jtauber
mrtrosen: going very well (although I haven't started today yet)
18:49 mrtrosen
cool :)
18:50 mrtrosen
i should have stayed down in atlanta and did work from the hotel this week
20:07 mrtrosen
does anyone know the origins of the stuffed django-pony ?
20:07 mrtrosen
i want to get some small versions made up for the django store
20:08 jtauber
are you asking why the mascot is a pony?
20:08 mrtrosen
no
20:08 mrtrosen
i'm asking where can I get some made to sell on the django store i'm making
20:09 mrtrosen
20:09 jtauber
you'd probably want to have them made based on the "real" pony: http://djangopony.com/
20:31 deepthawtz
Pinax sprinters interested in a mission to: http://www.brickstorepub.com/ for dinner/drinks tonight? I'll buy the first round. I can probably arrange transportation.
21:06 deepthawtz
great! we're all agreed then!
21:45 justquick
hey all, ive been working on an opensource activity stream application that we will be using in an upcoming project and might even get pinax to include it: http://github.com/justquick/django-activity-stream
21:46 justquick
mrtrosen: this will be a required app for our pinax project
21:47 mrtrosen
fantastic
21:47 justquick
(one of the unittest is a game scenario for hvz)
21:48 aroy
jtauber: my gradient strip blog post - http://audreyr.posterous.com/making-rgba-gradie...
21:54 jtauber
kwadrat: value for setting: http://code.pinaxproject.com/paste/BVMI/