final project in django - help

2023-07-16 Thread Alexandru - Gabriel Ionicescu
Hello,

who can help me with the final project in django? in a week I have to hand
it over and I got into trouble with it. I can't access github.
Please help me.

Tnx,
Alex

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAKsnQnS6KtEXw_aDy3mUq1sywOHORC7Tv18%3D%3DxD9UthL-P7aCg%40mail.gmail.com.


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 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:
>
>> 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.
>>> 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 have:
>>>   DATABASES = {
>>>  'default': {
>>>  'ENGINE': 'django.db.backends.sqlite3',
>>>  'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
>>>  }
>>> }
>>> MEDIA_ROOT = os.path.join(BASE_DIR, 'images')
>>> MEDIA_URL = '/images/'
>>>
>>> --
>>> 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 web visit
>>> https://groups.google.com/d/msgid/django-users/3e36f332-c199-41b7-baf3-43da1c3d437en%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/3e36f332-c199-41b7-baf3-43da1c3d437en%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/CA%2BZJHEoB-ooH_sJmPCb8fNrPs1L6rrOvmuwbTS6MKQb8Z3biWg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CA%2BZJHEoB-ooH_sJmPCb8fNrPs1L6rrOvmuwbTS6MKQb8Z3biWg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAJkmis3DA%2BCUJW%3DJs_wO1skrRdUEKJrM7C9%3DvoCTyrKjkN7kwg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJkmis3DA%2BCUJW%3DJs_wO1skrRdUEKJrM7C9%3DvoCTyrKjkN7kwg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAKsnQnTbPxZoy2cHxDRgSeuEqBPrNK-xTm4D-JOAEdz%2Bknjadg%40mail.gmail.com.


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 have:
  DATABASES = {
 'default': {
 'ENGINE': 'django.db.backends.sqlite3',
 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
 }
}
MEDIA_ROOT = os.path.join(BASE_DIR, 'images')
MEDIA_URL = '/images/'

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/3e36f332-c199-41b7-baf3-43da1c3d437en%40googlegroups.com.