Cal, You are contributing a lot to the django users group, but this response isnt in the best spirit of the group.
Yes, the op could work out from the traceback what the error was, but we were all beginners once. If you compare this post to the how to post FAQ its not too bad - at least there's a traceback. Telling someone they need to learn more python isn't helpful - tell them that theres a setting missing and how the traceback makes that clear. Sorry to pull you up on this but the helpfulness of this list is important both to me and the health of the django community. Malcolm Sent from my iPhone, please excuse any typos On 9 Jul 2011, at 21:49, "Cal Leeming [Simplicity Media Ltd]"<[email protected]> wrote: > Question, have you ever used Python before? > > If no, then I suggest you learn Python before jumping into Django. > > If yes, then you need to learn more about Python. > > Cal > > On Sat, Jul 9, 2011 at 9:21 PM, morning yao <[email protected]> wrote: > so ,here is the Error Traceback,i need your help,thanks! > _______________________________________________________ > Environment: > > > Request Method: GET > Request URL: http://127.0.0.1:8000/ > > Django Version: 1.3 > Python Version: 2.7.2 > Installed Applications: > ['django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'django.contrib.messages', > 'django.contrib.staticfiles', > 'django.contrib.admin'] > Installed Middleware: > ('django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.middleware.csrf.CsrfViewMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'django.contrib.messages.middleware.MessageMiddleware') > > > Traceback: > File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in > get_response > 101. request.path_info) > File "C:\Python27\lib\site-packages\django\core\urlresolvers.py" in > resolve > 250. for pattern in self.url_patterns: > File "C:\Python27\lib\site-packages\django\core\urlresolvers.py" in > _get_url_patterns > 279. patterns = getattr(self.urlconf_module, "urlpatterns", > self.urlconf_module) > File "C:\Python27\lib\site-packages\django\core\urlresolvers.py" in > _get_urlconf_module > 274. self._urlconf_module = > import_module(self.urlconf_name) > File "C:\Python27\lib\site-packages\django\utils\importlib.py" in > import_module > 35. __import__(name) > File "C:\Python27\Lib\site-packages\django\dinette\..\dinette\urls.py" > in <module> > 4. from dinette.views import > LatestTopicsByCategory,LatestRepliesOfTopic > File "C:\Python27\Lib\site-packages\django\dinette\..\dinette > \views.py" in <module> > 19. from dinette.models import Ftopics , > SuperCategory ,Category ,Reply, DinetteUserProfile > File "C:\Python27\Lib\site-packages\django\dinette\..\dinette > \models.py" in <module> > 18. > logging.config.fileConfig(settings.LOG_FILE_NAME,defaults=dict(log_path=settings.LOG_FILE_PATH)) > File "C:\Python27\lib\site-packages\django\utils\functional.py" in > __getattr__ > 277. return getattr(self._wrapped, name) > > Exception Type: AttributeError at / > Exception Value: 'Settings' object has no attribute 'LOG_FILE_NAME' > > -- > You received this message because you are subscribed to the Google Groups > "Django users" 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-users?hl=en. > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" 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-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Django users" 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-users?hl=en.

