I'm using haystack with whoosh backend to implement a search on website. It
works on /search page but it doesn't work on /members. It redirects me to
search page if I try to submit form on any other page. How can I add search
on multiple pages?
--
You received this message because you are subs
Using urls.py and views.py as names is not mandatory in the app, the
"urls.py" is referenced in the urls.py of the project, and can have
any name you want, but these are convention names and useful for other
people reading your code
models.py is a tad more special because models need to be auto
di
First off, I'd like to say that I am a huge noob to Django in general so I
apologize if it's a dumb question, and second the title's vague because
it's hard to concisely phrase this question so allow me to clarify.
Throughout the tutorials we are told to make several specifically-named
python m
Hi,
Have you tried removing the "channels" package from INSTALLED_APPS and
making sure it fails without that as well?
Andrew
On Sun, Jan 8, 2017 at 1:43 AM, Utku Gültopu wrote:
> When I log a user in using django.contrib.auth.login function, session_key
> is sometimes not set in the request of
At least by looking at the source code
https://github.com/bradleyayers/django-tables2/blob/master/django_tables2/views.py
It seems you need to have a "table_data" attribute, or a "object_list"
attribute, or define a "get_table_data" method in your class
On 1/8/17, Ali khan wrote:
> I am using D
When I log a user in using django.contrib.auth.login function, session_key
is sometimes not set in the request of the view.
Code in views.py:
from django.contrib import auth
from django.contrib.auth.models import User
from django.http import HttpResponse
import json
def login(request):
user
6 matches
Mail list logo