Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在管理员中,如果您输入 slug,则通过 JS 应用两件事:
我基本上插入了几千行,我需要访问它。django 是否提供了这个音译器的非 js 服务器端版本,我可以访问它以某种方式进行插入?
看起来我必须移植usr/lib/pymodules/python2.5/django/contrib/admin/media/js/urlify.js代码,除非我能找到一种方法来以编程方式在客户端加载所有文章并自动进行 slugify。
usr/lib/pymodules/python2.5/django/contrib/admin/media/js/urlify.js