Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9197411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T22:04:09+00:00 2026-06-17T22:04:09+00:00

I had a few views that were working, but now that I’ve added a

  • 0

I had a few views that were working, but now that I’ve added a new view it no longer works and I keep getting the error ViewDoesNotExist.

Traceback:

  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response 101.request.path_info)

  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in resolve 300.sub_match = pattern.resolve(new_path)

  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in resolve 
209. return ResolverMatch(self.callback, args, kwargs, self.name)

  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in callback  216. self._callback = get_callable(self._callback_str)

  File "/usr/local/lib/python2.7/dist-packages/django/utils/functional.py" in wrapper 27.result = func(*args)

  File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py" in get_callable 101.(lookup_view, mod_name))

  Exception Type: ViewDoesNotExist at /login/
  Exception Value: Could not import owners.views.login_request. View does not exist in module owners.views.

Any additional information / pointers on what I may be doing wrong would be helpful.

myview

def login_request(request):
    if request.user.is_authenticated():
        return HttpResponseRedirect('/profile')

    elif request.method == 'POST':
        form = Loginform(request.POST)

        if form.is_valid():
            username = form.cleaned_data['username']
            password = form.cleaned_data['password']
            site_user = authenticate(username= username,password = password )

            if site_user is not None:
                login(request,site_user)
                return HttpResponseRedirect('/profile')
            else:
               return render_to_response('login.html',{'form':form},context_instance = RequestContext(request))
        else:
            return render_to_response('login.html',{'form':form},context_instance = RequestContext(request))

    else:
        '''user not subinting show loging form'''
        form = Loginform()
        context = {'form': form}
        return render_to_response('login.html',context,context_instance = RequestContext(request))

and my url looks like this

(r'^login/$','owners.views.login_request'),

i have about 70views and its all gone down only the ‘/’ works

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T22:04:10+00:00Added an answer on June 17, 2026 at 10:04 pm

    The problem was with the imports the models got confused as they imported from all over the place so i made a central app that managed every thing.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have had pinch-to-zoom working pretty well for a few application versions now using
On my view, I used to have few buttons and each button had an
I had a few problems with my alarm that are in a another thread
I have had a few problems getting this right, so I wanted to ask
I've had a few questions about MEF recently, but here's the big one --
I've been working for a few weeks now with the Google Maps API v3,
I had a home page which have a few tables that refresh itself every
I've been working on a Django project for the past few weeks now, and
So the past few weeks I've been working on a page that pulls from
I read about Big-O Notation from here and had few questions on calculating the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.