Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
the reviews of a dealer > # def get_dealer_reviews(request,dealer_id): > # ... > > # Create a `get_dealer_details` view to render the dealer details > # def get_dealer_details(request, dealer_id): > # ... > > # Create a `add_review` view to submit a review > # def add_review(re

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
Create a `add_review` view to submit a review # def add_review(request): # ... After that I added this urlpatterns from django.urls import path from . import views urlpatterns = [ path( 'login/', views.login_user, name='login'), path('logout/', views

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
7; object is not iterable > > The above exception was the direct cause of the following exception: > > Traceback (most recent call last): > File "manage.py", line 22, in > main() > File "manage.py", line 18, in main > execute_from_command_lin

problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
esolvers.py", line 717, in url_patterns iter(patterns) TypeError: 'module' object is not iterable The above exception was the direct cause of the following exception: Traceback (most recent call last): File "manage.py", line 22, in main() File "manage.p

Re: Error while running '$ python manage.py collectstatic --noinput'.

2023-12-19 Thread ram.mu...@gmail.com
Hi Ihor, Thank you for your email. We do not have any reference to heroku but Digital Oceanś App platform is using heroku. We resolved the above error by adding this environment variable: DISABLE_COLLECTSTATIC = 1 But we are planning to enable this once the main deployment is done. Best Regar

Re: Error while running '$ python manage.py collectstatic --noinput'.

