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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:09:18+00:00 2026-06-04T02:09:18+00:00

I am migrating from webapp1 to webapp2 and from python 2.5 to python2.7 I

  • 0

I am migrating from webapp1 to webapp2 and from python 2.5 to python2.7
I had some custom tags I used with

webapp.template.register_template_library('common.templatetags')

and registered with:

from google.appengine.ext.webapp import template
register = template.create_template_register()

and the corresponding decorator and everything else worked fine

now I need to use webapp2 which does not have template.register…..

I tried doing it this way : http://www.john-smith.me/Tag/webapp2
but it didn’t work

thanks

  • 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-04T02:09:21+00:00Added an answer on June 4, 2026 at 2:09 am

    solved by using add_to_builtins()

    from django.template.loader import add_to_builtins
    
    add_to_builtins('myapp.templatetags.mytagslib')
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am migrating some spreadsheets from Excel 2003/WinXP to Excel 2010/Win7. Some spreadsheets use
We're migrating from Perforce to GIT. In perforce, there were some files that I'd
I'm migrating a webapp to python 2.7 with GAE and this error message appears:
I am migrating from ASP.NET 1.1 and I used to subscribe to page events
Our team is migrating from VSS 6.0 to TFS 2008 to be used for
I'm migrating from Java 1.1. to Java 5. I notice that some methods have
Migrating from DTD to XSD and for some reason the transition is a bumpy
Migrating from Rails 2 to 3 and I had to ditch attachment_fu. Other people
Migrating from textboxe to dropdownlist – Need to send value from a hard-coded dropdownlist
I started migrating from cucumber + webrat to cucumber + capybara. Now the behavior

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.