Re: Select Boxes and Database

2023-12-07 Thread Swarup Selvaraj
Hi David,

The functionality you are interested in is called as *Cascading Dropdown*.

Below are few examples recommended by Bing Chat powered by GPT-4:

   - django-cascading-dropdown-widget · PyPI 
   : This is a 
   package that provides a cascading-dropdown widget for django. It allows you 
   to create a dropdown list that depends on the selection of another dropdown 
   list. It has examples of how to use it with different models and choices 
   generators.
   - How to Create Cascading Dropdown List in Django python 
   
:
 
   This is a tutorial that shows how to create a cascading/dependent dropdown 
   list in django python using jQuery. It has the code for creating the 
   models, views, urls, and template for the application.
   - Django/jQuery Cascading Select Boxes? - Stack Overflow 
   
:
 
   This is a question and answer thread that discusses how to create cascading 
   select boxes in django using jQuery. It has some suggestions of how to use 
   hidden fields, ajax calls, and custom widgets to achieve the desired 
   functionality.
   - Cascading Dropdowns using Javascript - Stack Overflow 
   
:
 
   This is another question and answer thread that explains how to create 
   cascading dropdowns using javascript. It has a simple example of how to use 
   an object to store the options and a function to populate the select 
   elements.


Regards,
SWARUP Selvaraj
On Sunday 3 December 2023 at 01:58:20 UTC+5:30 David Merrick wrote:

> Hi. I can put an item from the database into a select box ie Countries of 
> the World. What I want to know is saying, having chosen New Zealand from 
> the select box, how do I display all the cities of New Zealand in another 
> select box.
>
> The database has two tables. First one is Countries. The second table is 
> cities with populations and the foreign key of Countries table.
>
> Then having chosen Auckland a city in New Zealand I want to display 
>
> Country
> City
> Population 
>
> In a template.
>
> I have done this in Php, Javascript and Mysql already.
>
> Cheers Dave
>
>
> -- 
> Dave Merrick
>
> TutorInvercargill
>
> http://tutorinvercargill.co.nz
>
> Daves Web Designs
>
> Website https://tutorinvercargill.co.nz/daveswebdesigns/public_html/
>
> Email merri...@gmail.com
>
> Ph   03 216 2053
>
> Cell 027 3089 169
>

-- 
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/ba2f3e0e-a8e6-466b-aec3-bc12a728e270n%40googlegroups.com.


Re: databases

2023-12-07 Thread Swarup Selvaraj
Hi Karim,

I understand you are interested in transferring your data into a newly 
provisioned database

You could use django's built in 

   - dumpdata 
    to 
   export a json
   - loaddata 
    to 
   import the exported json

Ofcourse there are areas of concerns. 
It is better to exclude contenttypes since the order of creation of tables 
might be different.
It is better to define the permissions and groups manually (to be 100% 
sure) in django admin.

We need to reset sequences 
 after 
executing loaddata to set appropriate autoincrement sequences.

Regards,
SWARUP Selvaraj

On Friday 1 December 2023 at 19:53:00 UTC+5:30 Karim Dahman wrote:

Hi,
how can create python script in terminal to update the data from old 
databases into new databases automaticaly

-- 
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/31bf8b97-95c4-429e-9473-b5ac2c5cae70n%40googlegroups.com.


Re: Displaying numbers in languages

2023-12-07 Thread Swarup Selvaraj
ciao Vincenzo,

Thank you for the explanation :)

Hi Uri 

The functionality  we 
are interested in is called as Internationalization and Localization 
 (i18n and l10n - funny 
shortcut)

We can enable these (USE_L10N=True USE_I18N=True) in settings.py file.
If we ensure the right locale is set, django will render numbers 
appropriately according to the user's locale.

Regards,
SWARUP Selvaraj


On Thursday 30 November 2023 at 00:07:05 UTC+5:30 Vincenzo Celano wrote:

