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

Documentation fix for issue #2307 #2408

Merged
merged 1 commit into from
Sep 17, 2013
Merged

Documentation fix for issue #2307 #2408

merged 1 commit into from
Sep 17, 2013

Conversation

trystant
Copy link
Contributor

This is the proposed addition to the doc to describe the need to have a title field, or set up an alias for models in custom Refinery engines. The copy is as follows:

TIP: Models in Refinery engines expect a string field that acts as the title identifier when displayed in lists in the admin pages. If a title field is not included, the first string field found will be used. Models without a usable field for a title will cause the admin to raise an error, so please include a title field or alias another field to "title" using the alias_attribute method when creating models in your engine.

Sorry I'm late on this, and thanks for Refinery

parndt added a commit that referenced this pull request Sep 17, 2013
@parndt parndt merged commit 5989428 into refinery:master Sep 17, 2013
@parndt
Copy link
Member

parndt commented Sep 17, 2013

Thanks!

@trystant trystant deleted the title_field_for_custom_engine branch September 17, 2013 00:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants