I think he means the Link page type. In that case, it's just like creating any Django model instance (import the class, create an instance, modify attributes to your liking, call the save() method).

Another option is to create a fixture or data migration.

Mezzanine does this when calling createdb. In particular, I've highlighted the part where both fixtures and class instantiation are used (for creating pages and galleries, respectively). https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/core/management/commands/createdb.py#L130-L136

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to