خرید بک لینک

Vote count: 3

My route normally like this:

1.  localhost:60612/Thread
2.  localhost:60612/Thread/Create
3.  localhost:60612/Thread/Edit/getting-started-with-Django-Python
4.  localhost:60612/Thread/Delete/getting-started-with-Django-Python
5.  localhost:60612/Thread/getting-started-with-Django-Python

I want to change my route for some security reason. The controller name Thread should be changed with useame (i.e. hendyharf) once after user logged in. It will be something like this:

1.  localhost:60612/hendyharf
2.  localhost:60612/hendyharf/Create
3.  localhost:60612/hendyharf/Edit/getting-started-with-Django-Python
4.  localhost:60612/hendyharf/Delete/getting-started-with-Django-Python
5.  localhost:60612/hendyharf/getting-started-with-Django-Python

How should I supposed to do to change my route?

asked 5 mins ago

برچسب: نویسنده: استخدام کار تاريخ: چهارشنبه 15 ارديبهشت 1395 ساعت: 22:13

صفحه بندی