#9021: manage.py startapp should create an "default" admin.py file ---------------------------+------------------------------------------------ Reporter: oliverandrich | Owner: nobody Status: new | Milestone: Component: Uncategorized | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ Please look at this ticket as a polite feature request. I have been using the SVN version for some time, but in all projects I started after the newformsadmin merge, I made the same mistake - I added a admin.site.register(SomeClassName) to the models.py, which cause issues with manage.py shell and so on. I personally appreciate the AlreadyRegistered exception.
But as all Django users will use the automatic admin area, it would be a got practice to create a dummy admin.py file with the startapp command. I hope, this is understandable and might lower the learning curve for beginners and people like, whom are upgrading to 1.0. -- Ticket URL: <http://code.djangoproject.com/ticket/9021> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