2023-12-18 Thread Ihor Dmytrenko
Why you have heroku in your log? Remove all old dependency configs in your settings first and then you need specify ```python STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static'), ] STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles') STATIC_URL = '/static/' HOME_DIRECTORY_SELF_STORAGE = o

Re: Error while running '$ python manage.py collectstatic --noinput'.

2023-12-16 Thread ram.mu...@gmail.com
loyment? We are planning to use only app platforms to > avoid infrastructure overhead. > > >> [2023-12-17 01:40:06] │ -> $ python manage.py collectstatic --noinput >> [2023-12-17 01:40:06] │Traceback (most recent call last): >> [2023-12-17 01:40:0

Error while running '$ python manage.py collectstatic --noinput'.

2023-12-16 Thread Ram
server deployment? We are planning to use only app platforms to avoid infrastructure overhead. > [2023-12-17 01:40:06] │ -> $ python manage.py collectstatic --noinput > [2023-12-17 01:40:06] │Traceback (most recent call last): > [2023-12-17 01:40:06] │ File

Re: problem bd python manage.py makemigrations & migrate

2023-06-20 Thread Issa N'golo Coulibaly
First created an application and then in the settings.py set the constant AUTH_USER_MODEL = "my_app_name.User" and do makemigrations then migrate for the very first time. your custom User table does not exist in the database that's why the exception is thrown. On Sun, 11 Jun 2023, 19:00 Alexandru

Re: problem bd python manage.py makemigrations & migrate

2023-06-20 Thread Alexandru - Gabriel Ionicescu
Hello Bradie, Is not work. I delete all db and migrate but is not working.. În dum., 11 iun. 2023 la 22:54, Bradie Poa a scris: > This is mostly cause be mismatch of migrations. In the migrations folder. > If deleting the db fails to work for you. You need to delete or migrations > folders and

Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bradie Poa
This is mostly cause be mismatch of migrations. In the migrations folder. If deleting the db fails to work for you. You need to delete or migrations folders and then re-do the process of makemigrations and migrate. This will play you the magic On Sun, Jun 11, 2023, 22:12 Bhuvnesh Sharma wrote: >

Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bradie Poa
Delete the delete the database, makemigrations and then migrate. On Sun, Jun 11, 2023, 22:12 Bhuvnesh Sharma wrote: > Hi, > This seems a bit unexpected behaviour,could you tell us all the steps > you followed from the beginning and at what step is it giving error? > > On Mon, Jun 12, 2023, 12:

Re: problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Bhuvnesh Sharma
Hi, This seems a bit unexpected behaviour,could you tell us all the steps you followed from the beginning and at what step is it giving error? On Mon, Jun 12, 2023, 12:30 AM Alexandru - Gabriel Ionicescu < ionicescu.alexandrugabr...@gmail.com> wrote: > hello, I have a project and I use django.

problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Alexandru - Gabriel Ionicescu
hello, I have a project and I use django. I'm trying to do my migrations for bd but I can't do them. it gives me the error django.db.utils.OperationalError: no such table: user_user. I also made a User class (AbstractUser) and it still doesn't work. What can I do? I mention that in settings.py I

Re: python manage.py commonds: AttributeError: 'PosixPath' object has no attribute 'startswith'

2023-05-14 Thread David Du
>> If your change does not trigger an error otherwise, then you are probably >> fine. >> >> Regards, >> David >> >> >> On Mon, Apr 24, 2023 at 2:21 AM DL wrote: >> >>> Django 4.2 >>> Python 3.10.10 >>> >>> # pyt

Re: python manage.py commonds: AttributeError: 'PosixPath' object has no attribute 'startswith'

2023-04-26 Thread Julius Chesoni
; > BASE_DIR / 'someothervalue' > > If your change does not trigger an error otherwise, then you are probably > fine. > > Regards, > David > > > On Mon, Apr 24, 2023 at 2:21 AM DL wrote: > >> Django 4.2 >> Python 3.10.10 >> >> # py

Re: python manage.py commonds: AttributeError: 'PosixPath' object has no attribute 'startswith'

2023-04-25 Thread David Nugent
ou are probably fine. Regards, David On Mon, Apr 24, 2023 at 2:21 AM DL wrote: > Django 4.2 > Python 3.10.10 > > # python manage.py run_cmdb_worker > Traceback (most recent call last): > File "/usr/local/python/lib/python3.10/pkgutil.py", line 417, in > get_importer

python manage.py commonds: AttributeError: 'PosixPath' object has no attribute 'startswith'

2023-04-23 Thread DL
Django 4.2 Python 3.10.10 # python manage.py run_cmdb_worker Traceback (most recent call last): File "/usr/local/python/lib/python3.10/pkgutil.py", line 417, in get_importer importer = sys.path_importer_cache[path_item] KeyError: PosixPath('/www/cloudadmin') During h

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread Peter Mwai
> python manage.py runserver Watching for file changes with StatReloader Performing system checks... System check identified no issues (0 silenced). You have 18 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contentty

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread Balogun Awwal
27;Kasper Laudrup' via Django users >>> () escribió: >>> On 15/11/2022 18.49, Peter Mwai wrote: >>> > Hello experts, >>> > I was trying to start the server using 'python manage.py runserver' but >>> > encountered this error, >

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread Peter Mwai
incerely, > > Raúl Luján Delgado > > > > > > El mié, 16 nov 2022 a las 6:10, 'Kasper Laudrup' via Django users (< > django-users@googlegroups.com>) escribió: > >> On 15/11/2022 18.49, Peter Mwai wrote: >> > Hello experts, >> > I was

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread 'Kasper Laudrup' via Django users
On 16/11/2022 12.27, Jitendra kumar Patra wrote: Could you share what type of error you are getting? I'm not getting any errors. I don't know any more than you. We have to wait and see if Peter Mwai finds it relevant to share what is needed for any of us to help him. Kind regards, Kasper L

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread 'Kasper Laudrup' via Django users
On 16/11/2022 11.33, Raúl Luján Delgado wrote: Hello Kasper, Probably is a Windows problem, because if you follow the rules of differents tutorials, is easy to run the runserver, Could be. Could be any kind of problem really. Your guess is as good as mine. Only Peter Mwai knows but it do

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread Jitendra kumar Patra
Could you share what type of error you are getting? On Wed, Nov 16, 2022 at 2:39 PM 'Kasper Laudrup' via Django users < django-users@googlegroups.com> wrote: > On 15/11/2022 18.49, Peter Mwai wrote: > > Hello experts, > > I was trying to start the server using &

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread Raúl Luján Delgado
> On 15/11/2022 18.49, Peter Mwai wrote: > > Hello experts, > > I was trying to start the server using 'python manage.py runserver' but > > encountered this error, > > > > You have a bug somewhere in your code. That most likely happened after > you ma

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread 'Kasper Laudrup' via Django users
On 15/11/2022 18.49, Peter Mwai wrote: Hello experts, I was trying to start the server using 'python manage.py runserver' but encountered this error, You have a bug somewhere in your code. That most likely happened after you made a change somewhere. Look into what you change

MANAGE.PY RUNSERVER ERROR

2022-11-15 Thread Peter Mwai
Hello experts, I was trying to start the server using 'python manage.py runserver' but encountered this error, Exception ignored in thread started by: .wrapper at 0x0202E609EDE0> Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Py

Re: manage.py loaddata: Problem installing fixture... Email matching query does not exist

2022-10-17 Thread Luiz Angelo Daros de Luca
Hello Moritz, I have good news. I managed to migrate from sqlite3 to postgresql. You need to apply this patch and load each mailman app individually because it conflicts with existing objects, truncating the *_profile tables on the way. https://gitlab.com/mailman/hyperkitty/-/merge_requests/469

Re: manage.py loaddata: Problem installing fixture... Email matching query does not exist

2022-09-27 Thread Luiz Angelo Daros de Luca
Hello Moritz, I got the same problem doing the same mailman3 migration (but to a postgres db). Do you have a solution? Regards, -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it,

manage.py loaddata: Problem installing fixture... Email matching query does not exist

2022-07-07 Thread Moritz Both
handling of the above exception, another exception occurred: Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "*/home/daneben/*.local/lib/python3.8/site-packages/django/core/management/__init__.py", line 419, in e

Re: How replace "./manage.py < some_code.py" with "./some_code.py" for website scripts?

2022-06-07 Thread cseb...@gmail.com
Don't you sometimes have housekeeping chores that are done by scripts? Often those scripts want to access the ORM such as to update something in the database. I'm aware of notion of creating custom ./manage.py commands but a standalone scripts seems easier no? cs On Monday, June 6,

Re: How replace "./manage.py < some_code.py" with "./some_code.py" for website scripts?

2022-06-07 Thread cseb...@gmail.com
django.setup() > ` > > On Tue, 7 Jun 2022 at 04:17, Jason wrote: > >> Why? what's the purpose behind this? >> >> On Monday, June 6, 2022 at 12:27:58 PM UTC-4 cseb...@gmail.com wrote: >> >>> How replace "./manage.py < some_code.py" with &quo

