Just a few notes:
Sphinx is not part of Trac.
Django uses Sphinx -- docs.djangoproject.com is a Sphinx site.
The organizational and cross-referencing capabilities of Sphinx
outshine any Wiki. Documentation organized by a wiki often becomes
jumbled and disorganized.
However, a wiki is a good
Hi Everyone,
I was following the thread on documentation and made a post there, but
it didn't show up so I'll start a thread here.
Django uses trac, but docs.djangoproject.com is not trac - it is a
Sphinx site.
Sphinx is much better than wiki's at organizing and cross referencing
documentation.
Here is the django documentation, in restructured text, with some
sphinx templates, in a svn repository, and referenced by trac:
http://code.djangoproject.com/browser/django/trunk/docs
On Feb 26, 7:03 pm, Greg Fuller wrote:
> Hi Everyone,
>
> I was following the thread on document
An important distinction:
1. http://docs.djangoproject.com is a Sphinx site.
2. http://code.djangoproject.com/browser/django/trunk/docs is the
sphinx documentation in an svn repository referenced through Trac.
It holds the restructured text and Sphinx templates.
HTH, Greg
On Feb 25, 9:00 am,
You've made some very good points.
Would the following make sense?
Use the wiki for the initial gathering of doc pages, then after the
first sphinx-based documentation is produced, just clean the wiki of
those pages. After that, just use the wiki for contributed recipes
and other pages, some
How can custom template tags be implemented in Web2py.
There are times when it is good to let the template designer "pull"
information into a template without having the model anticipate
everything in advance the template might need. I've used this pattern
a lot with php-smarty, django, expressi
How can custom template tags be implemented in Web2py.
There are times when it is good to let the template designer "pull"
information into a template without having the model anticipate
everything in advance the template might need. I've used this pattern
a lot with php-smarty, django, expressi
Oh my, I see you can put any python code in a template. I'm not used
to this flexibility (except for a little time with mako). Now I just
need to figure out scoping for the external functions I want to call.
On Feb 28, 6:26 pm, Greg Fuller wrote:
> How can custom template tags be imp
clude it {{include 'aux.html'}}
>
> You would then use it with {{link('http://www.web2py.com'}}
>
> Massimo
>
> On Feb 28, 9:26 pm, Greg Fuller wrote:
>
> > Oh my, I see you can put any python code in a template. I'm not used
> > to this flexibil
How can I render a different view than the view with the matching
controller name?
def index():
if condition:
# use default/index.html
return dict(message=T('Hello World'))
else:
# use default/alternate.html
??? return dict(message=T('Hello World'))
Thanks,
I installed it and gave it a quick look. Nice. This could be a really
productive way to start apps. Thanks for sharing this.
What needs to be done still?
--greg--
On Mar 1, 1:32 am, Alexandre Miguel de Andrade Souza
wrote:
> To easy of use and help in documentation, I start a kind of scaffol
Thanks for the suggestion, but I really don't want to do that if it's
the kind of redirection that makes a round trip through the client.
On Mar 1, 1:51 am, weheh wrote:
> I suppose you could always redirect.
--~--~-~--~~~---~--~~
You received this message because
Thanks Annet and Alexandre. What manual is this in?
On Mar 1, 2:20 am, Alexandre Miguel de Andrade Souza
wrote:
> this is correct.
>
> From the manual:
>
> • response.view: the name of the view template that must render the
> page. This is set by default to:
> 1 "%s/%s.html" % (request.control
Web2Py is fantastic for packaging your application into a trial
version that can just be downloaded, unpacked and run - without
dependencies. No other framework I'm aware of can do this.
The one snag is PIL. The applications I write usually require an
imaging library. I know that PIL is not p
is is not a straight NO. This is a NO for now and a call for
> comments.
>
> Massimo
>
> On Mar 1, 10:45 am, Greg Fuller wrote:
>
> > Web2Py is fantastic for packaging your application into a trial
> > version that can just be downloaded, unpacked and run - without
>
t; Nice, although I wish I understood the language.
>
> > On Mar 1, 5:58 am, 姚国荣 wrote:
> > >http://yao.appspot.com/init/default/showblogpost/3016
>
> > > 2009/3/1 Greg Fuller
>
> > > > Nice; thanks!
>
> > > > On Feb 28, 10:
I've only been hanging around here a short time, but this is not the
first time I've seen Massimo make a patch while the thread is still
fresh. Just skip the ticket why don't you. Impressive.
On Mar 1, 11:39 am, mdipierro wrote:
> Hi Boris,
>
> Your patch is in trunk with some minor modificat
O.K. I bought it. :)
On Mar 1, 2:40 am, Alexandre Andrade wrote:
> The oficial, sold at LuLu
>
> http://www.lulu.com/content/4968879
>
> worth the purchase to the basic. New tools and resources not included.
>
> 2009/3/1 Greg Fuller
>
>
>
>
>
> > Th
I've noticed a good number, and probably a sizable percentage, of
web2py applications are using PIL. Same with Django. I'm not sure
that's true of NumPy or any other external app. But I do see the
point.
On Mar 1, 1:54 pm, Markus Gritsch wrote:
> On Sun, Mar 1, 2009 at 6:
development support.
>
> On Sun, Mar 1, 2009 at 1:59 PM, Greg Fuller wrote:
>
> > I've noticed a good number, and probably a sizable percentage, of
> > web2py applications are using PIL. Same with Django. I'm not sure
> > that's true of NumPy or any oth
t; windows, it would be easier to use the import tools in python to get
> PIL, for example. But in linux distros almost always have packages to
> handle this stuff. You may get an uproar if you skipped the distros way
> of installing new python libraries.
> Regards,
> Jason
>
>
not sure what point is discussed in here. What's the advantage of
> including it in web2py if you can simply drop it in the modules
> folder?
>
> On Mar 1, 9:52 pm, Greg Fuller wrote:
>
> > You're right. I don't see this for production. But it would be nice
>
app needs PIL, it will check if it is there else call
> easy_install. It would work with every python module.
>
> If anybody could send me a patch or an example to make this work
> programmatically I will include it.
>
> Massimo
>
> On Mar 1, 3:08 pm, Greg Fuller wrote:
&
23 matches
Mail list logo