Hi Jen, have you considered using a key "name" instead of an id? Then instead of needing to use an "int," your "id" can be a string?
Robert On Tue, Dec 29, 2009 at 2:51 PM, Ms. Jen <blackpho...@gmail.com> wrote: > Avoid casting for what? The number 1 or for an id? > > Are you saying that one should not be attempting to request a > datastore ID from a URL? From a search of this and other groups, over > a year ago there was a bug in getting by the ID, but it is not a bug > anymore. > > If I take out the in(self.request.get('id')), then I get an error that > says: > BadValueError: Unsupported type for property : <type > 'builtin_function_or_method'> > > Do you have another way that you prefer to pass an identifier in the > URL path that then the identifier may be passed to the next datastore > search? If so, please send link. > > -- > > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appeng...@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.