Re: How replace "./manage.py < some_code.py" with "./some_code.py" for website scripts?

2022-06-06 Thread Muhammad Juwaini Abdul Rahman
nday, June 6, 2022 at 12:27:58 PM UTC-4 cseb...@gmail.com wrote: > >> How replace "./manage.py < some_code.py" with "./some_code.py" for >> website scripts? >> >> There seem to be a number of imports needed to make the 2nd version work. >> >&

Re: How replace "./manage.py < some_code.py" with "./some_code.py" for website scripts?

2022-06-06 Thread Jason
Why? what's the purpose behind this? On Monday, June 6, 2022 at 12:27:58 PM UTC-4 cseb...@gmail.com wrote: > How replace "./manage.py < some_code.py" with "./some_code.py" for website > scripts? > > There seem to be a number of imports needed to make

How replace "./manage.py < some_code.py" with "./some_code.py" for website scripts?

2022-06-06 Thread cseb...@gmail.com
How replace "./manage.py < some_code.py" with "./some_code.py" for website scripts? There seem to be a number of imports needed to make the 2nd version work. cs -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: simple command line ./manage.py shell puzzle

2022-04-25 Thread Antonis Christofides
have? And what version of Python and Django? And what OS? On 21/04/2022 22.28, cseb...@gmail.com wrote: Yes I agree.  But why does it complain that datetime doesn't exist when I do "  ./manage.py shell < test " ? Shouldn't it also not do anything like wh

Re: simple command line ./manage.py shell puzzle

2022-04-24 Thread Derek
ort datetime ; [e*e for e in [1,2]]" > test > > On Thursday, 21 April 2022 at 19:06:45 UTC+2 cseb...@gmail.com wrote: > >> Why does this fail?... >> >> % echo "import datetime ; [datetime for e in [1, 2]]" > test &g

Re: simple command line ./manage.py shell puzzle

2022-04-24 Thread Derek
On Thursday, 21 April 2022 at 19:06:45 UTC+2 cseb...@gmail.com wrote: > Why does this fail?... > > % echo "import datetime ; [datetime for e in [1, 2]]" > test > > % ./manage.py shell < test > > Traceback (most recent call last): > File "./manage.py

Re: simple command line ./manage.py shell puzzle

2022-04-22 Thread cseb...@gmail.com
red your commands exactly and the second one > does not provide any output. > > What shell do you have? And what version of Python and Django? And what OS? > > On 21/04/2022 22.28, cseb...@gmail.com wrote: > > Yes I agree. But why does it complain that datetime doesn't exist

