adding django app and url

1 view
Skip to first unread message

Uung

unread,
Nov 5, 2009, 10:13:18 AM11/5/09
to jaikuengine-discuss
Hi,

I add django app and register it in settings.py
also add url mapping in urls.py like below

"
urlpatterns += patterns('',
('connector/', include('connector.urls')),
)
"

while my urls.py inside my connector app as a follow

"
urlpatterns = patterns('',
url(r'test/$', 'connector.views.test', name='test'),
)
"
How come I can open http://localhost:8080/connector/test
I did try "{% url test %}" in template in it print "/connector/test"
Any suggestion how to add django app and it corresponding url mapping
for jaiku-engine?

Uung

unread,
Nov 5, 2009, 10:36:53 AM11/5/09
to jaikuengine-discuss

> How come I can openhttp://localhost:8080/connector/test
Sorry for the typo should be "How come I can't open http://localhost:8080/connector/test"

Thanks
Reply all
Reply to author
Forward
0 new messages