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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T07:00:50+00:00 2026-05-16T07:00:50+00:00

I have an app called lastapp that I would like it to be viewable

  • 0

I have an app called lastapp that I would like it to be viewable on all pages. It renders base.html so it’s available on all apps. So far I’ve tried adding it to the urls.py like this:

urlpatterns = patterns('',   
    (r'^first/$', firstapp, lastapp),
    (r'^last/$', lastapp),
)

But when I go to /first/ it gives me the error: Error, ‘function’ not iterable. It shows fine when going to /last/. If I remove lastapp from the /first/ site in urls.py, then firstapp shows fine also. Is there a special way to do this? Thanks in advance.

  • 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-16T07:00:51+00:00Added an answer on May 16, 2026 at 7:00 am

    What exactly are you trying to do?

    All installed applications are available in your project, but the application by it self does not return any data to the template, that’s the job of the views which are part of that application.

    My guess is that firstapp and lastapp are rather views then apps.

    If that is a case, context processors make it possible to always pass certain data to a template.

    So, create a context processor out of lastapp and set it in TEMPLATE_CONTEXT_PROCESSORS in settings.py.

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

Sidebar

Related Questions

I have apps Users and Projects and would like to define another app called
I have an app called static HTML (https://apps.facebook.com/static_html_plus/?ref=ts) installed on a page of mine..
I have a separate app called api that I'd like to link to from
We have a C# win Form app called Installer that silently installs various 3rd
I have two Express.js apps running on my server. A plain vanilla app called
I have an ASP.NET Login App that creates a cookie called 'ASP_LOGIN77' and gives
I have a module that builds an app called MyApp. I have another that
I'm developing for Android and I have an app (called Forget-Me-Not) that uses a
I have an app with a MKMapView and code that is called each time
I have an HTML (not XHTML) document that renders fine in Firefox 3 and

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.