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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T11:01:49+00:00 2026-06-11T11:01:49+00:00

I decided to implement a blog system on Google AppEngine. But: I don’t want

  • 0

I decided to implement a blog system on Google AppEngine. But:

  1. I don’t want to add a login button on my blog.
  2. I don’t want to provide a url to type in manually to login.

But I still want to do admin things ONLINE and only for myself, e.g. posting, editing, deleting and etc.

Any clever ways to implement this?

  • 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-11T11:01:51+00:00Added an answer on June 11, 2026 at 11:01 am

    You can add a component to the web page template that is only rendered if you are an admin.

    For example, in your HTML template if you have something like this it’ll only render the content if admin_bool is True. So you can put a form etc inside there and only you’ll see it.

        {% if admin_bool %}
            # only show this if you are an admin
        {% endif %}
    

    So if you happen to be using the GAE users service you can do this:

        from google.appengine.api import users
    
        user = users.get_current_user()
        if user:
            print "Welcome, %s!" % user.nickname()
        if users.is_current_user_admin():
            admin_bool = True
    

    and pass admin_bool to your template and it’ll render only if the current user is an admin.

    https://developers.google.com/appengine/docs/python/users/adminusers

    http://webapp-improved.appspot.com/tutorials/gettingstarted/usingusers.html#tutorials-gettingstarted-usingusers

    http://webapp-improved.appspot.com/tutorials/gettingstarted/templates.html#tutorials-gettingstarted-templates

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

Sidebar

Related Questions

I've decided to implement a user login using a per-user salt, stored in the
Why don't they need them, and if someone decided to implement a VM that
Objective-C doesn't support methods overloading. Why? Is it doable but Apple decided not implement
I decided to implement OpenID login into my C++ server. I looked at list
I decided to implement a simple messaging system into my project. I'm using this
I'm developing an App using Google's UI design guidelines, so I want to implement
We've decided to implement CC.NET to have a readily available build for our various
I'm attempting to learn Scala so I have decided to implement datastructures with it.
I'm in the midst of a university project and have decided to implement a
Hello StackOverflow community! I started to learn Node.js recently, and decided to implement a

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.