dholbach | good morning | 06:30 |
---|---|---|
dholbach | mhall119: heya - I think I can mark "make Ubuntu base app happen first" as done in https://blueprints.launchpad.net/ubuntu/+spec/ubuntutheproject-community-n-halloffame-rewrite? :) | 09:11 |
Ronnie | dholbach: is there anything i can do for halloffame? | 09:20 |
dholbach | Ronnie, yeah, sure - the idea was to first get the ubuntu django foundations sorted out, then settle on the models and then work through the bunch of bugs that are already filed for it | 09:21 |
dholbach | https://bugs.launchpad.net/hall-of-fame (it's not that many bugs) | 09:22 |
dholbach | https://wiki.ubuntu.com/Spec/HallOfFameRewrite is the spec for it | 09:22 |
Ronnie | dholbach: ok, ill have a look this week | 09:23 |
dholbach | sweet | 09:23 |
* dholbach hugs Ronnie | 09:23 | |
czajkowski | My talk for FOSDEM got accepted :D | 09:29 |
YoBoY | czajkowski: great :D | 09:35 |
=== dholbach_ is now known as dholbach | ||
=== dholbach_ is now known as dholbach | ||
mhall119_ | dholbach: I'm not done with the base app | 13:01 |
mhall119_ | I've just gotten it started | 13:02 |
mhall119_ | but bzr_apps was probably the most important piece | 13:02 |
dholbach | mhall119_, what do you think is missing from it? | 13:03 |
mhall119_ | the sub-apps needs more cleanup | 13:20 |
mhall119_ | to remove the ld specific bits | 13:20 |
mhall119_ | I also want to add test cases to all of them, but that's not really necessary for HOF | 13:21 |
=== mhall119_ is now known as mhall119 | ||
dholbach | mhall119, alright - just wanted to know what's going on right now, since Ronnie asked about the HoF | 13:39 |
Ronnie | mhall119: d oyou have any toughts about the user model in django foundations. how to add fields, for modules to the user? | 13:56 |
Ronnie | im planning to create a 'supportmap' app. but the users need the latitude and longitude | 13:57 |
mhall119 | Ronnie: for now we can add generic fields to the models we have, and work our way towards a usable 1.0 release | 15:08 |
mhall119 | after that, you'd either sub-class in your own apps, or we'd work new generic fields into the foundations apps on a 2.0 branch | 15:08 |
mhall119 | though I'm entertaining the idea of making all the foundation models abstract | 15:09 |
mhall119 | so you'd be forced to subclass them | 15:10 |
mhall119 | but I'm not sure there's any real benefit to that | 15:10 |
nigelb | mhall119: hi, do you have a min to help me understand how to calculate locla time in summit? | 15:13 |
nigelb | *local | 15:14 |
mhall119 | nigelb: sure | 15:15 |
nigelb | ok, right now I'm taking a datetime.date.today() which is wrong. | 15:15 |
nigelb | how do I account for the local tz? | 15:16 |
mhall119 | nigelb: look at LD's venue model | 15:17 |
mhall119 | I usesd the pytz module | 15:17 |
dholbach | datetime.date will always just give you a date, not a time | 15:17 |
nigelb | dholbach: I forget, I wanted date :) | 15:17 |
nigelb | but the time influences date | 15:17 |
nigelb | I'll just show what I did. | 15:18 |
mhall119 | nigelb: specifically the Venue.fromlocaltime and Venue.tolocaltime | 15:18 |
nigelb | https://code.launchpad.net/~nigelbabu/summit/fix-today | 15:18 |
mhall119 | you'll see how I use a timezone string to convert the datetimes | 15:18 |
nigelb | mhall119: but the question is if I get access to this in the urls.py file. | 15:19 |
mhall119 | why would you need it in urls.py? | 15:20 |
nigelb | \/today | 15:20 |
nigelb | err, to do the /today thing | 15:21 |
nigelb | I wanted to figure out the date in the urls.py and call the appropriate date's view | 15:21 |
nigelb | is there an easier way to do this? | 15:21 |
mhall119 | yeah, just do it in a "today" view | 15:22 |
mhall119 | inside that, you can call other view functions | 15:22 |
nigelb | aah. | 15:22 |
nigelb | how do I call other view functions? | 15:23 |
nigelb | my try sorta failed :D | 15:23 |
mhall119 | just like you call any other function | 15:23 |
mhall119 | and return it's return value | 15:23 |
nigelb | I got an error thrown up when I did that. | 15:23 |
mhall119 | def today_view(request): | 15:23 |
nigelb | well, since you're here, I guess you can debug that :D | 15:23 |
mhall119 | return other_view(request) | 15:23 |
mhall119 | in order to use (r'^(?P<summit_name>[\w-]+)/today$', 'by_date', {'date': date.today()}), | 15:25 |
mhall119 | you'd need 'date' to be a string representation, not a datetime object | 15:25 |
nigelb | isn't it a string representation already? | 15:26 |
mhall119 | date.today() returns a date object | 15:27 |
mhall119 | you need a string in "%Y-%m-%d" | 15:27 |
nigelb | doh. | 15:27 |
nigelb | mhall119: what does __all__ bit do? | 15:32 |
mhall119 | where? | 15:38 |
nigelb | mhall119: let me get you the line number | 15:49 |
nigelb | mhall119: http://bazaar.launchpad.net/~summit-hackers/summit/trunk/annotate/head%3A/summit/schedule/views.py#L36 | 15:50 |
TrickyJ | Hi all | 15:53 |
nigelb | no bother, I figured it out. | 15:53 |
=== dholbach_ is now known as dholbach | ||
TrickyJ | Ronnie: wassup buddy ;) | 16:27 |
Ronnie | cjohnston, mhall119, where can i find the code for HOF? | 19:41 |
daker | Ronnie, how can i see the events map ? | 20:09 |
Ronnie | daker: on the global events page and the add venue | 20:10 |
daker | Ronnie, the map still does not supply the long/lat for me | 20:28 |
Ronnie | daker: can you add a marker to the map on the add venue page? | 20:29 |
daker | Ronnie, yes i can | 20:29 |
Ronnie | daker: do you have firebug installed? | 20:29 |
daker | Ronnie, no i use Chromium | 20:30 |
Ronnie | there is also a firebug for chromium. ill have a look here at chrome | 20:31 |
daker | Ronnie, what do yo want exactly ? | 20:31 |
Ronnie | daker: if it works here in chromium | 20:32 |
Ronnie | daker: it even wont work in ff anymore | 20:33 |
daker | hmm | 20:33 |
daker | ツ | 20:33 |
Ronnie | daker, almost looks like the location API of google maps has changed. ill have a new push, it should work now | 20:49 |
daker | ok | 20:50 |
Ronnie | check both setting and moving maker, and input an adress | 20:50 |
Ronnie | both should work | 20:50 |
subausub | I'm looking for a LoCo in Austin Texas, Does one exist? | 20:56 |
pleia2 | subausub: https://wiki.ubuntu.com/TexasTeam has links to all the texas subteams :) | 20:58 |
subausub | thanks, that's what I was looking for. | 20:58 |
daker | Ronnie, when i click/DND the marker it should display the long/lat ? | 21:04 |
Ronnie | daker: within the form, ye | 21:04 |
daker | Ronnie, is it working you ? | 21:06 |
Ronnie | yes, ill check chromuim to be sure | 21:07 |
Ronnie | daker: works perfect, both chr, ff | 21:07 |
=== JanC_ is now known as JanC | ||
cjohnston | Ronnie: for the current HoF or the new django one? | 21:20 |
Ronnie | cjohnston: django | 21:21 |
cjohnston | it doesnt exist yet | 21:21 |
Ronnie | ah | 21:21 |
daker | Ronnie, it does not work for me | 21:25 |
daker | maybe cjohnston can test it | 21:25 |
Ronnie | cjohnston: can you test it? | 21:25 |
Ronnie | https://bugs.launchpad.net/loco-directory/+bug/570613 | 21:25 |
ubot4` | Launchpad bug 570613 in loco-directory "Show map of events (affects: 9) (heat: 38)" [High,In progress] | 21:25 |
daker | Ronnie, http://i.imgur.com/P5t8n.png | 21:26 |
daker | the marker is there but there is no long/lat | 21:27 |
Ronnie | daker, when did you last update the branch? | 21:27 |
daker | Ronnie, rev 352 | 21:28 |
cjohnston | not on my current conenction.. itd take all week | 21:31 |
Ronnie | daker: thats the good revision. ill try to branch a new one and test | 21:31 |
daker | ok | 21:31 |
cjohnston | i saw mhall119 was back earlier! | 21:32 |
cjohnston | yay | 21:32 |
Ronnie | daker: did you restart the django runserver? | 21:34 |
daker | yes ツ | 21:34 |
Ronnie | hmm, i create a new branch, did a sync, migrate and init-ld. it just works here | 21:35 |
Ronnie | could it be a jquery version problem? | 21:35 |
Ronnie | daker: can you install firebug in your chromium or look in the errorconsole for error messages? | 21:36 |
daker | ok i'll retry with a new branch | 21:36 |
Ronnie | cjohnston, daker: im starting to create a django supportmap app for 'django-foundations'. currently i have in the model the latitude,longitude,is_support,has_cds you you have more ideas for a nice support map ? | 21:38 |
Ronnie | email_visible? | 21:38 |
cjohnston | im not sure what a spportmap is | 21:39 |
daker | Ronnie, http://pastebin.com/1LnBkEDH | 21:40 |
Ronnie | cjohnston: the dutch version of a supportmap: http://kaart.ubuntu-nl.org/ | 21:41 |
Ronnie | here users can find 'experienced' ubuntu users in the neighbourhood, to get cd's, get support@home and ask questions | 21:41 |
Ronnie | daker: cant you seen more. it looks like half the message | 21:41 |
daker | Ronnie, http://i.imgur.com/5sBrz.png | 21:42 |
Ronnie | daker: very strange error | 21:44 |
Ronnie | looks like the google maps init function adds aditional script, but fails | 21:44 |
daker | Ronnie, note that not a error it's just a warning | 21:44 |
daker | an* | 21:45 |
Ronnie | hmm | 21:45 |
Ronnie | daker, can you debug the script (config-button -> tools -> developer tools -> tab 'scripts' -> script: maps.js -> click the linenumber 185) | 21:50 |
Ronnie | then refresh the page and click on the map | 21:50 |
daker | i am using the chromium debugger | 21:54 |
daker | Ronnie, bug 692734 fixed ? | 21:58 |
ubot4` | Launchpad bug 692734 in loco-directory "Venue objects when created with forced id, gives an error (affects: 1) (heat: 5)" [Undecided,In progress] https://launchpad.net/bugs/692734 | 21:58 |
Ronnie | daker: it was fixed in import-live-date branch i thought | 21:59 |
daker | ok | 22:00 |
daker | Ronnie, we are making a good progress, we have fixed 15 bugs already | 22:04 |
Ronnie | wow, statistics always makes me happy | 22:05 |
daker | https://launchpad.net/loco-directory/+milestone/0.2.22 | 22:05 |
Ronnie | daker, any luck with the maps code? | 22:25 |
daker | no | 22:25 |
daker | i'll try tomorrow at work (using maverick) | 22:26 |
Ronnie | oke, thx | 22:26 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!