GithubHelp home page GithubHelp logo

django-recipe-app's People

Contributors

vacchiano avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

django-recipe-app's Issues

Running the recipe app under apache

Nice project to learn how Django works! Thanks for this project.
Running the server on its own works a treat.

I tried running the app through Apache2 by pointing the apache config file (etc/apache2/sites-enabled/000-default.conf) to the app.
This works, recipes show up, however for some reason I cant login, neither in the app, nor in the admin part.
The layout of the admin login changes, when I try to login with the correct password, I get

OperationalError at /admin/login/
attempt to write a readonly database
Request Method: POST
Request URL: http://192.168.1.xxx/admin/login/?next=/admin/
Django Version: 3.2.13
Exception Type: OperationalError
Exception Value:
attempt to write a readonly database
Exception Location: /home/aaaaaa/dk/menu/lib/python3.9/site-packages/django/db/backends/sqlite3/base.py, line 423, in execute
Python Executable: /home/aaaaaa/dk/menu/bin/python
Python Version: 3.9.2
Python Path:
['/home/aaaaaa/dk',
'/usr/lib/python39.zip',
'/usr/lib/python3.9',
'/usr/lib/python3.9/lib-dynload',
'/home/aaaaaa/dk/menu/lib/python3.9/site-packages']
Server time: Fri, 04 Nov 2022 07:57:57 +0000

When I give a wrong password, the system rejects with the correct message:
Please enter the correct username and password for a staff account. Note that both fields may be case-sensitive.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.