Django learning (regularly updated)

Solve questions based on point luffy items

  1. Delete the .git folder, the project should not require git

    1. After git clone code to initialize git, git repository to automatically create the directory needed, these folders exist in the project's .git folder

    2. .git folder after git init file in the current directory generated a git repository folder management, specific information .git folder

  2. djangoOf settings.pythe MIDDLEWAREneed to comment, as this may cause abnormal (POST request because the open to prevent csrf, reported 403 errors, csrfcross-site request forgery, malicious use of the site, rely web browser, confused over agent attacks (deputy attack ))

Guess you like

Origin www.cnblogs.com/michealjy/p/11520554.html