> Ciao 
> אורי 
> In italian  language, thousand separator is the dot '*.*' and comma '*,*' 
> for decimal separator.
> I think the problem is not important in this case but for example, if you 
> have a car sales website and an italian will find a Ford Mustang Mutch-E at 
> this prince:
> 60,865 $ an italian person will read 60 $ and 8 hundred and 65 cents not 
> 60 thousands and 8 hundred and 45 $
> :-)
>
> I hope this will be helpful.
>   
> Ciao!
>
> ‪Il giorno mer 29 nov 2023 alle ore 05:00 ‫אורי‬‎  ha 
> scritto:‬
>
>> Hi,
>>
>> Since Speedy Match was only in English, I displayed numbers in the 
>> English format - with commas as thousand separators. For example today it 
>> writes:
>>
>> The total number of active members on the site is 12,221, of which 2,581 
>> members entered the site in the last week.
>>
>> Now, I translated Speedy Match into other languages, such as French, 
>> German, Spanish, Portuguese and Italian. In these languages I still use the 
>> same number formatting as in English:
>>
>> Le nombre total de membres actifs sur le site est 12,221, dont 2,581 
>> membres entrés sur le site au cours de la dernière semaine.
>>
>> Die Gesamtzahl der aktiven Mitglieder auf der Website beträgt 12,221, von 
>> denen 2,581 Mitglieder die Website in der letzten Woche betreten haben.
>>
>> Is it better to use formats.number_format and display the numbers in each 
>> language differently? Or is it OK to keep it this way? I’m specifically 
>> asking people who speak languages such as French, German, Spanish, 
>> Portuguese, Italian and Dutch. How important it is to change the thousand 
>> separators?
>>
>> Thanks,
>> Uri.
>> אורי
>> u...@speedy.net
>>
>> -- 
>> 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/CABD5YeEBFAJK_v4er294-GDqLrRFOsiS1bY1rxmdQve3PNXcig%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/04064f39-5b0b-4c7e-965e-5e8fe27771b2n%40googlegroups.com.


Re: Launching Our Django Developers' Error Resolution Group 🚀

2023-12-07 Thread o1bigtenor
On Thu, Dec 7, 2023 at 6:41 AM Kani Sbt  wrote:
>
> Dear Django and RestFrameWork Community Members,
>
> I hope this message finds you well! We're thrilled to announce the launch of 
> a new initiative within our community — the Django Developers' Error 
> Resolution Group.
>
> In this group, we aim to foster collaboration and knowledge-sharing among our 
> talented developers. If you encounter any challenges or errors while working 
> on Django projects, this is the perfect space to seek assistance and share 
> your expertise with others.
>
> Whether you're a seasoned Django pro or just starting out, everyone is 
> encouraged to participate. Together, we can build a supportive environment 
> where we learn from each other's experiences and collectively overcome 
> obstacles.
>
> To get started, simply post your error or problem in the group, and let the 
> community work its magic. Remember, there's no such thing as a "silly" 
> question, and we're here to help each other grow.
>
> Let's turn challenges into opportunities and make our Django projects even 
> more successful!
>
> Looking forward to seeing you in the group and fostering a collaborative and 
> thriving community.
>
>
> join this Group :
>
> https://chat.whatsapp.com/KrnYaahVEZ8JmNbx4YNqHm
>
> Happy coding!
>


Methought that was what this list was about - - - - or has it become
that with all the job requests
and other that the original intent has been lost.

Please advise soonest.

(Wouldn't join anything on whatsapp on neither a bet nor a dare though
- - - - sorry!)

-- 
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/CAPpdf5-ogFZb1MYyOFCLHLCMYumLJ4WT7e84w1fwGTdLY-wVBA%40mail.gmail.com.


Launching Our Django Developers' Error Resolution Group 🚀

2023-12-07 Thread Kani Sbt


Dear Django and RestFrameWork Community Members,

I hope this message finds you well! We're thrilled to announce the launch 
of a new initiative within our community — the Django Developers' Error 
Resolution Group.

In this group, we aim to foster collaboration and knowledge-sharing among 
our talented developers. If you encounter any challenges or errors while 
working on Django projects, this is the perfect space to seek assistance 
and share your expertise with others.