Re: simple command line ./manage.py shell puzzle

2022-04-22 Thread cseb...@gmail.com
tly and the second one > does not provide any output. > > What shell do you have? And what version of Python and Django? And what OS? > > On 21/04/2022 22.28, cseb...@gmail.com wrote: > > Yes I agree. But why does it complain that datetime doesn't exist when I >

Re: simple command line ./manage.py shell puzzle

2022-04-21 Thread Antonis Christofides
exist when I do "  ./manage.py shell < test " ? Shouldn't it also not do anything like when I paste into a Python3 or Django shell as you did? cs On Thursday, April 21, 2022 at 2:10:39 PM UTC-5 larry.mart...@gmail.com wrote: On Thu, Apr 21, 2022 at 2:53 PM c

Re: simple command line ./manage.py shell puzzle

2022-04-21 Thread Larry Martell
5 larry.mart...@gmail.com > wrote: >> >> On Thu, Apr 21, 2022 at 1:06 PM cseb...@gmail.com wrote: >> > >> > Why does this fail?... >> > >> > % echo "import datetime ; [datetime for e in [1, 2]]" > test >> > >> &g

Re: simple command line ./manage.py shell puzzle

2022-04-21 Thread cseb...@gmail.com
fail?... > > > > % echo "import datetime ; [datetime for e in [1, 2]]" > test > > > > % ./manage.py shell < test > > > > Traceback (most recent call last): > > File "./manage.py", line 8, in > > django.core.management.execute_f

Re: simple command line ./manage.py shell puzzle

2022-04-21 Thread Larry Martell
On Thu, Apr 21, 2022 at 1:06 PM cseb...@gmail.com wrote: > > Why does this fail?... > > % echo "import datetime ; [datetime for e in [1, 2]]" > test > > % ./manage.py shell < test > > Traceback (most recent call l

simple command line ./manage.py shell puzzle

2022-04-21 Thread cseb...@gmail.com
Why does this fail?... % echo "import datetime ; [datetime for e in [1, 2]]" > test % ./manage.py shell < test Traceback (most recent call last): File "./manage.py", line 8, in django.core.management.execute_from_command_line(sys.argv) File "/usr/lib/py

Re: What is different about "./manage.py shell" vs. normal Python shell that makes this list comprehension not work anymore?

2021-09-29 Thread Christian Seberino
ppts if (a.service in *allowed*)] > El lunes, 20 de septiembre de 2021 a las 8:46:07 UTC-6, cseb...@gmail.com > escribió: > >> I noticed a list comprehension bombs in the "./manage.py shell" shell >> that I think would >> be ok in normal Python shell. What is dif

Re: What is different about "./manage.py shell" vs. normal Python shell that makes this list comprehension not work anymore?

2021-09-29 Thread Josué Alvarez
Try with: *global allowed* *allowed* = [e.service.name for e in aservs] ... servs = [a.service for a in appts if (a.service in *allowed*)] El lunes, 20 de septiembre de 2021 a las 8:46:07 UTC-6, cseb...@gmail.com escribió: > I noticed a list comprehension bombs in the "./manage.

What is different about "./manage.py shell" vs. normal Python shell that makes this list comprehension not work anymore?

2021-09-20 Thread cseb...@gmail.com
I noticed a list comprehension bombs in the "./manage.py shell" shell that I think would be ok in normal Python shell. What is different about "./manage.py shell" that makes it not like certain list comprehensions? Here is the code erase that I run this way..."./manage.

When is provide custom ip like python manage.py runserver cannot login or signup

2021-08-30 Thread Aditya Bohra
Please help on localhost or 127.0.0.1:8000 everything is working fine but when i provide ip and port authentication is doesn't work -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from i

Re: python manage.py magrate gives the below error with SQL SERVER (Please help)

2021-08-10 Thread 'Amitesh Sahay' via Django users
0.31python-dateutil      2.8.2python-mimeparse      1.6.0pytz                 2021.1setuptools           56.0.0six                  1.16.0sqlparse             0.4.1toml                 0.10.2wrapt                1.12.1 (mysite) C:\Python_Vik\mysite\myfirstsite>python manage.py migrateOperation

python manage.py magrate gives the below error with SQL SERVER (Please help)

