Hello everyone,
I have a problem when run createsuperuser.py command in python 3.4. How can
I solve it definitely?
Look the code:
https://gist.github.com/lucassimon/7837dce442e3a4a090ce4d155b4a2035
--
You received this message because you are subscribed to the Google Groups
"Django users" gr
, 22 de agosto de 2014 20h29min47s UTC-3, André Luiz escreveu:
>
> I did it two days ago rewriting the render_to_response method.
>
> for reference
> http://stackoverflow.com/questions/1628/send-a-file-through-django-class-based-views/16287950#16287950
>
>
> 2014-08-
Hello,
I see this tutorial [1] to control the response header and caching of pages
in django.
So I'm trying to enable this response header in a generic class DetailView.
I did a search and found this code [2] at the end of the page and also the
source code [3] of View.
But are confused and
Nginx.conf and gunicorn.conf are int this link [1].
And I use Django - 1.6.5
https://gist.github.com/lucassimon/0b982d228490bbd263ce
Em domingo, 6 de julho de 2014 21h39min28s UTC-3, Lucas Simon Rodrigues
Magalhaes escreveu:
>
>
>
> Hi,
>
> I has a problem when
Hi,
I has a problem when I access the admin url the nginx redirect my domain to
https://xxx.com.br/admin.
I can't fix this error, I try everything. So, How to disable it ?
Forbidden (403)
CSRF verification failed. Request aborted.
Help
Reason given for failure:
Referer checking faile
Hello,
I have a problem when rendering my admin after creating a custom user.
I followed the tutorial of Django [1] documentation and also Subclass
AbstractBaseUser section of the book Twoo Scoops of Django.
The error is described in this gist [2] and the code is in this repository
[3].
Th
urlencoded. You probably want to use
> request.body (
> https://docs.djangoproject.com/en/1.5/ref/request-response/#django.http.HttpRequest.body)
>
> to get at the raw JSON. To get it as a dictionary object in Python, import
> the json module, then do:
>
> >>> data = json.loads(r
in/bash',
'SHLVL': '2',
'SSH_AUTH_SOCK': '/run/user/1000/keyring-wmgVNG/ssh',
'TERM': 'xterm-256color',
'TZ': 'America/Denver',
'USER': 'lucas',
'USERNAME': 'lucas',
'WIN
s).
>
> Likewise, unless you submitted POST data with your request, you should
> expect request.POST to be empty.
>
> _Nik
>
> On 7/2/2013 2:03 PM, Lucas Simon wrote:
>
> Hi,
>
> I think I found a bug and was not sure where to post it other than here.
> I hav
Hi,
I think I found a bug and was not sure where to post it other than here. I
have created a view defined as follows
from django.http import HttpResponse, Http404
from django.views.generic.base import View
class TestView(View):
def post(self, request, *args, **kwargs):
print "*
Hi,
I am using django-fluent-dashboard app instead grapelli but I got this
error, and I do not know how to solve it.
I follow these tutorial [1] and django version is 1.4.5
ImportError at /admin/
No module named menu
Request Method: GET Request URL: http://localhost:8000/admin/ Django
V
11 matches
Mail list logo