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 6614279
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:19:10+00:00 2026-05-25T20:19:10+00:00

The current setup ends up substituting example.com into the below code from the template.

  • 0

The current setup ends up substituting example.com into the below code from the template. I want it to point to localhost:8000

Without hard coding this, where and how can I change the template so that the site is linked to my localhost?

Thank you for registering an account at {{ site.domain }}.
To activate your registration, please visit the following page:

http://{{ site.domain }}{% url registration_activate activation_key %}

This page will expire in {{ expiration_days }} day{{ expiration_days|pluralize }}.


If you didn’t register this account you can simply delete this email and we won’t bother you again.

  • 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-05-25T20:19:11+00:00Added an answer on May 25, 2026 at 8:19 pm

    The site object in the template comes from the Django Site model. When you do a syncdb, it defaults automatically to example.com

    If you login to Django’s admin interface, you will find “Sites”. Inside it, you will be able to change example.com to whatever you like.

    enter image description here

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

Sidebar

Related Questions

my current setup is: site.com/DIR/56 what I want to do is: site.com/DIR/56/some-string-here-about-the-page my current
My current setup is Python 2.5/ Django 1.1.1 on Windows. I want to start
In the below application you can see my current setup where the application launches
My current setup loads a dynamic list at which point I create a click
My current setup.py script works okay, but it installs tvnamer.py (the tool) as tvnamer.py
My current setup using hibernate uses the hibernate.reveng.xml file to generate the various hbm.xml
My current setup : I have an entity object with some properties, among them
Here is my current setup: Database Role - MyDbRole Schema - MySchema User -
I am trying to work out the best database model for the current setup:
My Company is running several international websites for selling insurance products. Our current setup

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.