Questions

Top Questions

0
Vote
1
Answer
1574
Views
Error when install Pillow using PIP

I get this error ` Command /usr/bin/python -c "import setuptools, tokenize;__file__='/tmp/pip_build_root/Pillow/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /t...

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
708
Views
How to know the current path in django website at any page?

I want to create a url and for that I want to know the current path of page....

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
576
Views
css and javascript not working in django

I am trying to run my django website through virtual environment on localhost. But when I enter ``` $ python manage.py runserver ``` It says it started working on localhost:8000 but when I visit url, styling and javascript is gone....

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
3274
Views
ImportError: cannot import name patterns

When I am trying to run my django project in virtualenv it is giving this error. ``` File "/Users/aakash/venv/lib/python2.7/site-packages/django_markdown/urls.py", line 3, in from django.conf.urls import patterns, url ImportError: cannot impor...

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
2333
Views
ImportError: No module named django.core.management

I am trying to run my django project through virtualenvironment. but when I entered the command. ``` $ python manage.py runserver ``` I got this error. ``` Traceback (most recent call last): File "manage.py", line 8, in from django.cor...

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
615
Views
E: Unable to parse package file /var/lib/apt/lists /archive.canonical.com_ubuntu_dists_xenial_InRelease (1)

Got this error after software update using software update in ubuntu. ``` Reading package lists... Error! E: Unable to parse package file /var/lib/apt/lists/archive.canonical.com_ubuntu_dists_xenial_InRelease (1) E: The package lists or status ...

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
929
Views
Ignoring file '50unattended-upgrades.ucf-old' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension

While updating ubuntu16.04 I got this error how to remove this error. ``` Hit:1 http://archive.canonical.com/ubuntu xenial InRelease Hit:2 http://in.archive.ubuntu.com/ubuntu xenial InRelease Hit:3 http://security.ubuntu.com/ubuntu xenial-secur...

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
4968
Views
How to pass a message when we redirect to some template from django views?

I want to redirect from views in django views.py but I want the redirect to go with some messages and that message should be displayed at redirected page....

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
3135
Views
Redirect to the same page from where login is requested in django-website

I am trying to authenticate before some pages can be accessed and i want the page to be redirected to the same previous page from where login was called. How can we do that?...

asked 2 years, 3 months ago
Reputation: 1
0
Vote
1
Answer
660
Views
google+ login using django-allauth gives Internal ServerError(500)

`Internal Server Error(500)` I am getting this error when trying to create google+ login in my project though I have configured settings for client id and client secret correctly....

asked 2 years, 3 months ago
Reputation: 1




Ask Question

55
Questions