Whether you're a seasoned Django pro or just starting out, everyone is 
encouraged to participate. Together, we can build a supportive environment 
where we learn from each other's experiences and collectively overcome 
obstacles.

To get started, simply post your error or problem in the group, and let the 
community work its magic. Remember, there's no such thing as a "silly" 
question, and we're here to help each other grow.

Let's turn challenges into opportunities and make our Django projects even 
more successful!

Looking forward to seeing you in the group and fostering a collaborative 
and thriving community.


join this Group : 

https://chat.whatsapp.com/KrnYaahVEZ8JmNbx4YNqHm

Happy coding!

Best regards, B.KANITHKAR SOFTWARE ENGINERR ANJOK TECH 

-- 
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/51c53689-7b54-4bd1-8d29-9e15602ad09fn%40googlegroups.com.


Re: Project together

2023-12-07 Thread Brian Gitau
Also add me +254715790096

On Thu, Dec 7, 2023 at 11:51 AM Abdulrahman Abbas 
wrote:

> I'm interested add me up 09020387775
>
> On Thu, Nov 23, 2023, 19:13 Youssef Bachraoui 
> wrote:
>
>> Hi developer i search to make a group on WhatsApp to begin a project
>> together anyone interested about that?
>>
>> --
>> 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/d5244e76-6bd3-4bde-bf31-a72720bee1acn%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/CAGGqo0OETtWT3Anb_UVWBfRc1Arm0UxAk4zk2s9iqn3Gy0c%2BrQ%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/CAMJ3z%3D2Z0_QuFRYqR-CER7aDBjih8FWy1k_SOo_pPV%2BFtyV8TQ%40mail.gmail.com.


Re: Project together

2023-12-07 Thread praveen raj
Im interested

On Thu, 23 Nov, 2023, 11:43 pm Youssef Bachraoui, <
bachraouiyouss...@gmail.com> wrote:

> Hi developer i search to make a group on WhatsApp to begin a project
> together anyone interested about that?
>
> --
> 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/d5244e76-6bd3-4bde-bf31-a72720bee1acn%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/CABn%2BeM2Ed9v4uSjFxF6%2BkF37_p7HoOVPL8w1n5%3DtHsaUPSfjoQ%40mail.gmail.com.


Re: Project together

2023-12-07 Thread Abdulrahman Abbas
I'm interested add me up 09020387775

On Thu, Nov 23, 2023, 19:13 Youssef Bachraoui 
wrote:

> Hi developer i search to make a group on WhatsApp to begin a project
> together anyone interested about that?
>
> --
> 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/d5244e76-6bd3-4bde-bf31-a72720bee1acn%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/CAGGqo0OETtWT3Anb_UVWBfRc1Arm0UxAk4zk2s9iqn3Gy0c%2BrQ%40mail.gmail.com.


Re: Project together

2023-12-07 Thread OSP PRO
aminterested, ping me +256704487563

On Thu, Dec 7, 2023 at 11:28 AM Adekola Aderonmu 
wrote:

> Hi, i am interested. you can add me up 08166462615.
> Thanks.
>
> On Thursday 23 November 2023 at 19:14:25 UTC+1 Youssef Bachraoui wrote:
>
>> Hi developer i search to make a group on WhatsApp to begin a project
>> together anyone interested about that?
>>
>> --
> 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/1c2ad7d8-036a-4784-ab16-b718b47b6623n%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/CACng%3Dei2h8MxJo9EL48SB5BRqfUj9oZ3w7Fd11A87sojhjJN5A%40mail.gmail.com.


Re: Project together

2023-12-07 Thread Adekola Aderonmu
Hi, i am interested. you can add me up 08166462615. 
Thanks.

On Thursday 23 November 2023 at 19:14:25 UTC+1 Youssef Bachraoui wrote:

> Hi developer i search to make a group on WhatsApp to begin a project 
> together anyone interested about that?
>
>

-- 
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/1c2ad7d8-036a-4784-ab16-b718b47b6623n%40googlegroups.com.