On May 24, 2016 3:32 PM, "Larry Martell" wrote:
>
> I have 1 page in my app where I want to override the app's date
> format. I tried assigning to settings.DATE_FORMAT in the view but that
Django warns that settings should not be modified at runtime, which is
probably why it had no effect:
https
On Wed, May 25, 2016 at 3:58 AM, James Schneider
wrote:
>
> On May 24, 2016 3:32 PM, "Larry Martell" wrote:
>>
>> I have 1 page in my app where I want to override the app's date
>> format. I tried assigning to settings.DATE_FORMAT in the view but that
>
> Django warns that settings should not be
template tag loading are not inherited
On Tue, May 24, 2016 at 2:56 PM, Branko Zivanovic <
international11...@gmail.com> wrote:
> I'm not sure why I need to add following line *{% load staticfiles %} *in
> every single template file if there is inheritance.Can I avoid this somehow?
>
> --
> You
maybe you are using a version different from the documentation you are
reading
check the version you installed using 'pip freeze' or 'pip list'
On Mon, May 23, 2016 at 11:33 PM, david rodgers
wrote:
> Hello All,
>
> I am trying to use reportlab to generate pdfs from html. When I pip
> install r
We are both speaking as non-users of the OP's system. ;)
I agree that there are some use cases for keeping the first measurement IF
the actual date of measurement makes no difference at all. We have an app
like that, where we process real-time data and use a filter that only lets
a record thro
I am the OP. I was implementing what my customer asked for. But you
make a good point that they might want the latest data not the oldest.
I will suggest that to them. Thanks.
On Wed, May 25, 2016 at 9:29 AM, Derek wrote:
> We are both speaking as non-users of the OP's system. ;)
>
> I agree that
Hi all,
I currently have a set of models associated with my Django app, with the
database already containing data with respect to these tables (models).
What I have
=
class MyFunModel(models.Model):
my_foo_field =
What I am attempting to add
=
class MyAnother
what is the url template tag take a route name?
so far, error is Reverse for 'views.post_detail' with arguments '()' and
keyword arguments '{u'pk': ''}' not found. 0 pattern(s) tried: []
On Tuesday, May 24, 2016 at 9:07:25 PM UTC+8, ludovic coues wrote:
>
> It should work better this way:
> o
https://drive.google.com/file/d/0Bxs_ao6uuBDUQm5jOEdCOFowa0U/view?usp=sharing
On Tuesday, May 24, 2016 at 9:07:25 PM UTC+8, ludovic coues wrote:
>
> It should work better this way:
> onClick="window.location.href='{% url 'post_detail' pk=post.pk
> %}'">Save
>
> the url template tag take a rout
9 matches
Mail list logo