Hi, It used to work but after my recent upload, it stopped. Does anyone encountered this kind of error before?
It's working fine in my local machine using runserver but not in the production server. I'm basically drag and dropping files. Then renaming the > os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sym.settings') in views. > I only have that in views.py. After that, I restart the app in supervisorctl. The production server is using gunicorn, nginx. The Django version is 1.10.5 with python 3.5. My local machine is using the same django version (I just updated it) but with python 3.4. Error page: Exception Type: > NoReverseMatch > Exception Value: > Reverse for 'rrs_class_lists_faculty' with arguments '()' and keyword > arguments '{'faculty_id': ''}' not found. 1 pattern(s) tried: > ['rrs/class_lists_faculty/(?P<faculty_id>[-\\w]+)/$'] > <td class="col-xs-12">{{ forloop.counter }}. <a href="{% url > 'rrs_class_lists_faculty' faculty_id=faculty_name.1 %}" > target="_blank">{{ faculty_name.0 }}</a></td> > > 1. > > return render(request, 'rrs_class_list_summary.html', {'errorLS': errorLS, > > 2. > > 'feedbackLS': > feedbackLS, > > > > 1. > > > 'faculty_link_name_list': faculty_link_name_list, > > ... > > > 1. > > }) > > > urls.py > url(r'^class_lists_faculty/(?P<faculty_id>[-\w]+)/$', > rrs_views.requires_login(rrs_views.class_lists_faculty), > name="rrs_class_lists_faculty"), views.py > def class_lists_faculty(request, faculty_id=''): I have been stuck on this for half a day now. My biggest trouble is its working fine in runserver which really leaves me clueless on what's happening on the web server. I would really appreciate any help. Thank you in advance. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/01415fdb-2ff3-423a-a267-07db2b8f503f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.