Are there other urls defined in your file? If so, do the views they
reference exist already? Django tries to load all the views it finds
in all url files defined.
It seems to me that you may have a url mapped to a 'select' view but
that view does not exist.
On Jul 6, 12:32 pm, Phil wrote:
> Hi,
Hi,
agree with that - does it work if you go through the url first?
Cheers,
Phil
On Jul 6, 3:21 am, Karen Tracey wrote:
> On Sat, Jul 4, 2009 at 11:44 PM, tam...@gmail.com wrote:
>
> > Hi,
>
> > I am trying to decouple my views.py with respect to my url.py but I
> > have a problem.
>
> > -I d
On Sat, Jul 4, 2009 at 11:44 PM, tam...@gmail.com wrote:
>
> Hi,
>
> I am trying to decouple my views.py with respect to my url.py but I
> have a problem.
>
> -I do have a principal url.py which contains and include to a second
> url.py:
> urlpatterns = patterns('',
> (r'^users/', include('myapp.
Hi,
I am trying to decouple my views.py with respect to my url.py but I
have a problem.
-I do have a principal url.py which contains and include to a second
url.py:
urlpatterns = patterns('',
(r'^users/', include('myapp.users.urls'))
.
-Thus the second url.py contains:
url(regex='^edit/(?P\
OK, I solved my problem. I now understand reverse lookups well enough
to be embarrassed by the code below. Sorry to have bothered you.
Rodney
On Aug 27, 10:39 am, Rodney Topor <[EMAIL PROTECTED]> wrote:
> Hi. Sorry to botther the group again. I'm working through the Weblog
> example in 'Prac
Hi. Sorry to botther the group again. I'm working through the Weblog
example in 'Practical Django Projects'. Yet again, reverse URL lookup
errors prove to be the hardest to debug. In class Entry I have
defined
def get_absolute_url(self):
return "/weblog/%s/%s/" % (self.pub_date.st
I have a postgres database (8.1.11) with > 200 tables that has regular
minor changes(most of them adding fields or tables). So I want to use
model inheritance to separate logic from model definition. Inspectdb
creates the models which I then edit to make abstract base classes.
I'm running Django 7
7 matches
Mail list logo