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.
satchmo プロジェクトのデフォルトの管理 URL を上書きしたいです。今私が持っています
www.example.com/admin/ しかし、www.example.com/Myadmin/ が必要です。
ここにはいくつかの制限があり、satchmo の元のコードを変更することはできません。私は自分のsatchmoプロジェクトでそれをしなければなりません。
助けてください...
事前に感謝します:)
これは、urls.py の管理者エントリを修正するだけの問題です。あなたが現在(私が推測する)持っている場所:
(r'^admin/', include(admin.site.urls)),
次のように変更します。
(r'^Myadmin/', include(admin.site.urls)),