Error when modeling database

Hello.

I’m getting an error message while trying to runserver. This is the erro:

django.core.management.base.SystemCheckError: SystemCheckError: System check identified some issues:

ERRORS:
gcee.CreditosDeEnergia.periodo_de_geracao_do_credito: (fields.E304) Reverse accessor for ‘CreditosDeEnergia.periodo_de_geracao_do_credito’ clashes with reverse accessor for ‘CreditosDeEnergia.periodo_de_utilizacao_do_credito’.
HINT: Add or change a related_name argument to the definition for ‘CreditosDeEnergia.periodo_de_geracao_do_credito’ or ‘CreditosDeEnergia.periodo_de_utilizacao_do_credito’.
gcee.CreditosDeEnergia.periodo_de_geracao_do_credito: (fields.E304) Reverse accessor for ‘CreditosDeEnergia.periodo_de_geracao_do_credito’ clashes with reverse accessor for ‘CreditosDeEnergia.periodo_que_expira_credito’.
HINT: Add or change a related_name argument to the definition for ‘CreditosDeEnergia.periodo_de_geracao_do_credito’ or ‘CreditosDeEnergia.periodo_que_expira_credito’.
gcee.CreditosDeEnergia.periodo_de_utilizacao_do_credito: (fields.E304) Reverse accessor for ‘CreditosDeEnergia.periodo_de_utilizacao_do_credito’ clashes with reverse accessor for ‘CreditosDeEnergia.periodo_de_geracao_do_credito’.
HINT: Add or change a related_name argument to the definition for ‘CreditosDeEnergia.periodo_de_utilizacao_do_credito’ or ‘CreditosDeEnergia.periodo_de_geracao_do_credito’.
gcee.CreditosDeEnergia.periodo_de_utilizacao_do_credito: (fields.E304) Reverse accessor for ‘CreditosDeEnergia.periodo_de_utilizacao_do_credito’ clashes with reverse accessor for ‘CreditosDeEnergia.periodo_que_expira_credito’.
HINT: Add or change a related_name argument to the definition for ‘CreditosDeEnergia.periodo_de_utilizacao_do_credito’ or ‘CreditosDeEnergia.periodo_que_expira_credito’.
gcee.CreditosDeEnergia.periodo_que_expira_credito: (fields.E304) Reverse accessor for ‘CreditosDeEnergia.periodo_que_expira_credito’ clashes with reverse accessor for ‘CreditosDeEnergia.periodo_de_geracao_do_credito’.
HINT: Add or change a related_name argument to the definition for ‘CreditosDeEnergia.periodo_que_expira_credito’ or ‘CreditosDeEnergia.periodo_de_geracao_do_credito’.
gcee.CreditosDeEnergia.periodo_que_expira_credito: (fields.E304) Reverse accessor for ‘CreditosDeEnergia.periodo_que_expira_credito’ clashes with reverse accessor for ‘CreditosDeEnergia.periodo_de_utilizacao_do_credito’.
HINT: Add or change a related_name argument to the definition for ‘CreditosDeEnergia.periodo_que_expira_credito’ or ‘CreditosDeEnergia.periodo_de_utilizacao_do_credito’.

System check identified 6 issues (0 silenced).

I created my sqlite db using sqlitestudio and my table named as “Creditos_de_energia” is desingned as you can see at thepicture bellow:

Those 3 fields (2, 3and 12) are foreinkey to the “Periodos” table.

Can I use inside the a table 3 foreingkey fields pointing to another same table?

What is that did wrong?

Thank you for posting the error messages, it’s helpful when trying to diagnose problems. However, in the future, also please post the important code - it makes it easier to talk about and address specific issues.

The information you’re looking for can be found at: