Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.4] Typo, Send the welcome email #6661

Merged
merged 2 commits into from
Jul 2, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions doc/integrator/extend_data_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ add to ``geoportal/<package>_geoportal/models.py``:
id = Column(
types.Integer,
ForeignKey(_schema + '.user.id'),
primary_key=True.
primary_key=True,
info={
"colanderalchemy": {
"missing": None,
Expand Down Expand Up @@ -84,9 +84,10 @@ Now, create a file ``geoportal/<package>_geoportal/admin/views/userdetail.py`` a

from deform.widget import FormWidget
from c2cgeoform.schema import GeoFormSchemaNode
from c2cgeoform.views.abstract_views import AbstractViews
from c2cgeoform.views.abstract_views import ListField
from c2cgeoportal_admin.schemas.roles import roles_schema_node
from c2cgeoportal_admin.views.users import UserViews


from cartoriviera_geoportal.models import UserDetail

Expand All @@ -100,8 +101,8 @@ Now, create a file ``geoportal/<package>_geoportal/admin/views/userdetail.py`` a
settings_role = aliased(Role)


@view_defaults(match_param='table=userdetail')
class UserDetailViews(AbstractViews):
@view_defaults(match_param='table=userdetails')
class UserDetailViews(UserViews):
_list_fields = [
_list_field('id'),
_list_field('username'),
Expand Down