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 #1255 (closed defect: fixed)

Opened 11 years ago

Last modified 10 years ago

[patch] missing config line in quickstarted identity project

Reported by: renier Owned by: anonymous
Priority: normal Milestone: 1.0.2
Component: unassigned Version: 1.0
Severity: normal Keywords:
Cc:

Description

When starting a project with "tg-admin quickstart --identity <project_name>", a model.py will be created containing a Visit and a VisitIdentity? class. Problem is that app.cfg does not get created with the line needed to enable the use of VisitIdentity?. Need to add the following to app.cfg as long as VisitIdentity? is added to model.py under the --identity quickstart option: identity.soprovider.model.visit = "${package_name}.model.VisitIdentity?"

Without this, turbogears defaults to TG_VisitIdentity. There is also no comment in app.cfg regarding this particular visit option.

Attachments

visitidentity.patch Download (740 bytes) - added by Felix.Schwarz 11 years ago.
Does that patch resolve the problem?

Change History

Changed 11 years ago by Felix.Schwarz

Does that patch resolve the problem?

comment:1 Changed 11 years ago by renier

Yes, it does.

comment:2 Changed 11 years ago by tbradshaw

  • Summary changed from missing config line in quickstarted identity project to [patch] missing config line in quickstarted identity project

comment:3 Changed 11 years ago by alberto

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

Applied at [2833]. Thanks :)

Alberto

Note: See TracTickets for help on using tickets.