2008-6-16
| 17:45 | brosner | we have used nfa-fixed keyword to be tagged in the merge commit |
| 17:55 | jacobkm | mrts: what brosner said |
| 17:56 | mrts | right, already marked #565 as nfa-fixed |
| 17:56 | DjangoBot | |
| 17:56 | telenieko | RaceCondition: is #7141 ready with the latest patch? |
| 17:56 | DjangoBot | |
| 17:56 | mrts | telenieko: yeah, more or less |
| 17:56 | telenieko | Ok, committing it then ;) |
| 17:57 | mrts | (it actually needs minor stylistic improvements, but it's better to get it in) |
| 17:58 | telenieko | I knew that one... |
| 17:58 | telenieko | I can't edit global_settings.py xD |
| 18:00 | RaceCondition | mrts: what improvements do you have in mind? |
| 18:00 | telenieko | Any commiter around there please checkin the changes in global_setting.py from #7141 :o) |
| 18:00 | DjangoBot | |
| 18:01 | RaceCondition | I'm willing to make those improvements |
| 18:01 | mrts | RaceCondition räägime eraldi |
| 18:01 | RaceCondition | yeah, OK, let's talk in private |
| 18:01 | mrts | oops, sorry |
| 18:01 | mrts | I've forgot the IRC syntax |
| 18:02 | telenieko | Time to go home, see you later |
| 18:04 | deryck | Hi, all. |
| 18:06 | jacobkm | deryck: welcome :) |
| 18:06 | deryck | thanks! :) |
| 18:07 | mrts | jacobkm: there are several tickets related to model validation (#1021, #702), should we create a keyword for them? They can't be marked as duplicates of #6845 as they describe various corner cases that can be easily missed by model validation patch. |
| 18:07 | DjangoBot | |
| 18:07 | DjangoBot | |
| 18:07 | DjangoBot | |
| 18:08 | jacobkm | mrts: yeah, just wanna tag them "model-validation" or something? |
| 18:13 | cramm would love te see something like this but for the Django public life history: http://www.vimeo.com/1093745 | |
| 18:14 | Alex_Gaynor | cramm: Yeah, with a gigantic bubble floating around malcolm |
| 18:18 | brosner | cramm: kick ass link :) |
| 20:58 | SimonW | r.e. http://code.djangoproject.com/wiki/VersionOneRo... - I for one applaud the big ass-party |
| 21:01 | SimonW | I'm concerned about the many, many developers who have built existing applications against trunk and hence won't be able to easily upgrade to 1.0 due to backwards compatibility |
| 21:01 | SimonW | they kind of end up in limbo - they won't have a "supported version" that gets security updates etc |
| 21:08 | empty | SimonW: djangopeople? |
| 21:17 | SimonW | empty: djangopeople won't be at all hard to upgrade to 1.0 - in fact probably won't need any extra work above defining a couple of ModelAdmin classes |
| 21:18 | SimonW | I'm more worried about people who have done extensive customisation to the current admin |
| 21:18 | empty | SimonW: sorry I meant it's down. :) |
| 21:18 | SimonW | <fixing> |
| 21:18 | empty | SimonW: you're right though. |
| 21:19 | SimonW | something is not healthy about that server... |
| 21:21 | SimonW | Out of memory: kill process 15171 (mysqld) score 32239 or a child |
| 21:21 | jacobkm | SimonW: I'm planning on keeping the old admin around somewhere (as a branch or something) for people who need it to check out and use. No maintanance, obviously, but there's no real harm in offering "oldadmin" and "oldforms" to people who can't quite swing a full upgrade. |
| 21:21 | jacobkm | SimonW: yay OOM! |
| 21:21 | SimonW | force restart |
| 21:21 | empty | oh mysql there's the prob. :P |
| 21:22 | SimonW | I probably need to tweak it's settings a bit then |
| 21:22 | SimonW | jacobkm: I don't think oldadmin that will work though, as we'll have killed off all of the list_display etc. Model arguments |
| 21:22 | SimonW | hmm... actually no, the inner Admin class should still be fine |
| 21:23 | jacobkm | yeah, it'll just not do anything. |
| 21:23 | SimonW | but the nasty crufty admin-related arguments to things like CharField will break |
| 21:23 | SimonW | especially the inline ones |
| 21:23 | brosner | actually they are still lingering around. there are some kwargs that have been removed but not all |
| 21:24 | SimonW | actually that's something we've been talking about at work recently - it would be useful if there was a supported way to add arbitrary metadata to model fields |
| 21:24 | jacobkm | if someone cares enough to want oldadmin around, they can step up and make it work; otherwise I don't care all that much. |
| 21:24 | jacobkm | SimonW: oh, man, tell me about it... post1.0 it's gonna have to be, tho |
| 21:24 | jacobkm | For now field subclasses work OK. |
| 21:24 | SimonW | a model field metadata mechanism could be used to keep the current admin cruft arguments working |
| 21:25 | SimonW | tbh I have no idea if this would be a problem or not - need to ask people who have major dependency on existing admin + their customisations (if such people exist) |
| 21:25 | telenieko | good night ;) |
| 21:25 | SimonW | djangopeople is back up |
| 22:12 | Alex_Gaynor | brosner: Is there anything nows RFC about #6718 ? |
| 22:12 | DjangoBot | |
| 22:12 | Alex_Gaynor | not* |
| 22:13 | brosner | i rather spend some time about *why* this happening. i haven't done so yet |
| 22:13 | brosner | if someone knows or wants to spend that time for me. please do :) |
| 22:14 | Alex_Gaynor | I'll look through and see if it's a circular error as the report suggests, or an already registered issue |
| 22:14 | brosner | i think it is, but i want to see if there is a better fix |
| 22:14 | Alex_Gaynor | Is which? |
| 22:15 | brosner | the former |
| 22:19 | Alex_Gaynor | Yeah, it's a circular import issue |
| 22:20 | brosner | where does it start? |
| 22:22 | Alex_Gaynor | Here's the chain, admin site imports logout from views, views imports AuthenticationForm from forms, forms imports User from models, models imports admin.py, which imports admin |
| 22:22 | Alex_Gaynor | And the admin imports UserCreationForm(from forms) |
| 22:24 | [530]_ | any feedback on #6587 ? |
| 22:24 | DjangoBot | |
| 22:24 | brosner | its that dang admin view in views.py i bet |
| 22:25 | Alex_Gaynor | No, sites.py imports UserCreationForm at the top, which causes the problem I think |
| 22:25 | brosner | oh i see |
| 22:26 | brosner | then the patch there would be the most sensible |
| 22:26 | brosner | let me look real fast |
| 22:27 | brosner | Alex_Gaynor: it does? |
| 22:27 | brosner | oh authenticate and login? |
| 22:28 | Alex_Gaynor | Err, yeah , right |
| 22:28 | brosner | have you been able to reproduce it? |
| 22:28 | Alex_Gaynor | Whoops, admin.py imports the Form, my bad |
| 22:28 | Alex_Gaynor | The loop is actually exlusively within auth |
| 22:28 | Alex_Gaynor | forms imports model, imports admin, imports form |
| 22:28 | Alex_Gaynor has a headache | |
| 22:29 | brosner | haha |
| 22:30 | Alex_Gaynor | Ok, yeah, I'm right this time :D |
| 22:30 | brosner | ok yes |
| 22:30 | brosner | you are |
| 22:30 | brosner | :) |
| 22:30 | brosner | its either we do what the patch does or remove that models.py import |
| 22:31 | Alex_Gaynor | There was some discussion of having admin.py automatically get imported at runtime to avoid the user needing to do that, what happened with that? |
| 22:32 | brosner | it would be manual anyways |
| 22:34 | brosner | i am just going to fix it as is for now. |
| 22:34 | Alex_Gaynor | It seems we'll need to find a general convention for this, because it certainly isn't a single usecase scenario |
| 22:35 | brosner | Alex_Gaynor: maybe you were gone, but read the logs for this channel |