2021-08-10 Thread Vikram Gajjala
0.10.2 wrapt1.12.1 (mysite) C:\Python_Vik\mysite\myfirstsite>*python manage.py migrate* Operations to perform: Apply all migrations: admin, auth, contenttypes, polls, sessions Running migrations: Applying polls.0004_choice_question...Traceback (most recent c

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-07-08 Thread Joseph Borge
4.0 >> make && make install >> >> 2. Add sqlite3 lib to lib search path: >> >> export LD_LIBRARY_PATH=/home/felix/.local/sqlite/default/lib >> export LD_RUN_PATH=/home/felix/.local/sqlite/default/lib >> >> 3. Compile Python 3.9.1 >> C_IN

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
efault/lib > export LD_RUN_PATH=/home/felix/.local/sqlite/default/lib > > 3. Compile Python 3.9.1 > C_INCLUDE_PATH=/home/felix/.local/sqlite/sqlite-3.34.0/include/ > CPLUS_INCLUDE_PATH=/home/felix/.local/sqlite/sqlite-3.34.0/include/ > LD_RUN_PATH=/home/felix/.local/sqlite/default/lib

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
ocal/sqlite/sqlite-3.34.0/include/ > LD_RUN_PATH=/home/felix/.local/sqlite/default/lib ./configure > --prefix=/home/felix/.local/python/python-3.9.1 --enable-optimizations > make && make install > > 4. Create a venv and install django and start a demo project > cd /tmp &

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread 'Amitesh Sahay' via Django users
install 4. Create a venv and install django and start a demo projectcd /tmp /home/felix/.local/python/python-3.9.1/bin/python3 -m venv venvsource venv/bin/activatepip install djangodjagno-admin startproject democd demo 4 Check sqlite3 lib version (seems to be OK, sqlite_version is 3.34.0) (venv) [fe

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread 'Amitesh Sahay' via Django users
--prefix=/home/felix/.local/python/python-3.9.1 --enable-optimizationsmake && make install 4. Create a venv and install django and start a demo projectcd /tmp /home/felix/.local/python/python-3.9.1/bin/python3 -m venv venvsource venv/bin/activatepip install djangodjagno-admin startproj

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
rt LD_RUN_PATH=/home/felix/.local/sqlite/default/lib >> >> 3. Compile Python 3.9.1 >> C_INCLUDE_PATH=/home/felix/.local/sqlite/sqlite-3.34.0/include/ >> CPLUS_INCLUDE_PATH=/home/felix/.local/sqlite/sqlite-3.34.0/include/ >> LD_RUN_PATH=/home/felix/.local/sqlite/defaul

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
e > --prefix=/home/felix/.local/python/python-3.9.1 --enable-optimizations > make && make install > > 4. Create a venv and install django and start a demo project > cd /tmp > /home/felix/.local/python/python-3.9.1/bin/python3 -m venv venv > source venv/bin/activate &g

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread 'Amitesh Sahay' via Django users
demo projectcd /tmp /home/felix/.local/python/python-3.9.1/bin/python3 -m venv venvsource venv/bin/activatepip install djangodjagno-admin startproject democd demo 4 Check sqlite3 lib version (seems to be OK, sqlite_version is 3.34.0) (venv) [felix@localhost blueprint]$ python manage.py shell Python

Re: python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
de/ > LD_RUN_PATH=/home/felix/.local/sqlite/default/lib ./configure > --prefix=/home/felix/.local/python/python-3.9.1 --enable-optimizations > make && make install > > 4. Create a venv and install django and start a demo project > cd /tmp > /home/felix/.local/python/python-3.

python manage.py runserver can not use newly compiled sqlite3 lib on CentOS 7

2021-01-20 Thread panfei
ngo djagno-admin startproject demo cd demo 4 Check sqlite3 lib version (seems to be OK, sqlite_version is 3.34.0) (venv) [felix@localhost blueprint]$ python manage.py shell Python 3.9.0 (default, Jan 20 2021, 12:53:25) [GCC 10.2.0] on linux Type "help", "copyright", "c

Re: 'python manage.py startapp polls' doesn't generate urls.py in polls

2020-12-07 Thread Julie Reier
Nevermind. I managed to create the missing file myself. On Monday, December 7, 2020 at 9:48:59 AM UTC-5 Julie Reier wrote: > Hi! I'm following the tutorial at > https://docs.djangoproject.com/en/3.1/intro/tutorial01/. > > When running the 'python manage.py startapp polls

Re: 'python manage.py startapp polls' doesn't generate urls.py in polls

2020-12-07 Thread Mohemed Misfar
Good evening, When u run the code python manage.py startapp, it wont create urls.py. You have to create it in your every apps after run that command. You will only have the urls.py file in your main app which has the settings.py. Thank you. On Mon, 7 Dec 2020 20:18 Julie Reier, wrote: > Hi!

'python manage.py startapp polls' doesn't generate urls.py in polls

2020-12-07 Thread Julie Reier
Hi! I'm following the tutorial at https://docs.djangoproject.com/en/3.1/intro/tutorial01/. When running the 'python manage.py startapp polls' command, the urls.py file is generated in the top level directory, but not in the polls directory. I even tried the tutorial a second t

Is this a bug on manage.py command: no such table: auth_permission?

2020-09-05 Thread cta...@gmail.com
Hi, I am getting an error django.db.utils.OperationalError: no such table: auth_permission on my manage.py command (makemigrations/migrate/runserver) I am not sure if this consider a bug or is it a problem of my setup. So I am checking here before filing bug report to the ticket tracker. To

Re: Python manage.py runserver error

2020-08-26 Thread Ajeet Kumar Gupt
Hi, Install django in virtual environment. Thanks On Wed, Aug 26, 2020, 6:57 AM ROHINI PUNDE wrote: > Hi, > while running "python manage.py runserver" I got this type of error ,I am > not understand how to to solve this problem.please help me out. > find out on thi

Re: Python manage.py runserver error

2020-08-25 Thread ROHINI PUNDE
t. > > On Wed, Aug 26, 2020 at 8:28 AM ROHINI PUNDE > wrote: > >> Hi, >> while running "python manage.py runserver" I got this type of error ,I >> am not understand how to to solve this problem.please help me out. >> find out on this attachment(

Re: Python manage.py runserver error

2020-08-25 Thread RANGA BHARATH JINKA
Hi, Please create a virtual environment, activate it and install django and other packages inside that environment. All the best. On Wed, Aug 26, 2020 at 8:28 AM ROHINI PUNDE wrote: > Hi, > while running "python manage.py runserver" I got this type of error ,I am >

Python manage.py runserver error

2020-08-25 Thread ROHINI PUNDE
Hi, while running "python manage.py runserver" I got this type of error ,I am not understand how to to solve this problem.please help me out. find out on this attachment(error.png) -- You received this message because you are subscribed to the Google Groups "Django users" g

Re: Error in manage.py when I do python manage.py runserver

2020-07-22 Thread Jagtar Singh Lakhyan
Use python3 & install if Not installed then run python3 manage.py runserver On Wed, Jul 22, 2020 at 8:08 PM Kovy Jacob wrote: > It gives me a syntax error > > Jacob-Mac-mini:TachlisGeredt kovyjacob$ python manage.py runserver > 0.0.0.0:8000 > File "manage.p

Error in manage.py when I do python manage.py runserver

2020-07-22 Thread Kovy Jacob
It gives me a syntax error Jacob-Mac-mini:TachlisGeredt kovyjacob$ python manage.py runserver 0.0.0.0:8000 File "manage.py", line 16 ) from exc: ^ SyntaxError: invalid syntax I didn’t edit manage.py yet, I literally just started the project. I was thinking maybe its a) a version erro

Re: manage.py is giving me an error

2020-07-21 Thread Jagtar Singh Lakhyan
Use python3 & install if Not installed On Tue, Jul 21, 2020 at 11:19 PM Kovy Jacob wrote: > Jacob-Mac-mini:TachlisGeredt kovyjacob$ python manage.py runserver > 0.0.0.0:8000 > > File "manage.py", line 16 > > ) from exc > > ^ > > Syntax

