Ok, looks like I found a solution:
svn co http://svn.whoosh.ca/projects/whoosh/trunk/ whoosh
cd whoosh
sudo python setup.py install
The site here suggests a patch but I think it's not up to date
anymore:
http://haystacksearch.org/docs/installing_engines.html
On Oct 28, 4:10 pm, nau
Hi there
I've been trying to use haystack with the whoosh backend in my django
app.
I've installed whoosh and haystack using
pip install Whoosh
pip install django-haystack
Then I added 'haystack' to my INSTALLED_APPS in settings.py and when
trying to run
python manage.py runserver it would say
Hi Christophe
Can you post some more information?
What does settings.py look like?
What does urls.py look like?
How do you register the Models at the admin interface?
On Oct 19, 2:41 am, Christophe Pettus wrote:
> Greetings,
>
> I'm installing Django on a Centos 5.3 system, running under mod
Hi mfever
How do you mean 'didn't create' ? What's the error message?
What does your settings.py look like?
What does the code look like that is doing something with the db?
On Oct 19, 8:18 am, mfever wrote:
> Hi Buddy,
>
> I am newbie in Django. Recently I try out the Django tutorial from web
Great. Sorry for sending this twice. I thought it got deleted so
I sent it again. Looks like it was delayed for ~2 days : (
But I'm still greatful for any advice : )
On Oct 17, 2:19 pm, nausikaa wrote:
> Hi
>
> I'm writing a web interface where users (in groups with diff
Hi
I'm writing a web interface where users (in groups with different
rights) can login and view and edit db entries.
At the moment the authentication functionality is in
myproject/
auth.py
The authenticate method in auth.py does ldap authentication.
Now my question:
Would it be better to ma
Ciao Luca
I think the problem are the '%' in the datetime string.
Have a look here:
http://docs.djangoproject.com/en/dev/ref/templates/builtins/
and try this:
{{ value|date }}
i.e.
...
20 {{ m.dataora|date }}
...
respectively.
Does it cure the problem?
nausikaa
On Oct 16
Correction:
We have a class 'LDAPBackend' with an authenticate function.
Then in the view we use 'authenticate' from django.contrib.auth and
if that returns None, we call the 'authenticate' bound to
'LDAPBackend'.
Does it make sense to have a separate app just for one class?
I assume the answer
Hi
I'm writing a web interface where users (in groups with different
rights) can login and view and edit db entries.
At the moment the login functionality is in
myproject/
auth.py
The authenticate method in auth.py checks the Users table and if that
fails it tries ldap authentication.
Now m
Hi
I think you're already have it right. It means do
not write "print ..some stuff.." in your docstring.
It says, instead write u'blah blah', which you are
doing already.
My question is:
Isn't it expected that the doctest fails if you change
a letter because then the output will disagree with
yo
Hi again
What I wrote is wrong sorry, I didn't read the ticket properly.
You can't do multi-column primary keys in django (yet).
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
Have you done
from yourapp.models import *
from django.contrib import admin
admin.site.register(Books)
in admin.py?
On Sep 26, 4:55 am, pengwupeng wrote:
> the environment is apache+django, accessing my app is ok,but i
> can't access the admin interface.
> the configuration of the http
)
for author in authors:
books = Book.objects.filter(author__name__exact=author.name)
your_list.append(author)
for book in books:
your_list.append(book)
But this is not so good I think.
nausikaa
On Sep 24, 9:49 am, dimitri pater - serpia
wrote:
> Hi,
>
> say, I
ch. I view the multi-db
> > > functionality more as a last resort, where you really don't have an
> > option
> > > to merge the data. It adds a lot of complexity so if you can do without I
> > > would recommend an alternative.
> > > Just my 2 cen
can read or edit the
data. Besides you'd remove some (unnecessary) heterogenity and thereby
complexity from your system.
But since I don't know your system I might be missing the point
completely.
Nausikaa
On Sep 22, 3:10 am, snfctech wrote:
> I understand that there is a Django
Hi Timboy
Sorry but I've never seen:
for x in 20:
# do sth.
20 is an int object and not an iterable.
Is this snippet your code?
Nausikaa
On Sep 22, 10:15 am, Timboy wrote:
> Having issues saving model from within the shell.
>
> Using File from from django.core.fil
Hi Chris
I hope this helps:
http://code.djangoproject.com/ticket/373
So there is a "patch" but I didn't try it.
The way I worked around it was by adapting my db model.
Assuming you have an existing db you might want to try the patch.
Nausikaa
On Sep 22, 10:17 am, Chris
Dear Matt
I hope you see this message even though it's probably too late.
To fix the permission denied error change setup.cfg as follows:
pg_config=/opt/local/lib/postgresql84/bin/
needs to be changed to
pg_config=/opt/local/lib/postgresql84/bin/pg_config
Then run sudo python setup.py bu
4/bin/pg_config
in setup.cfg.
If this does not sort out the problem try
sudo port install postgresql84
Then all should work just fine. postgresql-devel is outdated.
Hope this helps,
Nausikaa
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
19 matches
Mail list logo