DarrenOfficial/dpaste

Problem api

sor88 opened this issue · 2 comments

sor88 commented

Reason for task

There was a problem using the api. After installation, when requesting api, requests with 404 code are returned. Installation went according to the documentation

sor88 commented

You have incorrectly stated in the instructions or incorrectly indicated in the code the location of the api! if you do everything according to the instructions, then the api will be available at the link * .ru/api/api for it to work correctly, you either need to specify path ('', include ('dpaste.urls.dpaste_api')) in urlspatterns,
path ('', include ('dpaste.urls.dpaste')),

🙄