User Profile

Collapse

Profile Sidebar

Collapse
animeshagrawal
animeshagrawal
Last Activity: May 2 '19, 03:47 AM
Joined: Apr 13 '19
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • animeshagrawal
    replied to Session engine in Django
    For using file-based sessions, you have to set the setting of SESSION_ENGINE to django.contib.s essions.backend s.file

    You will also have to make sure that your web server has permissions to read and write the directory of the session file.

    There are 3 more ways to configure session engine in Django; Database-backed sessions, Cached sessions, and Cookie-based sessions.
    See more | Go to post

    Leave a comment:


  • animeshagrawal
    replied to Django Interview Question
    These are some of the questions which are usually asked in Django interview are:
    1. Explain what is Django and some basic features of Django framework.
    2. How can we customize Django admin interface?
    3. Define Django ORM and its importance.
    4. What is Django model? Explain its working in Django architecture.
    5. How we can add View functions to urls.py?
    6. Describe about Django's user authentication.
    ...
    See more | Go to post
    Last edited by Rabbit; Apr 22 '19, 04:36 PM. Reason: External link removed per forum policy

    Leave a comment:


  • animeshagrawal
    replied to Limitations of Django redirect?
    The disadvantages of Django redirect are:

    1. Redirect that will not have effect

    django.shortcut s.redirect() is easy to implement but the function does not execute a redirect, it only returns a redirect response object. You have to return this response object from view file. Else, no redirect will perform.

    2. Issue with permanent redirects

    Whenever a browser is receiving a permanent redirect...
    See more | Go to post
    Last edited by Rabbit; Apr 22 '19, 04:24 PM. Reason: outside link removed per forum policy

    Leave a comment:

No activity results to display
Show More
Working...