ANYONE CAN HELP ME

2024-04-02 Thread arts maxwell Anderson
hello i have this error , i want to uppload multiple django image 
ValueError: FileInput doesn't support uploading multiple files.
any one can help me 

class FormImages(ModelForm):
multiple_image= forms.ImageField(widget=forms.FileInput(attrs= {
'multiple': True}))

class Meta:

model = Images
fields=['multiple_image']


#create prodcut in function 
def create_product(request):
form_image = FormImages()
form = FormCretaeProdcut()

if request.method == 'POST':
files = request.FILES.getlist('multiple_image')
form = FormCretaeProdcut(request.POST, request.FILES)
if form.is_valid():
product = form.save(commit=False)
product.save()
product.user = request.user
product.save()
for file in files :
Images.objects.create(product=product , images=file)
else:
form = FormCretaeProdcut()
return render(request, 'create_product.html', {'form':form, 'i_form':
form_image}) 

-- 
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/c5cf6e10-68a1-4ceb-915d-df489db9b863n%40googlegroups.com.


Re: Django group

2022-09-27 Thread arts maxwell Anderson
Hello everyone
I'm Kouamou, Django developer,
Add me too
On this group

+237699812189

Le mar. 27 sept. 2022 à 16:59, sachin bhagat  a
écrit :

> Hii pls add me in group
>
> +918879399361
>
> On Tue, Sep 27, 2022, 8:11 PM Chris Adebiyi <
> adebiyichristophe...@gmail.com> wrote:
>
>> I'm interested, you can add me via +2348161201965
>>
>> On Tuesday, September 27, 2022, André Lewis 
>> wrote:
>>
>>> Hi! could you add me as well,
>>> +18762382482
>>>
>>> On Mon, 26 Sept 2022 at 20:45, Adolfo Duque León Fresneda
>>> (MisterRevenue)  wrote:
>>>
 hello if you can send me the link or add me +529381108109.. greeting
 from Mexico

 El lunes, 26 de septiembre de 2022 a las 7:54:05 UTC-5,
 farid...@gmail.com escribió:

> Hello fellow developers, I will be creating a WhatsApp group chat
> later in the day, So I will like my fellow Python Django Developers to 
> join
> the group. It will be much easier to discuss there and I will sacrifice
> myself out for anyone who need my service.
>
> God bless you all
> Enjoy your day
> Biliaminu
>
 --
 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/1e19374b-65cb-4fd0-8533-7cc5751fc1f2n%40googlegroups.com
 
 .

>>> --
>>> 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/CAJN6x_jJ8w_QBGWOEaXjgO9fChofhZ28fBZ5t9b%2BWyGipSvmsw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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%2B1vV4DKy0qJxmC0t5i1YbR4QAXeFkM_bwxJxXqBv%2B6ZssRByg%40mail.gmail.com
>> 
>> .
>>
> --
> 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/CABqfR%3D7DUOFPAsK_Y11Lq6JXWbRBBFe_nPS_baPRj8rbpWgQqg%40mail.gmail.com
> 
> .
>

-- 
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/CAK83AirX-GkmSmMTecZmVWAAQaVmqd7pFnTeShkYtS%2B_n8WE1w%40mail.gmail.com.


Re:

2022-09-27 Thread arts maxwell Anderson
Hello l'm Django developer,
Add me
+237 699812189

Le mar. 27 sept. 2022 à 16:59, sachin bhagat  a
écrit :

> Hii pls add me in group
>
> +918879399361
>
> On Tue, Sep 27, 2022, 8:11 PM Chris Adebiyi <
> adebiyichristophe...@gmail.com> wrote:
>
>> I'm interested, you can add me via +2348161201965
>>
>> On Tuesday, September 27, 2022, André Lewis 
>> wrote:
>>
>>> Hi! could you add me as well,
>>> +18762382482
>>>
>>> On Mon, 26 Sept 2022 at 20:45, Adolfo Duque León Fresneda
>>> (MisterRevenue)  wrote:
>>>
 hello if you can send me the link or add me +529381108109.. greeting
 from Mexico

 El lunes, 26 de septiembre de 2022 a las 7:54:05 UTC-5,
 farid...@gmail.com escribió:

