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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:17:46+00:00 2026-06-05T15:17:46+00:00

Fellow Stackoverflowers I have a question, since I’m not a database hero. I have

  • 0

Fellow Stackoverflowers

I have a question, since I’m not a database hero. I have the following models:

class Hardware(db.Model):
    title        = db.StringProperty()
    description  = db.TextProperty()
    visible      = db.BooleanProperty()
    reservations = db.ListProperty(db.Key)

class Reservation(db.Model):
    between      = db.DateProperty()
    until        = db.DateProperty()
    user         = db.UserProperty()
    item         = db.ReferenceProperty()
    active       = db.BooleanProperty()
    archive      = db.BooleanProperty()

class UserData(db.Model):
    user         = db.UserProperty()
    nickname     = db.StringProperty()
    admin        = db.BooleanProperty()
    locked       = db.BooleanProperty()

In a later stage I would like to see what reservations a user made. For that I wanted to have another ReferenceProperty in the Reservation Model. But I can’t. I get an error then

DuplicatePropertyError: Class Model already has property reservation_set 

And I can’t user the UserProperty anymore since I need to make Reservations for other users then just mine.

Suggestions?

  • 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-05T15:17:47+00:00Added an answer on June 5, 2026 at 3:17 pm

    Try giving each ReferenceProperty a unique collection_name Docs

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

Sidebar

Related Questions

Fellow coders, I have asked this question before but did not get a conclusive
Hello fellow StackOverflowers. I'm have a brain fart right now, and I cannot seem
Question fellow programmers. Let's say I have a stand alone application in it's own
Greetings fellow members, the situation in question is such: public abstract class BaseClass {
Hello fellow programmers, I have made a function that looks up the database if
fellow devs! I have a class for posting to website using a POST or
Fellow i have the following code <script language=javascript> my_row_html = <input type='text' value='+node.data.pkey+' width='300px'>;
Fellow JQuery hackers, hello :-) Suppose you have the following code: $('.links').click(function(){ //Do something
Hello Fellow stackoverflowers, I´m stuck writing a piece of code. I have application with
Hello fellow C++ programmers. I have, what I hope to be, a quick question

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.