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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T06:20:15+00:00 2026-05-14T06:20:15+00:00

I periodically get this problem where all of a sudden mako is using old

  • 0

I periodically get this problem where all of a sudden mako is using old versions of templates, and it’s not until I manually go and update the template files that they’ll use the current version. I’m using

./manage.py runserver

I think it’s usually after I update using source control, but it’s intermittent, and I can’t reliably reproduce the problem.

  • 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-14T06:20:15+00:00Added an answer on May 14, 2026 at 6:20 am

    In your settings.py file you can use the MAKO_TEMPLATE_OPTS setting to specify where the temporary compiled templates go.

    import os
    import tempfile
    MAKO_TEMPLATE_OPTS=dict(input_encoding='utf-8',
                            module_directory=os.path.join(
        tempfile.gettempdir(),
        os.environ.get('LOGNAME', 'unknown_user'),
        'mako'))
    

    This will put them somewhere like /tmp/dsmith/mako

    You can use different folders for different projects to make sure they don’t overlap. Also, if you notice the problem after a source control update or something you can just clear out the cached folder.

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

Sidebar

Related Questions

Historical Context: This problem ended up being not at all what I thought it
I run into this problem periodically, and I'm trying to figure out if it's
I'm using a Quartz .NET job to get data from serial port periodically. The
I periodically receive data that I use to update my database with. The external
Eclipse Helios periodically starts running a job which displays Computing additional info. During this
This is more of an general architecture problem. If you have a cron job
Get the following error periodically in an IIS application: Failed to load resources from
I'm currently developing a web application using Struts2 framework. This application requires to dynamically
everyone. I'm trying to get data from some page, it's updated using javascript. First,
This is what I am trying to achieve but I'm not familiar with 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.