Homoacademycus

  • Installation
  • TechOpinion
  • TroubleShooting
  • Develop Scripts

django invalid HTTP HOST header

March 25, 2021

Symtoms

Invalid HTTP_HOST header: 'web_backend_1:22222'. 
The domain name provided is not valid according to RFC 1034/1035.
Continue reading

django instance expected got OrderedDict

March 25, 2021

Symtoms

'Rule' instance expected, got OrderedDict([('title', 'sdfsd'), ('body', 'sdfsdf')])
Continue reading

django direct assignment to reverse related set

March 25, 2021

Symtoms

Direct assignment to the reverse side of a related set is prohibited.
Use related.set() instead.
Continue reading

django create takes 1 positional argument

March 25, 2021

Symtom

create() takes 1 positional argument but 2 were given
Continue reading

create react app reinstall node modules

March 25, 2021

Symtom

  1. installed create-react-app as global module
    npm install -g create-react-app
    
Continue reading
Prev Next

Copyright with Homoacademycus