Does a DocType name need to be globally unique?

Hi!

I’ve recently started trying out Frappe Framework and am creating my first app. In this app, I wanted to create a DocType “Event” in my app module.

This resulted in the message

DocType Event already exists

Do names of DocType need to be globally unique so they don’t crash with other apps? Do I need to prefix my DocTypes? Or is it a problem in my installation (I’m using the development installation as described in the development.md)

I’ve searched the docs and the forums but didn’t find anything about this.

Thanks in advance

Kind regards
Dennis

Hi @dploeger:

DocType Event belongs to Frappe Framework, so you can’t create a new one with the same name … It’s a good practice use a prefix.

Hope this helps.

Ah okay. I thought the module would act as a namespace. Thanks. Maybe this should be documented. I’ll take a look how to contribute to the docs.

1 Like

Hmm… I’ve found the edit link in the docs but how do I register for an account on frappe.io?