Although I'm not a Django developer I'd like to make some suggestion about
intro tutorial (part 1).
Is it possible to place some reference to "Deploying Django" site, in or
blow the "development server" section in this intro tutorial?
As a regular Django (and other web frameworks) user I'm really
bump
On 09/28/2011 12:52 AM, Jonas H. wrote:
Hallöchen,
some non-relational databases (e.g. MongoDB) have support for
arbitrarily nested objects. To make queries that "reach" into these
sub-objects, the Django-nonrel developers find it appealing to use JOIN
syntax. For instance, if you had this
On Wed, Oct 19, 2011 at 7:20 PM, Wilfred Hughes
wrote:
> 1. Can we provide an example of a pattern containing "|" that doesn't
> work? I've successfully reversed the pattern r'^fruit/(bananas|apples)
> $' above.
Any regexp with alternation that is not part of a captured parameter:
url(r'^homepag
I spent the better part of yesterday mucking around in the dregs of Django's
cache middleware and related modules, and in doing so I've come to the
conclusion that, due to an accumulation of hinderances and minor bugs, the
per-site and per-view caching mechanism are effectively broken for many
On Thu, Oct 20, 2011 at 7:45 AM, Jim Dalton wrote:
> There
> is still an exceptionally narrow set of circumstances that would allow me to
> serve a single cached page to all anonymous visitors to my site: namely, I
> can't touch request.user and I can't use CSRF.
This problem is inherent to page
On Oct 20, 2011, at 10:26 AM, Niran Babalola wrote:
> This problem is inherent to page caching. Workarounds to avoid varying
> by cookie for anonymous users are conceptually incorrect. If a single
> URL can give different responses depending on who's viewing it, then
> it varies by cookie. Prevent
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Aymeric,
On 10/19/2011 01:07 AM, Aymeric Augustin wrote:
> Collecting static files and putting media uploads in the "project
> directory" (whatever that means) isn't really a best practice. In
> production, the code area should be read-only for the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/19/2011 01:07 PM, Gabriel Hurley wrote:
> I think there is sufficient interest in the idea of a "how to organize
> your Django project" page in the documentation that it would be worth
> beginning work on a patch for one, much in the way that the
On 20 oct. 2011, at 22:22, Carl Meyer wrote:
>> In order to make deployment easier, I also recommend putting
>> site-wide templates and templatetags in an application, and keeping
>> TEMPLATE_DIRS empty, but that's a personal preference.
>
> Just out of curiosity, why would you say it makes deplo
Hi...
For PyLucid i made a simple cache middleware [1] simmilar to Django per-site
cache middleware [2]. But i doesn't vary on Cookies and don't cache cookies. I
simply cache only the response content.
Of course: This doesn't solve the problem if "csrfmiddlewaretoken" in content.
Here some p
I've run into a bug that is exposed when using defer() or only() with
select_related(). A couple others have come across it, and there is an
existing ticket.
Exceptions appear to be silenced somewhere under normal circumstances
when evaluating `queryset` objects, which made it difficult to track
d
On Thu, Oct 20, 2011 at 3:05 PM, Mateusz Marzantowicz
wrote:
> Although I'm not a Django developer I'd like to make some suggestion about
> intro tutorial (part 1).
>
> Is it possible to place some reference to "Deploying Django" site, in or
> blow the "development server" section in this intro tu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi Jim,
This is a really useful summary of the current state of things, thanks
for putting it together.
Re the anonymous/authenticated issue, CSRF token, and Google Analytics
cookies, it all boils down to the same root issue. And Niran is right,
what
13 matches
Mail list logo