[Fixed]-Redirect to different App view directory from urls.py

1👍

Assuming that the blog app and search app are in the same level in project path directory,
You can use relative import like this:

from django.conf.urls import url, patterns 
from search.views import search

urlpatterns = patterns(
    url(r'^search$', search ,  name='search'),

)

Leave a comment