Hello,
I created a simple Django model based on some database view. It looks
like that:
class Person(models.Model):
name = models.CharField(max_length=200)
class Meta:
db_table = 'bambo_person_view'
In my database (Postgresql) I created this view and I gave it rule
On Mar 5, 11:51 pm, Graham Dumpleton
wrote:
> What version of Django are you using?
>
> Are you perhaps using a pre 1.0 version where SCRIPT_NAME, which
> defines mount point, was not being properly handled by Django.
Yes, it was the reason - I was using 0.9.7. I upgraded to the current
version
Dear sirs,
I have configured my web server so http://localhost/wsgi points to
Django connected with WSGI:
WSGIScriptAlias /wsgi /var/www/django.wsgi
Now I can see that when I request URL "http://localhost/wsgi/myapp/
test/", Django sees URL "myapp/test/". It is nice when I write url
rules - they
3 matches
Mail list logo