help

2023-12-22 Thread Abdoulaye SENE
hello i am using docker. after building, i see this mistake "ERROR: failed 
to solve: python:3.9-alpine3.13: failed to authorize: failed to fetch oauth 
token: unexpected status from GET request to h 
ttps://auth.docker.io/token?scope=repository%3Alibra"

-- 
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/c35b52d1-6717-4277-92eb-968bcb6ee751n%40googlegroups.com.


help

2023-12-15 Thread Abdoulaye SENE
hello forks! i need your help. in my codes i see "extend_schema_view" is 
not defined. so i see that it is not defined but i do not know in which 
package it is.
@extend_schema_view( 
list=extend_schema(
parameters=[
OpenApiParameter(
'assigned_only',
OpenApiTypes.INT, enum=[0, 1],
description='Filter by items assigned to recipes',
)
]
)
)

-- 
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/dc7c29ca-76b4-4bf7-907c-f1db1a1a6bd9n%40googlegroups.com.


Re: hello forks.i have in my sitting file :

2023-08-29 Thread Abdoulaye SENE
thanks for the help but i see this :  In Django, application names are used
as part of the project's import system and as identifiers for various
purposes within the project. While it's not a strict requirement for
application names to be valid Python package names, it's generally a good
practice to follow the same rules for naming your Django applications as
you would for naming Python packages.

Le mar. 29 août 2023 à 00:41, Maxwell Amoako Agyapong <
maxwellamoakoagyap...@gmail.com> a écrit :

> All django apps must be valid package names. etudiantAuth is not a valid
> package name.
>
> PEP 8: http://www.python.org/dev/peps/pep-0008/  enforces that:
>
> Modules should have short, all-lowercase names. Underscores can be used in
> the module name if it improves readability. Python packages should also
> have short, all-lowercase names, although the use of underscores is
> discouraged.
>
> On Monday, 28 August 2023 at 15:40:06 UTC+1 Vishesh Mangla wrote:
>
>> Just move forward with your code , dint give attention to red squiggly at
>> this stage
>>
>> On Mon, 28 Aug, 2023, 20:08 Vishesh Mangla,  wrote:
>>
>>> Edtudiant is French not English
>>>
>>> On Mon, 28 Aug, 2023, 19:45 Abdoulaye SENE, 
>>> wrote:
>>>
>>>> i don't understand
>>>>
>>>>
>>>> Le lun. 28 août 2023 à 14:09, Vishesh Mangla  a
>>>> écrit :
>>>>
>>>>> That's just a linting error, ignore it
>>>>>
>>>>> On Mon, 28 Aug, 2023, 19:35 Abdoulaye SENE, 
>>>>> wrote:
>>>>>
>>>>>> [image: Cap0.PNG]
>>>>>> but when i make python manage.py migrate, i only see [image:
>>>>>> Capt.PNG]
>>>>>>
>>>>>> --
>>>>>> 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...@googlegroups.com.
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/django-users/d1c23612-2c79-4a82-98a3-3a7eaf27fc05n%40googlegroups.com
>>>>>> <https://groups.google.com/d/msgid/django-users/d1c23612-2c79-4a82-98a3-3a7eaf27fc05n%40googlegroups.com?utm_medium=email_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...@googlegroups.com.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/CACaE8x6E-RsjhwLi3QpCh6RvjzSWXT-OCztc-VPG9Za6aq4BNw%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CACaE8x6E-RsjhwLi3QpCh6RvjzSWXT-OCztc-VPG9Za6aq4BNw%40mail.gmail.com?utm_medium=email_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...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/CAK9RMT1e7UQ9JvpwgQ%3D86CCNac0tJ%2BC7ZmZbesGHFhS-j8XXCw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAK9RMT1e7UQ9JvpwgQ%3D86CCNac0tJ%2BC7ZmZbesGHFhS-j8XXCw%40mail.gmail.com?utm_medium=email_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/2fd4bf30-d9e1-4879-ab1e-9eeb3fa105c9n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/2fd4bf30-d9e1-4879-ab1e-9eeb3fa105c9n%40googlegroups.com?utm_medium=email_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/CAK9RMT13m0-hoEsV00LMvcrc7MmDOmyNouhD2KzvYREAUFXQEQ%40mail.gmail.com.


