Skip to content

Singular Table Name Error #13

@marjinal1st

Description

@marjinal1st

In this template, there is a name error occurring when you use a double word scaffold name. (Example; StaticPage)

It's because of the line "singular_table_name.capitalize". It's working correctly when "singular_table_name.classify" is used.

Example StaticPage scaffold => It's using "Static_page.model_name.human" in the template and works if you use "StaticPage.model_name.human"

Confirmed by @hamitturkukaya

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions