I've always been a fan of ASmallOrange (http://www.asmallorange.com/)
- I am unsure if these libraries come preinstalled on the shared
hosting, but you can always install them yourself (via SSH) or submit
a trouble ticket.
ASO's support is top-notch. Virtually every request I have made has
been s
ote that SQLForm does all - sets up the required form content (business
> logic) to pass on to the view to render, sets up validation (business
> logic), and more...
>
> On Sun, Mar 15, 2009 at 11:58 AM, Michael Wales wrote:
>
>
>
> > Does web2py handle file
Does web2py handle file uploads when not using SQLFORM? I submit the
form, the request.vars.file variable contains the original filename of
the file, but nothing gets placed in the uploads directory.
I guess my question is - I want to handle the file upload, movement to
a directory, and database
Certificate is invalid - can eventually get to the site, but requires
some manual labor in Firefox.
On Mar 12, 7:35 am, Jonathan Benn wrote:
> Hi all,
>
> The web2py documentation wiki is now ready to go. So if you're
> interested in helping to document web2py's new features, or if you're
> a fe
The main domain will always open default/index unless you use some
form of rewrite. mod_rewrite, in Apache, is the preferred method but
web2py does offer a routes.py file in its root directory which will
allow you to point root to any of your applications.
On Mar 12, 8:54 am, Jurgis Pralgauskis
ings within are). When a string is dispalyed {{=A(...).xml()}} it
> is escaped, unless marked up accordingly {{=XML(A(...).xml())}}.
>
> Hope this helps
>
> On Mar 11, 10:39 am, Michael Wales wrote:
>
> > I have the following function in a module - this function performs a
&
I have the following function in a module - this function performs a
Regex search and attempts to replace matches with a link (generated
with the A() helper). The regex and replacement is working correctly -
if I change the value of the replace variable to something other than
the A() helper, it w
You are missing the closing apostrophe for the function parameter of
the URL() method - interesting though, since I just reported a bug
that completely locked up the server when the same thing occurs. Are
you on Windows?
On Mar 10, 2:53 pm, martin wrote:
> here is the spelled out stuff
>
> Ticke
01 pm, Michael Wales wrote:
> Changing the - to _ inroutes.py(and of course, altering the data in
> the table, to correspond) still results in an "invalid function"
> error.
>
> I want to say myroutes.pyisn't being seen/used at all! For instance,
> routes_out doesn
self,*components,**attributes):
> self.components,self.attributes=components,attributes
> def xml(self): return serial representation
>
> On Mar 9, 6:07 pm, Michael Wales wrote:
>
> > What is the standard way to go about creating your ownviewhelpers? I
> > would like t
is that web2py does not '-' in URL and replaces
> them with '_'. the replacement should happen after the URL mapping and
> before your action is called. Your actions sees "quake_like" instead
> of "quake-live". Does this help?
>
> Massimo
>
ontroller contains an action
>
> def view():
>
>
> which parses "quake-live" from request.args[0]
>
> Is this really what your app does? If not, how is the action called?
>
> On Mar 10, 7:56 am, Michael Wales wrote:
>
> > No luck - I'
wrote:
> I think the problem is that - musy be escaped \-
> You do not need the .*:
>
> On Mar 9, 7:00 pm, Michael Wales wrote:
>
> > I've created aroutes.pywith the following (yes, these will become
> > RegEx, but I am just trying to get it to work at this point):
I've created a routes.py with the following (yes, these will become
RegEx, but I am just trying to get it to work at this point):
routes_in = (('.*:/shooterhero/games/quake-live', '/shooterhero/games/
view/quake-live'))
My thinking is, if I link to /shooterhero/games/quake-live/ it will
send thi
What is the standard way to go about creating your own view helpers? I
would like to wrap a content area within a word_limiter() method but
not sure what the community standard practice is in accomplishing
this.
def word_limiter(content, limit = 100, suffix = '...'):
if len(content) <= limit:
If the file/function parameter of a URL() statement within the view is
missing its final quote, the Win32 service will crash - no user
friendly error message is returned to the user.
To reproduce:
{{= URL(r = request, c = 'static', f = 'home.png }}
Recommend a regular expression to confirm all s
16 matches
Mail list logo