Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

Ticket #1158 (closed enhancement: wontfix)

Opened 13 years ago

Last modified 12 years ago

Put the identity model classes in their own file

Reported by: talin Owned by: anonymous
Priority: lowest Milestone:
Component: Identity Version: trunk
Severity: trivial Keywords:


This is a just suggestion, really: Now that we can have multiple model files via the egg.info/sqlobject.txt file, why not put the identity classes in their own model_identity.py file? This would allow for a clean, empty model.py for your own classes, and would also make it easier to add identity to an already created project if you forgot to add it during quickstart.

Change History

comment:1 Changed 13 years ago by godoy

But would, again, make people think that these settings are monolythic and immutable.

To add identity / visit to an already existing project you'll need more than just cut & pasting (or inserting a filename somewhere) classes in your model, so for this specific case it shouldn't matter much since most of the work will be done elsewhere (i.e. your controllers).

comment:2 Changed 13 years ago by jorge.vargas

-1 on this

we already have enough people thinking they shouldn't touch "all" those files.

if you really want this feature please create a template plugin and put it on the cheeshop/cogbin

comment:3 Changed 13 years ago by jorge.vargas

  • Status changed from new to closed
  • Resolution set to wontfix

there is not enough support for this

Note: See TracTickets for help on using tickets.