text: Q:
  
  Redirect to your custom page after login- Django
  
  Whenever I login from the Django admin site, It redirects me to the Admin Site of the django. Whereas, I want to redirect to my own custom page. How It's done? Thanks
  (It redirects me to the http://127.0.0.1:8000/admin/ after a successful login. Whereas i want to go to the main page like, http://127.0.0.1:8000.)
  
  A:
  
  Put this line in your settings.py file: 
  LOGIN_REDIRECT_URL = '/some/url'
  
  And also you must define your this url in urls.py and create veiw in your views.py for that url. 
  
  