It should be:
import .views
Or
from .views import your_view
It should be a relative import
On Sat, 3 Sep 2022 at 7:16 PM, Lakshyaraj Dash
wrote:
> She has views inside tutorials then quickstart. She has named every folder
> as tutorial. She needs to rename some folders
>
> On Sat, 3 Sep, 2022,
Hello folks,
I have created a hosted a django web app on apache2 using mod_wsgi, the
content should automatically refresh everyday. But it is not getting
refreshed automatically. I need to manually restart or reload the apache in
order to make the changes reflect. I don't want to set cron to restar
1. Make requirement file let's say requirement.txt using pip freeze
command, which keep records of packages used in the project.
2. Make a copy of project folder to the new machine.
3. Create virtual environment on new machine.
4. Activate and install package from requirement.txt file to the virtua
First of all you have to install 'libmysqlclient' package globally then
'mysqlclient-dev' in project environment
On Sun, Nov 11, 2018, 4:42 PM Ansh Srivastava Hey there! I m tryin' to connect mysql database with django, While doin'
> it number of errors prompted out as below:-
> Error sayin' :(in
Yes Linux is best suited OS for developers. You can start getting familiar with
Linux by using latest Ubuntu LTS version. Ubuntu provides a better GUI and
ease-of-using for beginners. But getting hands-on terminal commands are of
great use.
--
You received this message because you are subscrib
If you are on Linux(debian):
You should first install libmysqlclient-dev using command
$ sudo apt-get install libmysqlclient-dev
Then proceed with installing mysqlclient through pip...
For more information you can follow link:
https://pypi.org/project/mysqlclient/
On Thu 25 Oct, 2018, 6:59 PM
6 matches
Mail list logo