Re: 20 minute wiki, sortof.

2005-11-21 Thread GrumpySimon
Excellent work David - I was tossing up between Django and Turbogears for a few weeks before coming down on the Django side. Interesting to see the differences between the two frameworks ( & I think the Django-folks should chat to the Turbogears people too ). Ian, etc: I've been slowly building a

Re: 20 minute wiki, sortof.

2005-11-20 Thread Robert Wittams
Simon Willison wrote: > > > On 18 Nov 2005, at 15:26, Robert Wittams wrote: > >> Hm, maybe when DEBUG is on, CommonMiddleware should put up an >> interstitial page to tell the developer what is happening? It does seem >> to bite a lot of people. > > > Alternatively, we could just have Common

Re: 20 minute wiki, sortof.

2005-11-20 Thread David Ascher
On 11/20/05, Ian Holsman <[EMAIL PROTECTED]> wrote: hi David.do you have a SVN url?I'd love to replace moinmoin with a django wiki (i don't need muchfrom a wiki, so even a 20 minute one might be ok ;-)Uh, my code is currently at http://da.textdriven.com/svn/sydney/trunk/wiki/, but I can guarantee

Re: 20 minute wiki, sortof.

2005-11-20 Thread Ian Holsman
hi David. do you have a SVN url? I'd love to replace moinmoin with a django wiki (i don't need much from a wiki, so even a 20 minute one might be ok ;-) regards Ian On 11/18/05, David Ascher <[EMAIL PROTECTED]> wrote: > After watching the TurboGears 20 minute wiki screencast today, I figured I'd

Re: 20 minute wiki, sortof.

2005-11-18 Thread Waylan Limberg
> > That's awesome! Thanks for sharing. That does a good job, for me at > least, showing off a lot of the little nicities django has to offer, > like the generic view to do the page list, and the template filters. > You should write this up and make a movie out of it! :-) > > Bryan > I agree. To

Re: 20 minute wiki, sortof.

2005-11-18 Thread David Ascher
On 11/18/05, Simon Willison <[EMAIL PROTECTED]> wrote: Alternatively, we could just have CommonMiddleware throw a deliberateserver error if a POST is made to a IRL that doesn't have a trailingslash. That should make things abundantly clear :) POSTing to a URLthat CommonMiddleware wants to redirect

Re: 20 minute wiki, sortof.

2005-11-18 Thread Simon Willison
On 18 Nov 2005, at 15:26, Robert Wittams wrote: Hm, maybe when DEBUG is on, CommonMiddleware should put up an interstitial page to tell the developer what is happening? It does seem to bite a lot of people. Alternatively, we could just have CommonMiddleware throw a deliberate server err

Re: 20 minute wiki, sortof.

2005-11-18 Thread Robert Wittams
David Ascher wrote: > Stumbling blocks: > * figuring out that I had to do "import > django.contrib.markup.templatetags.markup" to get the markup filters > registered was harder than it should have been. Did {% load markup %} not work? Maybe this tag needs to be pointed out more prominently - it is

Re: 20 minute wiki, sortof.

2005-11-18 Thread Jacob Kaplan-Moss
On Nov 18, 2005, at 3:12 AM, David Ascher wrote: After watching the TurboGears 20 minute wiki screencast today, I figured I'd try to build the equivalent code in Django to see what it's like. Very cool -- I'm glad you had fun! Stumbling blocks: * figuring out that I had to do "import djang

Re: 20 minute wiki, sortof.

2005-11-18 Thread Bryan Murdock
On 11/18/05, David Ascher <[EMAIL PROTECTED]> wrote: > After watching the TurboGears 20 minute wiki screencast today, I figured I'd > try to build the equivalent code in Django to see what it's like. > > It took me more than 20 minutes, but since this is my first non-tutorial > Django app, I'm ok

Re: 20 minute wiki, sortof.

2005-11-18 Thread Simon Willison
On 18 Nov 2005, at 11:59, hugo wrote: (I think this static view should be listed more prominently in the documentation and tutorial, even though it's not meant to be used for production use - the how-to-serve-static-files question is quite common with newbies, and all of them want to write

Re: 20 minute wiki, sortof.

2005-11-18 Thread hugo
> * I was stumped by the fact that I had to setup another web server to serve >static files. It'd be nice if it was possible to serve static files with the >development server. I'd consider sending in a patch if someone could throw >suggestions my way on what approach would work best (or maybe it

Re: 20 minute wiki, sortof.

2005-11-18 Thread Simon Willison
On 18 Nov 2005, at 09:12, David Ascher wrote: Specifically, I'd love feedback on the views ( http:// da.textdriven.com:8027/sydney/file/trunk/wiki/apps/pages/views.py) and the template ( http://da.textdriven.com:8027/sydney/file/trunk/ wiki/templates/pages/page.html You should do this in

Re: 20 minute wiki, sortof.

2005-11-18 Thread Kenneth Gonsalves
On Friday 18 Nov 2005 2:42 pm, David Ascher wrote: > and the template ( > http://da.textdriven.com:8027/sydney/file/trunk/wiki/templates/pages/ >page.html). where is the base template? -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

20 minute wiki, sortof.

2005-11-18 Thread David Ascher
After watching the TurboGears 20 minute wiki screencast today, I figured I'd try to build the equivalent code in Django to see what it's like.It took me more than 20 minutes, but since this is my first non-tutorial Django app, I'm ok with that. If anyone is interested, I've put it up at: http://da.