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