> Hello fellow developers, I will be creating a WhatsApp group chat
> later in the day, So I will like my fellow Python Django Developers to 
> join
> the group. It will be much easier to discuss there and I will sacrifice
> myself out for anyone who need my service.
>
> God bless you all
> Enjoy your day
> Biliaminu
>
 --
 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/1e19374b-65cb-4fd0-8533-7cc5751fc1f2n%40googlegroups.com
 
 .

>>> --
>>> 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/CAJN6x_jJ8w_QBGWOEaXjgO9fChofhZ28fBZ5t9b%2BWyGipSvmsw%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> 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%2B1vV4DKy0qJxmC0t5i1YbR4QAXeFkM_bwxJxXqBv%2B6ZssRByg%40mail.gmail.com
>> 
>> .
>>
> --
> 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/CABqfR%3D7DUOFPAsK_Y11Lq6JXWbRBBFe_nPS_baPRj8rbpWgQqg%40mail.gmail.com
> 
> .
>

-- 
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/CAK83Aiq1cxQYty6KiV1LCWr4bE15vJXCAaebpyoroLpEt_-Fcg%40mail.gmail.com.


Re: Aad me to the groso

2022-09-27 Thread arts maxwell Anderson
Hello l'm Django developer,

+237 699812189

Le mar. 27 sept. 2022 à 16:41,  a écrit :

> Ok, add me to the group +54 9 1164446437
>
> Enviado desde mi iPhone
>
> --
> 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/3AFC9305-35C3-495C-A936-79972EBBF431%40gmail.com
> .
>

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


Re: Django DB connectivity to DB running in different server.

2022-09-12 Thread arts maxwell Anderson
hello guys i need to django ? anyone can help me