manage.py is giving me an error

2020-07-21 Thread Kovy Jacob
Jacob-Mac-mini:TachlisGeredt kovyjacob$ python manage.py runserver 0.0.0.0:8000 File "manage.py", line 16 ) from exc ^ SyntaxError: invalid syntax why am I getting an error, I never edited manage.py -- You received this message because you are subscribed to

Re: Invalid syntax on line 16 of manage.py

2020-07-20 Thread Arpana Mehta
Creating a virtual environment and then working might solve this issue. On Mon, 20 Jul 2020 at 15:28, Douglas Ii wrote: > While following the tutorial for creating your first Django app, I run > into a problem when entering the command line "python manage.py runserver" > int

Re: Invalid syntax on line 16 of manage.py

2020-07-20 Thread Larry Martell
On Mon, Jul 20, 2020 at 5:57 AM Douglas Ii wrote: > > While following the tutorial for creating your first Django app, I run into a > problem when entering the command line "python manage.py runserver" into my > terminal. I am using a mac and I get the Error message:

Invalid syntax on line 16 of manage.py

2020-07-20 Thread Douglas Ii
While following the tutorial for creating your first Django app, I run into a problem when entering the command line "python manage.py runserver" into my terminal. I am using a mac and I get the Error message: File "manage.py", line 16 ) from exc ^ SyntaxE

