David Seddon
David Seddon
Hi, it's Django 1.3 I'm afraid. And your jQuery fix is included and running, and the token is being included in the headers. The trouble is that POST is failing...
Actually maybe the issue is not to do with the post being empty, but the Content Type: This is the dump of self at the point of the AttributeError (self.META['CONTENT_TYPE']...
Using Firefox 7.0.1 on Ubuntu. I've posted details about the ajax call on Stack Overflow, if that helps.
request on deletion (which doesn't work): http://dpaste.com/641300/ - taken from django debug screen request on uploading file (which does): http://dpaste.com/641302/ - just the request headers from firebug console I reckon...
Sorry about the delay. http://dpaste.com/hold/649324/
Ok, this is the dump of the request when I upload files: http://dpaste.com/hold/650551/ Note that the upload part does actually work, it's just the delete buttons.
Hi Stacey, Great question. The way I prevent circular dependencies is by writing [layers contracts](https://import-linter.readthedocs.io/en/stable/contract_types.html#layers). But that involves making a decision about how the dependencies should flow, which is ultimately...
Thanks for raising the issue! I'm not totally clear on what you are trying to restrict, could you give an example?
Interesting! I think there is a lot of mileage in the idea of private modules - in fact we use a (slightly different) convention at work where modules prefixed with...
Thanks for this - I hadn't come across INI file interpolation before. This seems like an elegant solution but I want to think about whether or not it adds unnecessary...