[users-de] Fragen/Wünsche zum Einsatz von OpenSlides

Oskar Hahn mail at oshahn.de
Mi Apr 11 11:54:58 UTC 2012


Hallo Ansgar,

Am 11.04.2012 13:43, schrieb Ansgar Flack:
> Jetzt wäre es nur noch schön wenn ich aus allen Anträgen Tagesordnungspunkte
> machen könnte mit nem Script oder so. Sonst muss ich mich morgen Abend durch 200
> Anträge durchklicken.
Hier ein kleines Skript:
starte zunächst die python-shell mit
$ python manage.py shell

Gebe nun folgende Befehle ein:
from agenda.models import ItemApplication
from application.models import Application
for application in Application.objects.all():
  ItemApplication(application=application, \ title=str(application)).save()

Gruß Oskar

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mail.openslides.org/pipermail/users-de/attachments/20120411/c49922f3/attachment.pgp>


More information about the users-de mailing list