Re: hello forks.i have in my sitting file :

2023-08-28 Thread Abdoulaye SENE
i ignore it. but when i continue , i see this [image: Captu.PNG]

Le lun. 28 août 2023 à 14:14, Abdoulaye SENE 
a écrit :

> i don't understand
>
>
> Le lun. 28 août 2023 à 14:09, Vishesh Mangla 
> a écrit :
>
>> That's just a linting error, ignore it
>>
>> On Mon, 28 Aug, 2023, 19:35 Abdoulaye SENE, <
>> abdoulaye.sen...@unchk.edu.sn> wrote:
>>
>>> [image: Cap0.PNG]
>>> but when i make python manage.py migrate, i only see [image: Capt.PNG]
>>>
>>> --
>>> 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/d1c23612-2c79-4a82-98a3-3a7eaf27fc05n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/d1c23612-2c79-4a82-98a3-3a7eaf27fc05n%40googlegroups.com?utm_medium=email_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/CACaE8x6E-RsjhwLi3QpCh6RvjzSWXT-OCztc-VPG9Za6aq4BNw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CACaE8x6E-RsjhwLi3QpCh6RvjzSWXT-OCztc-VPG9Za6aq4BNw%40mail.gmail.com?utm_medium=email_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/CAK9RMT2J3LVCqveUk%3DqNgxU-9z5rAQY-N%2BV5G_o-fZwc1NxCow%40mail.gmail.com.


Re: hello forks.i have in my sitting file :

2023-08-28 Thread Abdoulaye SENE
i don't understand


Le lun. 28 août 2023 à 14:09, Vishesh Mangla  a
écrit :

> That's just a linting error, ignore it
>
> On Mon, 28 Aug, 2023, 19:35 Abdoulaye SENE, 
> wrote:
>
>> [image: Cap0.PNG]
>> but when i make python manage.py migrate, i only see [image: Capt.PNG]
>>
>> --
>> 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/d1c23612-2c79-4a82-98a3-3a7eaf27fc05n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/d1c23612-2c79-4a82-98a3-3a7eaf27fc05n%40googlegroups.com?utm_medium=email_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/CACaE8x6E-RsjhwLi3QpCh6RvjzSWXT-OCztc-VPG9Za6aq4BNw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACaE8x6E-RsjhwLi3QpCh6RvjzSWXT-OCztc-VPG9Za6aq4BNw%40mail.gmail.com?utm_medium=email_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/CAK9RMT1e7UQ9JvpwgQ%3D86CCNac0tJ%2BC7ZmZbesGHFhS-j8XXCw%40mail.gmail.com.


hello forks.i have in my sitting file :

2023-08-28 Thread Abdoulaye SENE
[image: Cap0.PNG]
but when i make python manage.py migrate, i only see [image: Capt.PNG]

-- 
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/d1c23612-2c79-4a82-98a3-3a7eaf27fc05n%40googlegroups.com.


Re: hello forks, i need help

2023-08-17 Thread Abdoulaye SENE
the problem is i don't see users  in admin.i only see groups. do not know
why.


Le jeu. 17 août 2023 à 16:48, Abdoulaye SENE 
a écrit :

> thanks a lot
>
>
> Le jeu. 17 août 2023 à 16:38, ivan harold  a
> écrit :
>
>> https://www.w3schools.com/django/django_admin_create_user.php
>> check this one out.
>>
>> On Thursday, August 17, 2023 at 8:26:29 AM UTC-5 Abdoulaye SENE wrote:
>>
>>> i have created a group named adminis. how to create users in the group
>>> using django admin
>>>
>>> --
>> 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/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%40googlegroups.com?utm_medium=email_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/CAK9RMT3MKx9FZ7uwUwLndMgEoPYb3W8a7Otn0zTGUGWaK9G88w%40mail.gmail.com.


Re: hello forks, i need help

2023-08-17 Thread Abdoulaye SENE
thanks a lot


