Anyway I'd also like to add that having built my first real
application with Django I'm awestruck at how easy it is to use. I
spent more time picking colors that looked good together than I did
coding site logic. On top of that, the source of the package is easy
to read and which makes up for the
Right but I'm using the Django server included with the package for
development and Apache for another. So the root of my test server is /
mydjangosite, but for my deployment server its /~ryan/...etc..etc
I just put a LINK_PREFIX string in the top settings module and a
wrapper function like
I just make them all come from the root. Works no matter where it's
deployed:
Instead of "http://example.com/mydjangosite/manage/manage; I would
just do "/mydjangosite/manage/manage"
On Jun 27, 2:41 pm, Ryan K <[EMAIL PROTECTED]> wrote:
> What if I am using generic views?
>
> On Jun 27, 3:26 pm,
What if I am using generic views?
On Jun 27, 3:26 pm, Ryan K <[EMAIL PROTECTED]> wrote:
> Perfect. Thanks.
>
> On Jun 27, 12:40 pm, Thomas Steinacher <[EMAIL PROTECTED]> wrote:
>
> > Try the {% url %}
> > tag:http://www.djangoproject.com/documentation/templates/#url
>
> > tom
>
> > On Jun 27,
Perfect. Thanks.
On Jun 27, 12:40 pm, Thomas Steinacher <[EMAIL PROTECTED]> wrote:
> Try the {% url %}
> tag:http://www.djangoproject.com/documentation/templates/#url
>
> tom
>
> On Jun 27, 2007, at 6:33 PM, Ryan K wrote:
>
>
>
> > What is the best form of a link in my Django site's templates?
Try the {% url %} tag:
http://www.djangoproject.com/documentation/templates/#url
tom
On Jun 27, 2007, at 6:33 PM, Ryan K wrote:
>
> What is the best form of a link in my Django site's templates? For
> example, I have a base.html which serves as the base template for all
> others. It contains
What is the best form of a link in my Django site's templates? For
example, I have a base.html which serves as the base template for all
others. It contains links that are relative to the current directory
like Manage. However, when I am at a page like
7 matches
Mail list logo