[00:29] <Amoz> cjohnston, have you worked with the django builtin auth stuff?
[01:11] <Ronnie> Amoz: maybe i can help
[01:36] <Amoz> Ronnie, I'm trying to do the usual session stuff, e.g. print "Logged in as $user"
[01:37] <cjohnston> Amoz: look in either website_base.html or base.html
[01:38] <cjohnston> i forget which
[01:40] <Amoz> ubuntu_website?
[01:40] <Amoz> or common?
[01:41] <Amoz> there it was
[01:41] <cjohnston> website_base is ubuntu_website
[01:41] <Amoz> common base.html
[01:41] <Amoz> thanks
[01:41] <cjohnston> base is common
[01:42] <Amoz> user.is_authenticated
[01:42] <Amoz> I love you cjohnston
[01:42] <Amoz> I've been trying to find this for... an hour or something
[01:42] <Amoz> the django docs aren't really explicit with that stuff
[01:42] <cjohnston> :-)
[01:42] <cjohnston> I've had a few beers
[01:43] <cjohnston> I may actually be helpful
[01:44] <Amoz> cjohnston, lol
[01:44] <Amoz> Ballmer peak
[01:45] <Amoz> http://xkcd.com/323/
[01:46] <cjohnston> very nice
[01:47] <Amoz> I'm playing around with django and bootstrap right now
[01:47] <cjohnston> Amoz: I think I got all the CSS done... I couldn't wait any longer..
[01:47] <cjohnston> summit.chrisjohnston.org
[01:48] <cjohnston> I need to get the new create meeting feature pushed for testing
[01:48] <cjohnston> then we can look at the other changes
[01:49] <Amoz> cjohnston, yeah what happened with imbrandon ?
[01:49] <cjohnston> he got busy
[01:50] <Amoz> oh
[01:50] <Amoz> anyway
[01:50] <Amoz> what code is merged there?
[01:50] <Amoz> the footer is weird
[01:51] <Amoz> probably a div missing or something
[01:51] <cjohnston> I agree..
[01:51] <cjohnston> care to look into it?
[01:51] <cjohnston> I'm working on my meeting stuff
[01:51] <Amoz> not now unfortunately
[01:51] <Amoz> it's almost 3AM here
[01:51] <cjohnston> ok
[01:51] <Amoz> I need to sleep ^^
[01:51] <cjohnston> sounds good
[01:52] <Amoz> did you merge my branch?
[01:52] <cjohnston> which branhc
[01:52] <cjohnston> branch
[01:52] <cjohnston> i merged your stuff in a couple times
[01:52] <Amoz> weird
[01:52] <cjohnston> so which commit i guess is the more correct question
[01:52] <Amoz> mine shouldn't have the weird footer afaik
[01:52] <cjohnston> it could be something I changed that reversed it
[01:53] <Amoz> cjohnston, http://amoz.dyndns.org:8080/uds-p/
[01:53] <cjohnston> ya.. i dont know what the difference is
[01:53] <cjohnston> and i need go get this meeting stuff pushed for testing
[01:53] <Amoz> okay
[01:53] <cjohnston> if you figure it out tomorrow, let me know and ill make the change
[01:54] <Amoz> yeah I'll try :)
[01:54] <cjohnston> ty
[01:54] <Amoz> gnite guys :)
[01:54] <cjohnston> g'nite
[15:03] <AlanBell> history |grep runserver
[15:03] <AlanBell> no, not this window :)
[15:11] <AlanBell> so remind me how we start summit these days? ./manage.py runserver ubuntusettings.py or something like that?
[15:13] <cjohnston> python manage.py runserver --settings ubuntu_setting
[15:13] <cjohnston> python manage.py runserver --settings ubuntu_settings
[15:16] <AlanBell> thanks
[15:16] <cjohnston> np
[15:16] <cjohnston> whatcha workin on AlanBell
[15:17] <AlanBell> etherpad lite
[15:17] <cjohnston> cool
[15:17] <AlanBell> bother, I think I broke my summit.db
[15:17] <cjohnston> one sec
[15:17] <cjohnston> http://ubuntuone.com/2xpQW5q06Yp26f47lboHmb
[15:19] <AlanBell> no such table: schedule_summit
[15:19] <cjohnston> migrate
[15:19] <cjohnston> ./manage.py migrate
[15:22] <AlanBell> hmm, list index out of range now, this is back where I was before
[15:23] <cjohnston> AlanBell: http://127.0.0.1:8000/admin
[15:23] <cjohnston> admin/password iirc
[15:23] <cjohnston> Click on "summit"
[15:23] <cjohnston> click on uds-p
[15:23] <cjohnston> For "sites" select summit.ubuntu.com
[15:24] <cjohnston> save
[15:24] <AlanBell> no such table: django_site
[15:24] <cjohnston> ./manage.py syncdb
[15:24] <cjohnston> ./manage.py migrate
[15:27] <AlanBell> http://alanbell.libertus.co.uk:8000/admin/
[15:31] <cjohnston> ./manage.py shell
[15:31] <cjohnston> from common import menu
[15:31] <AlanBell> ImportError: cannot import name menu
[15:33] <cjohnston> from common import Menu
[15:33] <cjohnston> Menu.objects.create(site_id=1, name='uds', slug='uds')
[15:33] <cjohnston> exit()
[15:34] <AlanBell> that doesn't work either :(
[15:34] <AlanBell> from common import <tab> returns
[15:34] <AlanBell> admin               forms               migrations          templatetags        utils
[15:34] <AlanBell> context_processors  management          models              tests               views
[15:34] <cjohnston> try from common.models import Menu
[15:35] <AlanBell> yup, that works
[15:42] <AlanBell> admin console works now, I think I can get the rest up soon
[15:51] <AlanBell> ok, it is up now, thanks cjohnston
[15:55] <cjohnston> np AlanBell
[15:56] <cjohnston> I clearly need to update my db
[15:56] <AlanBell> yeah, I think the installation instructions need a bit of a tweak, it doesn't mention the ubuntu_settings bit, just make run which doesn't work any more
[15:57] <nigelb> AlanBell: Please submit patch. Instructions are in docs folder.
[15:57] <AlanBell> but I have a container running now, so I am happy
[15:57] <nigelb> and they get rendred to summit.rtfd.org.
[15:58] <AlanBell> ooh, nice
[15:58] <AlanBell> oh, those are right
[15:59] <AlanBell> INSTALL and requirements.txt are wrong
[16:00] <nigelb> then add a note in install to look at summit.rtf.org
[16:00] <nigelb> and fix what needs fixing in requirements.txt
[16:00] <AlanBell> yeah, that sounds reasonable
[16:01] <nigelb> I've been liking readthedocs project for how nicely they render sphinx based documentation.
[16:02] <nigelb> also, readthedocs itself is built on django and is open source.
[16:20] <cjohnston> whats wrong in requirements.txt
[16:20] <cjohnston> INSTALL isnt actually wrong, but Make hasn't been updated to work with the new sites support
[16:32] <AlanBell> there might not be anything wrong in requirements.txt
[16:32] <nigelb> AlanBell: requirements.txt is not for humans.
[16:49] <AlanBell> hmm, wonder what that says about me
[17:14] <Amoz> AlanBell, hmm, you're not human?
[17:14] <AlanBell> *mostly* human
[17:14] <nigelb> he's half chicken :P
[17:14]  * nigelb runs
[17:14] <Amoz> half bell
[17:14] <Amoz> it seems
[17:15] <Amoz> okay, django drives me nuts
[17:15] <Amoz> ViewDoesNotExist at /calendar/
[17:15] <Amoz> Could not import workspaces.views. Error was: cannot import name HTMLCalendar
[17:16] <Amoz> I'm trying to make HTML cal stuff