Hi there, I'd like to try and add django-locking (https://github.com/RobCombs/django-locking) to my Django project's admin page. (version 1.6.8)
I've installed the egg file and fixed an import statement that used deprecated code. When running step 7 of the installation steps (see github page above), it's complaining now that my settings object has no ADMIN_URL attribute. I can't find any documentation about how to properly set this attribute, or if it's out of date, what to replace it with. The actual exception is this: File "/usr/local/lib/python2.7/dist-packages/django_locking-0.3.2-py2.7.egg/locking/admin.py", line 15, in <module> class LockableAdmin(admin.ModelAdmin): File "/usr/local/lib/python2.7/dist-packages/django_locking-0.3.2-py2.7.egg/locking/admin.py", line 17, in LockableAdmin class Media: File "/usr/local/lib/python2.7/dist-packages/django_locking-0.3.2-py2.7.egg/locking/admin.py", line 21, in Media _s.ADMIN_URL + "ajax/variables.js", File "/usr/local/lib/python2.7/dist-packages/django/conf/__init__.py", line 55, in __getattr__ return getattr(self._wrapped, name) AttributeError: 'Settings' object has no attribute 'ADMIN_URL' Please help if you can. Thanks! - Ian -- 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 http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f9a2a283-7f4e-47f9-9c95-424d5e593b59%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.