-
It really bugs me having these packging files taking up everyone's mental space in the root directory. Tempted to instead write and delete them as part of `setup.py publish` command.
-
Guys, i will try explain the bug (sorry my english).
I using Django 1.7 with cache, and when i use @cache decorator on view, raise the NoReverseMatch exception.
I'm beginner, but i tried debug restf…
-
sessionid in Django is HTTP_only, and recommend to be HTTP_only
And default authenticate backend of Django/Restframework is SESSION BACKEND, that means request must include seesionid(stored in cookie…
-
Just been playing with this using Pyramid, and mildly following the tutorial.
I am hitting an issue with an error:
```
the JSON object must be str, not 'bytes'
```
I believe this is a python 2 vs …
-
I'm using django-taggit with autocomplete light through the admin interface. Everything works fine when I'm adding a new record. When I go to edit an existing record I get:
Error during template rend…
-
Django 1.6 warns [rest_mode.py](/yourlabs/django-autocomplete-light/blob/master/autocomplete_light/autocomplete/rest_model.py#L6) `from django.utils import simplejson as json`
-
It seems that the JavaScript stuff is not working well together with HTTPS.
-
- [ ] implement basic controller for different models
- [ ] implement controller logic to send back json objects
xihan updated
11 years ago
-
For a /model/pk/$ route:
If pk is an int, and you try to hit:
`/mymodel/banana`
instead of:
`/mymodel/123`,
you'll get a ValueError: invalid literal for int() with base 10: 'banana'.
```
...
Fil…
-
While playing with Django Rest Framework and the `generics.ListAPIView`, I noticed the returning JSON string was not escaped which meant `` tags were being executed on my page when displaying the resu…