Re: Manage.py not working

2020-06-25 Thread Sainikhil Avula
Hey Tanisha try this command (django-admin startapp appName) On Saturday, 20 June 2020 21:12:02 UTC+5:30, Tanisha Jain wrote: > > Hi everyone, > I am new to Django platform. Whenever I am trying to create a new app > using ( python manage.py startapp app1) then I am not able t

Re: Manage.py not working

2020-06-24 Thread Najath
Try python3 manage.py On Sat, 20 Jun 2020, 9:11 pm Tanisha Jain, wrote: > Hi everyone, > I am new to Django platform. Whenever I am trying to create a new app > using ( python manage.py startapp app1) then I am not able to create app. > Neither I get any error message in logs. Can

Manage.py not working

2020-06-24 Thread Ogunsanya Opeyemi
Install manage.py using pip -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the

Re: Manage.py not working

2020-06-23 Thread Oleg Kishenkov
Hello, please follow this tutorial https://www.jetbrains.com/help/pycharm/creating-django-project.html, instead of MyDjangoProject type test1. Make sure a virtual environment is created for your project (step 1). Then go to Tools -> Run manage.py Task (or press Ctrl+Alt+r), type startapp a

Re: Manage.py not working

2020-06-22 Thread Puneet Makhija
gt; > On Sat, 20 Jun 2020, 9:11 pm Tanisha Jain, > wrote: > >> Hi everyone, >> I am new to Django platform. Whenever I am trying to create a new app >> using ( python manage.py startapp app1) then I am not able to create app. >> Neither I get any error message

Re: Manage.py not working

2020-06-22 Thread Piyush Jangid
e a new app > using ( python manage.py startapp app1) then I am not able to create app. > Neither I get any error message in logs. Can someone plz suggest me what to > do now? > > -- > You received this message because you are subscribed to the Google Groups > "Django use

Error while using manage.py

2020-06-22 Thread fordaX
Make sure you have sqlite installed on your Windows machine. You can install it from the link below: https://www.sqlite.org/download.html -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

Re: Error while using manage.py

2020-06-22 Thread misraX x
t; >> [image: Screenshot (48).png] >> >> I am using conda virtual enviroment to use django for my project . I am >> learning django from telusko youtube channel . First time while using >> python manage.py runserver , python manage.py startapp hari . Everything >>

Re: Error while using manage.py

2020-06-22 Thread Franz Ulenaers
please install sqlite3 Op maandag 22 juni 2020 16:17:54 UTC+2 schreef NAVEEN RS: > > [image: Screenshot (48).png] > > I am using conda virtual enviroment to use django for my project . I am > learning django from telusko youtube channel . First time while using > python m

Re: Manage.py not working

2020-06-21 Thread Raj Patel
Use django-admin startapp app1 On Sat 20 Jun, 2020, 9:11 PM Tanisha Jain, wrote: > Hi everyone, > I am new to Django platform. Whenever I am trying to create a new app > using ( python manage.py startapp app1) then I am not able to create app. > Neither I get any error message

Re: Manage.py not working

2020-06-21 Thread Piyush Jangid
Please do django-admin startapp app1 in your directory i.e test 1. Your app will be there Thank you On Sat, 20 Jun 2020, 9:11 pm Tanisha Jain, wrote: > Hi everyone, > I am new to Django platform. Whenever I am trying to create a new app > using ( python manage.py startapp app1) then

Re: Manage.py not working