2022-09-12 8:29 UTC+01:00, Anh Nguyen :
> You should ask djongo group
>
> On Mon, 12 Sep 2022 at 13:29 Prabakaran Balaji 
> wrote:
>
>> *Hello Django Users,*
>>
>> Need some support on database connectivity in my django application. It's
>> trying to connect with localhost even after specifying the IP address.
>> Getting below error, could someone pls look into this?
>>
>> *Error - *
>> Watching for file changes with StatReloader
>> Performing system checks...
>>
>> System check identified no issues (0 silenced).
>> Exception in thread django-main-thread:
>> Traceback (most recent call last):
>>   File "/usr/lib/python3.6/threading.py", line 916, in _bootstrap_inner
>> self.run()
>>   File "/usr/lib/python3.6/threading.py", line 864, in run
>> self._target(*self._args, **self._kwargs)
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/utils/autoreload.py",
>> line 64, in wrapper
>> fn(*args, **kwargs)
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/core/management/commands/runserver.py",
>> line 121, in inner_run
>> self.check_migrations()
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/core/management/base.py",
>> line 486, in check_migrations
>> executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/db/migrations/executor.py",
>> line 18, in __init__
>> self.loader = MigrationLoader(self.connection)
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/db/migrations/loader.py",
>> line 53, in __init__
>> self.build_graph()
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/db/migrations/loader.py",
>> line 220, in build_graph
>> self.applied_migrations = recorder.applied_migrations()
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/db/migrations/recorder.py",
>> line 77, in applied_migrations
>> if self.has_table():
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/db/migrations/recorder.py",
>> line 56, in has_table
>> tables = self.connection.introspection.table_names(cursor)
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/db/backends/base/introspection.py",
>> line 52, in table_names
>> return get_names(cursor)
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/django/db/backends/base/introspection.py",
>> line 47, in get_names
>> return sorted(ti.name for ti in self.get_table_list(cursor)
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/djongo/introspection.py", line
>> 47, in get_table_list
>> for c in cursor.db_conn.list_collection_names()
>>   File "/app/pkg/venv/lib/python3.6/site-packages/pymongo/database.py",
>> line 875, in list_collection_names
>> return [result["name"] for result in
>> self.list_collections(session=session, **kwargs)]
>>   File "/app/pkg/venv/lib/python3.6/site-packages/pymongo/database.py",
>> line 827, in list_collections
>> return self.__client._retryable_read(_cmd, read_pref, session)
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/pymongo/mongo_client.py", line
>> 1364, in _retryable_read
>> server = self._select_server(read_pref, session, address=address)
>>   File
>> "/app/pkg/venv/lib/python3.6/site-packages/pymongo/mongo_client.py", line
>> 1196, in _select_server
>> server = topology.select_server(server_selector)
>>   File "/app/pkg/venv/lib/python3.6/site-packages/pymongo/topology.py",
>> line 251, in select_server
>> servers = self.select_servers(selector, server_selection_timeout,
>> address)
>>   File "/app/pkg/venv/lib/python3.6/site-packages/pymongo/topology.py",
>> line 212, in select_servers
>> server_descriptions = self._select_servers_loop(selector,
>> server_timeout, address)
>>   File "/app/pkg/venv/lib/python3.6/site-packages/pymongo/topology.py",
>> line 229, in _select_servers_loop
>> % (self._error_message(selector), timeout, self.description)
>> pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [Errno 111]
>> Connection refused, Timeout: 30s, Topology Description:
>> > Unknown,
>> servers: [> rtt: None, error=AutoReconnect('localhost:27017: [Errno 111] Connection
>> refused',)>]>
>>
>> *settings.py - DB part*
>>
>> *-*
>>
>> DATABASES = {
>> 'default': {
>> 'ENGINE': 'djongo',
>> 'NAME': 'app_db',
>> 'USER': 'app_user',
>> 'PASSWORD': 'app_pwd',
>> 'HOST': '10.111.0.1',
>> 'PORT': '27017'
>> }
>> }
>>
>>
>> Thanks,
>> Prabakaran
>>
>>
>> --
>> 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/CAK7fxT_UiuBQpoesAR4W12epW2dH9tfsAh4Q8kqycPExANTsEg%40mail.gmail.com
>> 

Re: What Programming Language should i learn

2022-09-10 Thread arts maxwell Anderson
i need job in django anyone 

Le jeudi 1 septembre 2022 à 20:13:10 UTC+1, subtitle indo a écrit :

> We have received your message and will be in touch withinSorry not to 
> reply sooner.Sorry not to reply sooner.Sorry not to reply sooner.
>
> On Tue, Aug 30, 2022 at 3:59 PM Shailesh Yadav  
> wrote:
>
>> LOL, You mean you learned Django without first learning Python?.
>>
>> It depends but My suggestion would be to learn Python and later learn C++ 
>> (So then you will get much clarity on what is the difference between these 
>> two languages). Then after that, you can learn Data structure and 
>> Algorithms.
>>
>>
>> Thanks & Regards
>> Shailesh Yadav
>> +91-9920886044 <+91%2099208%2086044>
>>
>>   [image: Linkedin] 
>>  
>>
>>
>>
>> On Tue, Aug 30, 2022 at 8:12 PM Ryan Nowakowski  
>> wrote:
>>
>>> On Tue, Aug 30, 2022 at 03:35:26PM +0100, fawemimo olawale wrote:
>>> > Which of these  programming language should i learn
>>> > 
>>> > Please I need counselling on this two language though i have prior
>>> > knowledge on Python Web Framework (Django) as a beginner's but i want
>>> > Backend Language
>>> > 
>>> > JAVA or ASP.Net
>>>
>>> Python!  But of course this list is biased :)
>>>
>>> -- 
>>> 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/20220830144155.GD1858%40fattuba.com
>>> .
>>>
>> -- 
>> 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/CAMQ-AEUg0gV0CXmeGCogZ2s1hkGsBJoC5t9kwYNvCBqRKmczcg%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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/79bbbefc-30ee-49dc-900a-0e0a8a1e612bn%40googlegroups.com.