salut Je viens de voir tes messages c'était dans les spams, j'ai essayé beaucoup de chose. Bon je relis à tête reposé tes mails et je te fais signe
Le 07/01/2014, Alioune Dia<[email protected]> a écrit : > Bonjour > J'ai également trouvé sur la documentation de django , dernière version > qu'il > est tout a fait possible de faire un Customization de ton application > django sans toucher son code de base , ce qui me semble etre un facon > propre de proceder que de modifier le code de ton forum (models). > > ### > https://docs.djangoproject.com/en/dev/ref/applications/ > > Configuring applications > > To configure an application, subclass AppConfig and put the dotted path to > that > subclass in INSTALLED_APPS. > > Django uses the default AppConfig class when INSTALLED_APPS simply contains > the dotted path to an application module. > For application authors > > If you're creating a pluggable app called "Rock 'n' roll", here's how you > would provide > a proper name for the admin: > > # rock_n_roll/apps.py > > from django.apps import AppConfig > > class RockNRollConfig(AppConfig): > name = 'rock_n_roll' > verbose_name = "Rock 'n' roll" > > You would then tell your users to add 'rock_n_roll.apps.RockNRollConfig' to > their INSTALLED_APPS. > > The recommended convention is to put the configuration class in a submodule > of the > application called apps. However, this isn't enforced by Django. > > You must include the name attribute for Django to determine which > application this > configurationapplies to. You can define any attributes documented in the > AppConfig API reference. > > ### > > --Ad > > > Le 7 janvier 2014 05:54, Séno Hervé Edorh <[email protected]> a écrit : > >> Bonjour, >> >> J'aimerais changer le nom d'une application que j'ai utilisé dans un >> de mes projets django. Plus précisément c'est pybbm (forum). Je veux >> que dans l'administration il y apparaisse le nom Forum pour facilité >> l'administration à l'administrateur du système. J'ai utilisé plein de >> méthode mais qui ne marche pas. je continue à chercher. Si quelqu'un >> aurait une astuce facile et rapide cela me sauverait. >> >> Merci >> >> -- >> EDORH Hervé Séno >> Developper >> http://www.edorh.com/ >> West Africa >> >> -- >> Ce message a été envoyé à la liste [email protected] >> Gestion de votre abonnement : http://dakarlug.org/liste >> Archives : http://news.gmane.org/gmane.org.user-groups.linux.dakarlug >> Le site du DakarLUG : http://dakarlug.org >> > -- EDORH Hervé Séno Developper http://www.edorh.com/ West Africa -- Ce message a été envoyé à la liste [email protected] Gestion de votre abonnement : http://dakarlug.org/liste Archives : http://news.gmane.org/gmane.org.user-groups.linux.dakarlug Le site du DakarLUG : http://dakarlug.org
