On Mar 22, 2011, at 11:12 AM, pbreit wrote:
> Would there be any way to support something like:
>
> /$user/app/controller/function
>
> Where $user is available to controllers as some sort of arg?
>
> I could see your idea about re-formatting the URL to:
> /app/controller/function/$user but am
The former is semantically more correct;
$user/app/controller/etc...
It seems the domain is obviously the root of any app; then the "user"
selected name should be the next logical level; then any functions that
user has access to should be listed;
On 3/22/11 2:12 PM, pbreit wrote:
Would t
Would there be any way to support something like:
/$user/app/controller/function
Where $user is available to controllers as some sort of arg?
I could see your idea about re-formatting the URL to:
/app/controller/function/$user but am wondering if that will be hard to
manage?
On Mar 2, 2011, at 11:10 PM, Johann Spies wrote:
> On 3 March 2011 08:39, Jonathan Lundell wrote:
>
> The fix (until the next version, anyway) is to change calls like
> URL('static/image', 'file') to URL('static', 'image/file'). The reason is
> that 'static' is treated as the name of the contro
On 3 March 2011 08:39, Jonathan Lundell wrote:
>
> The fix (until the next version, anyway) is to change calls like
> URL('static/image', 'file') to URL('static', 'image/file'). The reason is
> that 'static' is treated as the name of the controller directory, and
> 'static/image' isn't recognized
On Mar 2, 2011, at 10:24 PM, Johann Spies wrote:
> No. It is a production server so I do not want to experiment a lot. When I
> remove routes.py the server serves the pictures in the subdirectory
> /static/images/ but when I use routes.py the images have to be in /static.
> So I just moved t
Hallo Jonathan,
On 2 March 2011 01:42, Jonathan Lundell wrote:
> On Feb 17, 2011, at 10:37 AM, Johann Spies wrote:
>
> src="/kb/static/DSC_1403.png" (I moved the image from /kb/static/images to
> /kb/static - now it works.
>
> I would still like to know how to get imgages in static/images to w
7 matches
Mail list logo