BUGPointKnowledge leak filled fupan ruminants (October)

1. Click on the page that appears double application prefix, observe the reason, the template file set point when there is no plus '/', leading to default when the form is submitted not find the path from the root directory, but the premise of the current path, again filed an application name it is an error. (path error check data submitted path.)

2. csrftoken, using csrftoken time, will generate a hidden field in the page. If you are using ajax request after the background page when csrftoken need to pass the name and value, do not need to manually accept in view, the page to complete the security access ... (It should be noted, csrftoken label, regardless of template added What place, you can get the name and value, because of the need dynamic access, the need for accurate positioning)

3.html in, redio type of input tag, the name attribute must be set in order to achieve the radio

4. reverse resolution process' applications space name: module name ', the intermediate is not separated spaces, there is an error, can not be found.

5. dismantling list: sku_ids =', 'join ( sku_ids) # [1,25] ==> 1, 25 (.' character string '.join (list object))

6. Get js custom properties in the time, $ (this) .attr (' sku_ids '), to add custom properties' quotes.

7. the TODO django2.X of # To delete the cache settings. how do I delete the cache?


Guess you like

Origin www.cnblogs.com/jrri/p/11669360.html