Le jeu. 17 août 2023 à 16:38, ivan harold  a
écrit :

> https://www.w3schools.com/django/django_admin_create_user.php
> check this one out.
>
> On Thursday, August 17, 2023 at 8:26:29 AM UTC-5 Abdoulaye SENE wrote:
>
>> i have created a group named adminis. how to create users in the group
>> using django admin
>>
>> --
> 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/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%40googlegroups.com?utm_medium=email_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/CAK9RMT2DRKUkiVUufEzcya%3Dh91%2BMfQuQS%2BLQhcy5J2XTG406Sw%40mail.gmail.com.


hello forks, i need help

2023-08-17 Thread Abdoulaye SENE
i have created a group named adminis. how to create users in the group 
using django admin

-- 
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/45e78c82-e392-4a3e-83ec-a0e2d7189f3fn%40googlegroups.com.


Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread Abdoulaye SENE
i have to add fields to my class. because i have other fields.normal this
problem has a solution


Le jeu. 10 août 2023 à 19:04, 'Kasper Laudrup' via Django users <
django-users@googlegroups.com> a écrit :

> On 10/08/2023 19.11, Abdoulaye SENE wrote:
> > class Administratif(models.Model):
> > nom = models.CharField(max_length=250)
> > prenom = models.CharField(max_length=250)
> > email = models.EmailField(max_length=250)
> > tel = models.IntegerField()
> > annEmploi = models.IntegerField(null=True,)
> >
> > def __str__(self):
> > return self.nom
> >
>
> If it works when you don't add fields to the class, then don't add
> fields to the class.
>
> That way it will continue to work and will not stop to work.
>
> I assume you prefer it work instead of not working?
>
> Kind regards,
> Kasper Laudrup
>
> --
> 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/4179188c-96c0-4725-906c-01112c3ecf57%40stacktrace.dk
> .
>

-- 
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/CAK9RMT3H%2BXAqOM11g0Q9ZGDRZV16uNG6fmAVk6MKt8bg6AUgGw%40mail.gmail.com.


hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread Abdoulaye SENE
class Administratif(models.Model):
nom = models.CharField(max_length=250)
prenom = models.CharField(max_length=250)
email = models.EmailField(max_length=250)
tel = models.IntegerField()
annEmploi = models.IntegerField(null=True,)

def __str__(self):
return self.nom

-- 
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/77ad79f8-fe76-4d70-87ef-c35128075fd8n%40googlegroups.com.


Re: need help

2023-07-04 Thread Abdoulaye SENE
thanks for the help. but after  writing ["*"] i see   Server Error (500)

Le mardi 4 juillet 2023 à 14:46:01 UTC, ALBERT ASHABA AHEEBWA a écrit :

> Sorry I meant turn 
> DEBUG = True
>
>
>
>
> Best Regards,
>
> Albert Ashaba Aheebwa
> +256 781 435857 <+256%20781%20435857>
>
> On Tue, 4 Jul 2023, 17:44 ALBERT ASHABA AHEEBWA,  
> wrote:
>
>> Go to your settings.py and look for allowed_hosts and make it 
>> ALLOWED_HOSTS = ["*"]
>>
>> or better yet, if you are in development, turn
>> DEBUG = False
>>
>>
>>
>> Best Regards,
>>
>> Albert Ashaba Aheebwa
>> +256 781 435857 <+256%20781%20435857>
>>
>> On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE,  
>> wrote:
>>
>>> hello,
>>> while programming, i see this problem : " CommandError: You must set 
>>> settings.ALLOWED_HOSTS if DEBUG is False."
>>> i wonder if someone can help me to fix it.
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%40googlegroups.com?utm_medium=email_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/82b9160b-6056-4cc6-9fa5-6d52de5512a1n%40googlegroups.com.


need help

2023-07-04 Thread Abdoulaye SENE
hello,
while programming, i see this problem : " CommandError: You must set 
settings.ALLOWED_HOSTS if DEBUG is False."
i wonder if someone can help me to fix it.

-- 
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/171c894c-5f04-445d-939f-c6c949caae35n%40googlegroups.com.