2020-06-21 Thread Saurabh Ranjan Singh
o test1 folder then run this command. >>> >>> On Sat, 20 Jun, 2020, 9:11 pm Tanisha Jain, >>> wrote: >>> >>>> Hi everyone, >>>> I am new to Django platform. Whenever I am trying to create a new app >>>> using ( python manage.

Re: Manage.py not working

2020-06-20 Thread Adya Mit
go to test1 folder then run this command. >> >> On Sat, 20 Jun, 2020, 9:11 pm Tanisha Jain, >> wrote: >> >>> Hi everyone, >>> I am new to Django platform. Whenever I am trying to create a new app >>> using ( python manage.py startapp app1) th

Re: Manage.py not working

2020-06-20 Thread chaitanya orakala
Hi Tanisha, You are in root directory of project which is test1. you just need to change your directory into sub-directory which has same name test1. just do 'ls' command to make sure you have manage.py in that folder. Hope this helps!! On Sat, Jun 20, 2020 at 1:03 PM Vishesh Man

RE: Manage.py not working

2020-06-20 Thread Vishesh Mangla
I meant INSTALLED APPS= [], a correction. Sent from Mail for Windows 10 From: Vishesh ManglaSent: 20 June 2020 22:31To: django-users@googlegroups.comSubject: RE: Manage.py not working Isn’t test1 the ‘name’ that you had put in ‘django-admin startproject  ’? Then after this you are supposed to

RE: Manage.py not working

2020-06-20 Thread Vishesh Mangla
Isn’t test1 the ‘name’ that you had put in ‘django-admin startproject  ’? Then after this you are supposed to change directory and get into where you find a folder with again. Then you make an app with “python manage.py startapp ” I can’t see any apps there. Also you need to put your ‘appname

Re: Manage.py not working

2020-06-20 Thread maninder singh Kumar
=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb> On Sat, Jun 20, 2020 at 9:12 PM Tanisha Jain wrote: > Hi everyone, > I am new to Django platform. Whenever I am trying to create a new app > using ( python manage.py startapp app1) then I am not abl

Re: Manage.py not working

2020-06-20 Thread Tanisha Jain
ryone, >> I am new to Django platform. Whenever I am trying to create a new app >> using ( python manage.py startapp app1) then I am not able to create app. >> Neither I get any error message in logs. Can someone plz suggest me what to >> do now? >> >> -- >&

Re: Manage.py not working

2020-06-20 Thread Vishesh Mangla
I am new to Django platform. Whenever I am trying to create a new app >> using ( python manage.py startapp app1) then I am not able to create app. >> Neither I get any error message in logs. Can someone plz suggest me what to >> do now? >> >> -- >> You receiv

Re: Manage.py not working

2020-06-20 Thread ankit baliyan
First of all go to test1 folder then run this command. On Sat, 20 Jun, 2020, 9:11 pm Tanisha Jain, wrote: > Hi everyone, > I am new to Django platform. Whenever I am trying to create a new app > using ( python manage.py startapp app1) then I am not able to create app. > Neither I g

Manage.py not working

2020-06-20 Thread Tanisha Jain
Hi everyone, I am new to Django platform. Whenever I am trying to create a new app using ( python manage.py startapp app1) then I am not able to create app. Neither I get any error message in logs. Can someone plz suggest me what to do now? -- You received this message because you are

Re: python manage.py runserver error

2020-06-19 Thread Robert Rajendra
e into the installed Apps in the Settings file >> >> On Fri, 19 Jun, 2020, 5:27 PM RANGA BHARATH JINKA, < >> bharathjink...@gmail.com> wrote: >> >>> Hi, >>> You have to go into your django project folder where manage.py file >>> is located.

Re: python manage.py runserver error

2020-06-19 Thread Archit Keshri
On Fri, 19 Jun, 2020, 5:31 PM DHRUVA, wrote: > Just try adding appname into the installed Apps in the Settings file > > On Fri, 19 Jun, 2020, 5:27 PM RANGA BHARATH JINKA, < > bharathjink...@gmail.com> wrote: > >> Hi, >> You have to go into your django pr

Re: python manage.py runserver error

2020-06-19 Thread DHRUVA
Just try adding appname into the installed Apps in the Settings file On Fri, 19 Jun, 2020, 5:27 PM RANGA BHARATH JINKA, wrote: > Hi, > You have to go into your django project folder where manage.py file is > located. Test with using "ls" inside your command prompt. All t

  1   2   3   4   5   6   7   8   9   10   >