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

  • Home
  • SEARCH
  • 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 8902681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:40:29+00:00 2026-06-15T01:40:29+00:00

I am haviing issues with the django-registration module. When a user tries to register,

  • 0

I am haviing issues with the django-registration module. When a user tries to register, the activation link that he receives in his email is not correct. I mean, for the link to work, I have to manually add my app’s name right after the domain name.

Let me explain this with an example:

This is the main’s page url (note the “HELLOPROJECT”):
http://127.0.0.1:8000/HELLOPROJECT/index

This is the registration url (note the “HELLOPROJECT”):
http://127.0.0.1:8000/HELLOPROJECT/accounts/register/

And this is the activation url sent in the email (note there is no “HELLOPROJECT”):
http://127.0.0.1:8000/accounts/activate/3a97ec229308b0112cb6e1ef16f8ab32df667b9c/

If I click the above link, an error occurs. I have to manually add the “HELLOPROJECT” for the link to work properly and register the user.

So, why does this happen? How can I solve it?

  • 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-15T01:40:30+00:00Added an answer on June 15, 2026 at 1:40 am

    The activation email template includes

    {{site}}/accounts/activate/{{ activation_key }}/
    

    Firstly make sure you have your copy of templates for registration correct. Then make sure your SITE_ID in settings.py matches the site you created. The djangoproject.com site is probably default and has id 1. If you edited the name of it to match your site, the id will remain same, if you add a new one find the new id and set your SITE_ID to that.

    site

    An object representing the site on which the user registered;
    depending on whether django.contrib.sites is installed, this may be an
    instance of either django.contrib.sites.models.Site (if the sites
    application is installed) or django.contrib.sites.models.RequestSite
    (if not). Consult the documentation for the Django sites framework for
    details regarding these objects’ interface

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

Sidebar

Related Questions

In Django I have a package that issues a depreciation warning (django.views.generic.simple). It would
Im having issues getting this to work, maybe its not even possible? I have
I am using Django. I am having a few issues with caching of QuerySets
I having issues getting Django to work with settings.py at different location I have
I'm running into performance issues with Django because of m2m relationships. I have a
I am having issues getting mongodb working with Django, my setup is Mac OS
OK, so I'm having issues trying to run Django on lighttpd with FastCGI. I've
OK, so I'm having issues trying to run Django on lighttpd with FastCGI. I've
I'm using django-crispy-forms with Twitter Bootstrap , and I'm having some issues with customizing
I have been having some issues with django-haystack and need some help. I run

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.