Thank you, it worked.
On Mon, Jan 24, 2022, 2:16 PM Kasper Laudrup wrote:
> On 24/01/2022 05.18, 'Delvin Alexander' via Django users wrote:
> >
> > No module named 'django.shortcut'
>
> Typo. It should be "django.shortcuts"
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message
On 24/01/2022 05.18, 'Delvin Alexander' via Django users wrote:
No module named 'django.shortcut'
Typo. It should be "django.shortcuts"
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this
On 24/01/2022 15.11, Lakshyaraj Dash X-D 25 wrote:
Try restarting your code editor or reinstall python.
How would that change anything?
Kind regards,
Kasper Laudrup
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this
If you're using virtual environment then try creating a new virtual
environment and install django again in your virtual environment.
On Mon, Jan 24, 2022, 19:28 'Delvin Alexander' via Django users <
django-users@googlegroups.com> wrote:
> Hello,
>
> I am new and just started to learn Django. I
Try restarting your code editor or reinstall python.
On Mon, Jan 24, 2022, 19:28 'Delvin Alexander' via Django users <
django-users@googlegroups.com> wrote:
> Hello,
>
> I am new and just started to learn Django. I am attempting to create my
> first application and ofcourse progress to a website
Hello,
I am new and just started to learn Django. I am attempting to create my
first application and ofcourse progress to a website but i am having
difficulty at the moment. here is whats going on:
["Import "django.shortcut" could not be resolvedPylancereportMissingImports
Now you can use
>From .models import and model Name
On Thu, 13 May 2021 at 6:24 PM, Let's Get Going wrote:
> Hello Django users,
> I was registering my model after importing my model in admin.py file.
>
> It started showing error like No module named app.E_store where app is
> project name
Hello Django users,
I was registering my model after importing my model in admin.py file.
It started showing error like No module named app.E_store where app is
project name and E_store is app name.
I used to remove that but it is still showing the same error.
Can anyone help me?
--
You
Install django in a virtualenv. Then it should probably work.
On Wed, 28 Apr, 2021, 1:46 pm sebasti...@gmail.com, <
sebastian.ju...@gmail.com> wrote:
> Install pip3:
>
> sudo apt install python3-pip
>
> then install django:
>
> pip3 install django
>
> rabi...@gmail.com schrieb am Mittwoch, 28.
Install pip3:
sudo apt install python3-pip
then install django:
pip3 install django
rabi...@gmail.com schrieb am Mittwoch, 28. April 2021 um 09:12:41 UTC+2:
> Go to settings from your pc and add python to your variable path.
>
> On Tue, 27 Apr 2021, 23:10 Sebastian Jung, wrote:
>
>> Hello,
Go to settings from your pc and add python to your variable path.
On Tue, 27 Apr 2021, 23:10 Sebastian Jung,
wrote:
> Hello,
>
> You Install Django package with pip Install but you need with python3 pip3
> instead of pip.
>
> Regards
>
> Théodore KOSSI schrieb am Mo., 26. Apr. 2021,
> 13:40:
>
Hello,
You Install Django package with pip Install but you need with python3 pip3
instead of pip.
Regards
Théodore KOSSI schrieb am Mo., 26. Apr. 2021,
13:40:
> can you help me for this problem?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django
Hi, This issue is because of virtual env please check env and also Django
installed in it or not. (You can also check the python interpreter and see
the path).
for more info please refer to this document.
thanks you very much. I will try this issue and will return later.
Le lun. 26 avr. 2021 à 13:48, Benjamin Schollnick <
bscholln...@schollnick.net> a écrit :
> Okay, it appears you are on a Macintosh….
>
> Which is not the problem, but I ran into the same issue, and it’s most
> likely that you
I think is a problem with your virtual envinmont, just you need add the
PYTHONPATH variable, like:
export PYTHONPATH="/the/path/of/python3"
I think maybe you have a global lib in yout machine maybe, try verify with
"pip freeze --local" (without "base" env activated)
try to clean your global
Okay, it appears you are on a Macintosh….
Which is not the problem, but I ran into the same issue, and it’s most likely
that you installed a different version of Python than what came with the OS?
try:
python3 -m pip list | grep -i django
python2 -m pip list | grep -i django
I would bet
...
File
"/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/ctypes/__init__.py",
line 353, in __init__
self._handle = _dlopen(self._name, mode)
OSError: dlopen(/usr/local/lib/libGeoIP.dylib, 6): no suitable image
found. Did find:
/usr/local/lib/libGeoIP.dylib:
It appeared an import statement error caused the initial problem. But once
that was fixed, the following error results:
">>> from django.contrib.gis.utils.geoip import GeoIP
Traceback (most recent call last):
File "", line 1, in
File
I've spent several hours attempting to resolve my problems setting up GeoIP
in Django to no avail and was hoping to get some guidance on what the
problem(s) might be.
I'm working on an existing Django application that required some
geolocation abilities, specifically getting a users IP and
On Wed, Aug 10, 2011 at 2:20 PM, babak wrote:
> Did that and it didn't fail.
> But when I run:
> python2.6 manage.py syncdb
>
> everything works fine, so problem solved.
>
Your python mysql library binder is currently installed with the python2.6
instance only, and not
Did that and it didn't fail.
But when I run:
python2.6 manage.py syncdb
everything works fine, so problem solved.
On 10 Aug, 10:48, Subhranath Chunder wrote:
> You can check with the following:
>
> python manage.py shell
>
> then do the,
> import MySQLdb
>
> If this fails
You can check with the following:
python manage.py shell
then do the,
import MySQLdb
If this fails then you are probably running on different python
environments.
On Wed, Aug 10, 2011 at 2:02 PM, babak wrote:
> Hi I've installed MySQLdb om my mac and can import it:
>
Hi I've installed MySQLdb om my mac and can import it:
Python 2.6.7 (r267:88850, Jul 20 2011, 12:30:08)
[GCC 4.2.1 (Apple Inc. build 5664)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
But when I try to create database I get the following
I'm running django on ubuntu jaunty-9.04, apache2/mod_wsgi, and nginx.
I'm having problems with both of my vhosts resolving to the same
document root, as well as 500 errors with one of the domains. my first
domain works fine i.e., the url resolves to the correct document root,
but when I look up
Hello,
I'm trying to deploy my simple app and I've mirrored the project as it
was on my local dev machine. For some reason, when I try to browse to
the url I get a 500 error and the error log says ImportError: No
module named tagging. I've added PYTHONPATH env vars as follows:
export
Ok, so I narrowed this down a bit: the problem was with
get_absolute_url. I still
do not understand why it would complain about the urls.py not being
found.
I'd still be happy about any hints, but in the meantime I changed my
template code
to a not-so-DRY but working version with explicit urls.
Hi all,
I have a strange error on a website I developed (quite some time
ago...).
The main url works: http://www.christina-kratzenberg.de
So do all the links at the bottom except for the "portfolio" one. It's
of course the interesting part where a photo portfolio is shown.
When I click on
thanks Jacob.
On Mar 5, 11:47 am, Jacob Kaplan-Moss
wrote:
> On Thu, Mar 5, 2009 at 2:44 PM, neri...@gmail.com wrote:
> > (r'^$', include('dzopastudio.views.current_datetime')),
>
> There's the bug. ``include()`` does what the name suggests: it
On Thu, Mar 5, 2009 at 2:44 PM, neri...@gmail.com wrote:
> (r'^$', include('dzopastudio.views.current_datetime')),
There's the bug. ``include()`` does what the name suggests: it
includes another urlconf. Drop the include and it should work.
Jacob
Hello,
I'm trying to map a simple url to a view but keep getting: "No module
named current_datetime" when the view is defined in the views.py
file.
Here is urls.py:
from django.conf.urls.defaults import *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
30 matches
Mail list logo