Hi,
I am using internationalization on my project. Recently I found out
that output from date filter is not in english. The point is, that I
use this to construct pubDate for my rss, like this:
{{ post.date|date:"D, d M Y H:i:s" }} GMT
and i18n just screws things up here. Is there any proper (n
That's what I was looking for. Thank you!
On Jun 8, 8:14 pm, "Adi J. Sieker" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Armandas wrote:
> > Hi, I have this issue about some variables that should be available in
> > templates, no matter which view is called.
Hi, I have this issue about some variables that should be available in
templates, no matter which view is called. So far I could only think
of making a custom function, that would add these variables like so:
def render(request, template, context):
#variables that should be allways available
client id
> passed to the templatetag.
>
> Try the following : {% url blogapp.posts_by_tag 'mytag' %}
>
> On Jun 5, 8:40 pm, Armandas <[EMAIL PROTECTED]> wrote:
>
> > Hi, I have problems making {% url %} work.
>
> > I have this urls.py file in my project
p_name.urls'))
then in a template you can create a link for a certain client like
this::
{% url app_name.client client.id %}
The URL will look like ``/clients/client/123/``.
On 5 Jun, 20:09, "Bruno Tikami" <[EMAIL PROTECTED]> wrote:
> Armandas,
>
&g
Hi, I have problems making {% url %} work.
I have this urls.py file in my project directory:
from django.conf.urls.defaults import *
urlpatterns = patterns('root',
(r'^blog/', include('blogapp.urls')),
(r'^admin/', include('django.contrib.admin.urls')),
)
then in my applicatoion folder,
6 matches
Mail list logo