Anomalie #3399

Country creation via admin interface

Added by Paul Carensac over 8 years ago. Updated over 8 years ago.

Status:FerméStart date:03/29/2016
Priority:NormalDue date:
Assignee:Paul Carensac% Done:

100%

Category:-Spent time:1.00 hour
Target version:Version 0.01 - Multi-platform skeleton easy install

Description

Impossible to create a new country via the admin interface

==> Unknown field "user.username"

History

#1 Updated by Paul Carensac over 8 years ago

  • Assignee set to Paul Carensac
  • % Done changed from 0 to 100

We can't call a foreign_key's attribute from admin's Inline 'field' attribute.
We had to declare a new method in the Country model that returns the wanted attribute, and to call it from Inline's field attribute.

#2 Updated by Paul Carensac over 8 years ago

  • Status changed from Nouveau to Résolu

#3 Updated by Paul Carensac over 8 years ago

  • Status changed from Résolu to Fermé

#4 Updated by Etienne Pallier over 8 years ago

  • Target version set to Version 0.01 - Multi-platform skeleton easy install

Also available in: Atom PDF