0

I am having a strange problem with flatpages 1 - My project was using django 1.3. In that, we copied django flatpages content and modified it for our needs. 2 - But now when we upgraded to django 1.7. In admin, console I am getting no installed app with label 'flatpages'

inside flatpages/init.py

   default_app_config = 'path.to.FlatPageConfig'

settings.py has in INSTALLED_APPS

   'path.to.FlatPageConfig' #custom flatpage implementation

and as per django 1.7 I have created a AppConfig for that

class FlatPageConfig(AppConfig):
   name = 'flatpages' # name of custom flatpage implementation
   label = 'myFlatpages'
   verbose_name = 'My FlatPages'
Anuranjit Maindola
  • 1,507
  • 1
  • 14
  • 30

0 Answers0