[google-appengine] Re: Admin interface that let's me enter dummy data

2009-01-09 Thread Alexander Kojevnikov

 Thanks for the response. I just dont see a reason why Google can't
 allow dummy data to be entered via the built in admin interface. If it
 can create forms when there is data, why cant it create forms without
 data?

I guess the main reason is that the datastore is schema-less, the
models can and will change at runtime. Also, the model classes can be
defined and re-defined in any module of the project, I guess it's a
non-trivial task to figure out what the final model definition would
be.
--~--~-~--~~~---~--~~
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-appengine@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
-~--~~~~--~~--~--~---



[google-appengine] Re: Admin interface that let's me enter dummy data

2009-01-09 Thread adelevie

I guess I'm stuck with that--it works nicely despite trouble getting
the stylesheets to load. This seems like such a simple feature for
google to implement, I  don't understand why they dont.

On Jan 9, 7:51 am, nickcharb nickch...@gmail.com wrote:
 I found appengine_admin helpful to add dummy data.  It's a very nice
 interface, and all you have to do is define the models/properties you
 want exposed to the forms for view/edit/etc.

 http://code.google.com/p/appengine-admin/

 Nick

 On Jan 9, 4:38 am, Alexander Kojevnikov alexan...@kojevnikov.com
 wrote:

   Thanks for the response. I just dont see a reason why Google can't
   allow dummy data to be entered via the built in admin interface. If it
   can create forms when there is data, why cant it create forms without
   data?

  I guess the main reason is that the datastore is schema-less, the
  models can and will change at runtime. Also, the model classes can be
  defined and re-defined in any module of the project, I guess it's a
  non-trivial task to figure out what the final model definition would
  be.


--~--~-~--~~~---~--~~
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-appengine@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
-~--~~~~--~~--~--~---



[google-appengine] Re: Admin interface that let's me enter dummy data

2009-01-08 Thread Alexander Kojevnikov

You can include the 'shell' application from the official appengine
samples with your app, and add/edit/delete the entities from Python
shell.

Source: http://code.google.com/p/google-app-engine-samples/downloads/list
Demo: http://shell.appspot.com/

Don't forget to restrict access to shell, e.g. only to the app admins.

Cheers,
Alex
--
www.muspy.com

On Jan 9, 3:54 pm, adelevie adele...@gmail.com wrote:
 I really like GAE's admin interface save for one thing: it doesnt let
 me enter dummy data--it says I must do it programmatically. While I'm
 sure there is some legitimate reason for this, I still would like an
 automated set of forms generated from my existing models. Is anyone
 else in the same boat as me? Right now I'm stuck manually creating a
 form class and url for each models--quite messy. Are there any clever
 workarounds?
--~--~-~--~~~---~--~~
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-appengine@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
-~--~~~~--~~--~--~---



[google-appengine] Re: Admin interface that let's me enter dummy data

2009-01-08 Thread adelevie

Thanks for the response. I just dont see a reason why Google can't
allow dummy data to be entered via the built in admin interface. If it
can create forms when there is data, why cant it create forms without
data?

On Jan 9, 2:44 am, Alexander Kojevnikov alexan...@kojevnikov.com
wrote:
 You can include the 'shell' application from the official appengine
 samples with your app, and add/edit/delete the entities from Python
 shell.

 Source:http://code.google.com/p/google-app-engine-samples/downloads/list
 Demo:http://shell.appspot.com/

 Don't forget to restrict access to shell, e.g. only to the app admins.

 Cheers,
 Alex
 --www.muspy.com

 On Jan 9, 3:54 pm, adelevie adele...@gmail.com wrote:

  I really like GAE's admin interface save for one thing: it doesnt let
  me enter dummy data--it says I must do it programmatically. While I'm
  sure there is some legitimate reason for this, I still would like an
  automated set of forms generated from my existing models. Is anyone
  else in the same boat as me? Right now I'm stuck manually creating a
  form class and url for each models--quite messy. Are there any clever
  workarounds?


--~--~-~--~~~---~--~~
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-appengine@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
-~--~~~~--~~--~--~---