Looking at it objectively I'm on the fence. Angular's $http is easily
configurable at the provider level and I feel like the onus is on any
front-end tool to be flexible enough to work with different servers. At the
same time if I needed the same code to talk to Django, Flask, and Node then
I would
First, I would recommend you try this with Django 1.6 - the ORM performance
improvements are dramatic!
Secondly, your own tests show that raw SQL to MySQL takes 10 times as long
as Postgres _through_ the ORM... from which it would be reasonable to
conclude that the problem is not the ORM... but si
Hi,
Can anyone help with figuring out why basic select queries using the
Django ORM against a MySQL database vs a postgres database are 40x as slow?
More info here: https://dpaste.de/04xz. I am using Django debug toolbar to
measure as well as a management script to just do simple timings.
Us
I've been using AngularJS with Django, but I have to override the default
CSRF cookie/header values in AngularJS since only one of the values (the
cookie name) can be overridden in Django.
This is a humble request to add a setting for the CSRF header name so that
I can maintain it as my "Angula
Hi,
Currently, the ADMIN_FOR settings is rather obscure and only used by the
admindocs contrib app to document stuff for other sites.
https://docs.djangoproject.com/en/dev/ref/settings/#admin-for
When working on admindocs and notably on decoupling contrib.sites and
contrib.admindocs with Bouke
I had the same confusion that you seem to have. There is a difference
between application namespace and instance namespace. Because usually you
only have one instance of each of the installed apps, you don't need to
pass `current_app=mycoolappname_instanceX`.
In the case of multiple admin insta
Hmm, I still find it confusing. I have used namespaced urls when making a
reusable app, by using reverse(':"), but that does
enforce someone to use the correct application namespace when including my
app. I think this look more logical than prefixing all my urlnames with
'_'. Is this the right usag
>
> On Thursday, November 14, 2013 12:55:32 PM UTC-3, Amirouche Boubekki wrote:
>>
>>
>> 2013/11/14 Florian Apolloner
>>
>>> We might have to fix the docs there :)
>>>
>>
>> It's was fixed somewhat [1]. ...
>>
>
>
I think Florian refers to other part, which is indeed wrong. I just
submitted