Thursday, December 12, 2024

Re: Need Developers

How can I contribute as a professional python Backend and automation?


On Thu, Dec 12, 2024, 8:26 PM Akshay Kumar Dubey <akshaymani513@gmail.com> wrote:

Hi,
I hope this message finds you well.

i am genuinely excited about this project and would love to contribute. could you please guide me on how to get started or share any resources I should review? I'm eager to hit the ground running.

Best regards,


On Fri, 13 Dec 2024 at 00:06, Wes Keyz <keyzwesley@gmail.com> wrote:
Hi

I am very much interested in this opportunity. Please let me know how to get started

Regards

On Friday, October 25, 2024 at 9:41:20 AM UTC+1 UJJWAL CHAUDHARY wrote:
I have some works on Website & Application, If anyone Interested please let me know if anyone has interested. On Personal Mail

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/a70a8542-0f01-411c-b201-41f9e2d7036cn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAAZzHCSbprebDXh54brpzUQJWerSi8LG-Q2dygojC063VSvmJw%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAOCpFM%2B93_ztoNYOENVZcvyAZfvh2xkzcSXvXeNK3FZCyDxoMg%40mail.gmail.com.

Re: Need Developers

Hi,
I hope this message finds you well.

i am genuinely excited about this project and would love to contribute. could you please guide me on how to get started or share any resources I should review? I'm eager to hit the ground running.

Best regards,


On Fri, 13 Dec 2024 at 00:06, Wes Keyz <keyzwesley@gmail.com> wrote:
Hi

I am very much interested in this opportunity. Please let me know how to get started

Regards

On Friday, October 25, 2024 at 9:41:20 AM UTC+1 UJJWAL CHAUDHARY wrote:
I have some works on Website & Application, If anyone Interested please let me know if anyone has interested. On Personal Mail

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/a70a8542-0f01-411c-b201-41f9e2d7036cn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAAZzHCSbprebDXh54brpzUQJWerSi8LG-Q2dygojC063VSvmJw%40mail.gmail.com.

Re: Need Developers

Hi

I am very much interested in this opportunity. Please let me know how to get started

Regards

On Friday, October 25, 2024 at 9:41:20 AM UTC+1 UJJWAL CHAUDHARY wrote:
I have some works on Website & Application, If anyone Interested please let me know if anyone has interested. On Personal Mail

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/a70a8542-0f01-411c-b201-41f9e2d7036cn%40googlegroups.com.

Wednesday, December 11, 2024

Re: Remote Backend developer opportunities

How can I get remote backend web developer job opportunity?


On Wed, 11 Dec 2024, 22:01 Dipak Pawar, <dipakpython@gmail.com> wrote:
Msg me on linkedin
https://www.linkedin.com/in/dipak-pawar-9806b113a, I have some references they are searching for remote developers.

On Wed, 11 Dec 2024 at 10:21 PM, Neha001 <rainaneha1771@gmail.com> wrote:
Hi ,

I am looking for remote backend developer role.Please feel free to reach out to me if you have any opportunities.

PFA my resume.'

Thanks
Neha

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAEdCX3U_0k5ZeThZW1Qr%3Dpo0_Jg39nyo1egOyO27%2B91pF%3DQr3A%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAP5jpJG%2BArJ-f9CrbL1X2_%3DDfWEofVVppr0OocyMecVGsc5AMA%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAJOUjGVboeRDDe1YxvDMtsGHQrUdVOX1FigUUMtOSb0i_6Qc3g%40mail.gmail.com.

Re: Remote Backend developer opportunities

Msg me on linkedin
https://www.linkedin.com/in/dipak-pawar-9806b113a, I have some references they are searching for remote developers.

On Wed, 11 Dec 2024 at 10:21 PM, Neha001 <rainaneha1771@gmail.com> wrote:
Hi ,

I am looking for remote backend developer role.Please feel free to reach out to me if you have any opportunities.

PFA my resume.'

Thanks
Neha

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAEdCX3U_0k5ZeThZW1Qr%3Dpo0_Jg39nyo1egOyO27%2B91pF%3DQr3A%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAP5jpJG%2BArJ-f9CrbL1X2_%3DDfWEofVVppr0OocyMecVGsc5AMA%40mail.gmail.com.

Remote Backend developer opportunities

Hi ,

I am looking for remote backend developer role.Please feel free to reach out to me if you have any opportunities.

PFA my resume.'

Thanks
Neha

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAEdCX3U_0k5ZeThZW1Qr%3Dpo0_Jg39nyo1egOyO27%2B91pF%3DQr3A%40mail.gmail.com.

I am looking for django developer Job

Hello, 
    I am looking for a job in django developer as remote job. 

Please contact me 

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAEFh-_i3iqX8NaKiiDcrUdo-RBo2dXqpQ5CusAO7oOjKb1ZC-Q%40mail.gmail.com.

Re: Looking for developers

May be I'm late to seek the opportunity but if still the opportunity is open there I would love to contribute to the project as I have completed small django projects. DM if interested to ratikkrishna15@gmail.com


On Mon, 9 Dec, 2024, 10:31 pm Ambaig Baig, <ambaigbaig@gmail.com> wrote:
I am an experienced software engineer and python developer with hands on experience on Django and DRF I would love to collaborate if you up for it 
Please reach me on my cell
03302424221

On Mon, Dec 9, 2024, 8:43 PM Jose Pinto ATNTS <serrojodragon333@gmail.com> wrote:
correctly friend, with django and languages like C# and Python, especially backend.
How sad because I am in another country, it is not the United States.
I would love to collaborate with you and see if you have the database ready or you are also missing it.

El mié, 4 dic 2024 a la(s) 3:05 p.m., Adan Popov (adanpopov@gmail.com) escribió:
I have some works to be done on the frontend for a project, but I'm not fluent in frontend libraries or frameworks.
Please ping me if you can do some frontend works and also can work on the django backend a little.
You can speak English fluently, and it would be much better if you are based in US.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/aeae6d4c-b877-4524-a8af-3e8c7c4defedn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAF5%2BHvC2S1J5ZpA5m9SHiPPoVu2zVz%3DAEvrMMZ7gxcMvZ%3DeX0g%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAEkU0UOh85%2BBxzpSY2aviqZFmoor%2B8Yny0%3DR6A3nHt5RD8FD1g%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAOv7anaOZ_jnvU0Fjw0b8JUGPJhq6qZXhEmZyP7By0g5TiXWmQ%40mail.gmail.com.

Tuesday, December 10, 2024

Looking for Remote Backend Developer Opportunitie

Seeking a remote backend developer role! 🌟 If you know of any opportunities or have recommendations, I'd love to hear from you. Please feel free to reach out—thank you! 🙌

here, is my cv attached.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/b6e326ba-cf45-4150-b0da-93c617e87c25n%40googlegroups.com.

Re: Looking for Sr Django Developer

I am excited to apply for the Senior Django Developer position. With over 4.5 years of experience in Django and DRF, I have built scalable web applications, developed robust REST APIs, and worked extensively with Docker for containerized environments.

My expertise includes custom packaging, AWS S3 integration, WebSocket implementation, microservices architecture, and OAuth-based authentication systems. I am skilled in streamlining deployment workflows and collaborating effectively within distributed teams.

While not based in East Africa, I am highly adaptable to time zones and committed to aligning with your operations. I would love the opportunity to discuss how my background fits your needs.

On Tuesday, December 10, 2024 at 10:04:55 PM UTC+5:45 Hamel Mesfin wrote:
We're looking for Sr. level Django Developer for ongoing work of at least 20 hours per week. At least 5 years of experience in Django and DRF is MUST. 2-3 years of experience in Docker is required. This is a remote position, with preference for candidates based in East Africa (Kenya, Uganda, Tanzania). Candidates from other regions are also welcome to apply. Contact if interested and qualified.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/4ac42859-145e-4aad-9ee6-2def9bef3e8dn%40googlegroups.com.

Re: Looking for Sr Django Developer

I'm interested. Please dm me. I have 5 years of experience as a python Developer with , Django and Django Rest Framework.

Regards, 
Dipak Pawar

On Tue, 10 Dec 2024 at 9:48 PM, Hamel Mesfin <hamelmesfin@gmail.com> wrote:
We're looking for Sr. level Django Developer for ongoing work of at least 20 hours per week. At least 5 years of experience in Django and DRF is MUST. 2-3 years of experience in Docker is required. This is a remote position, with preference for candidates based in East Africa (Kenya, Uganda, Tanzania). Candidates from other regions are also welcome to apply. Contact if interested and qualified.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/ec726d49-7617-46ee-b39e-59b9fda5285cn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAP5jpJFXn2%3D3aGkXZmYt_h6pHBKNgg-a0r7N9Xkf9CaXGUrTvw%40mail.gmail.com.

Re: Looking for Sr Django Developer

I'm interested. Please dm me. I have 6 years of experience as a python fullstack developer.

Regards, 
Satyajit

On Tue, Dec 10, 2024 at 9:48 PM Hamel Mesfin <hamelmesfin@gmail.com> wrote:
We're looking for Sr. level Django Developer for ongoing work of at least 20 hours per week. At least 5 years of experience in Django and DRF is MUST. 2-3 years of experience in Docker is required. This is a remote position, with preference for candidates based in East Africa (Kenya, Uganda, Tanzania). Candidates from other regions are also welcome to apply. Contact if interested and qualified.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/ec726d49-7617-46ee-b39e-59b9fda5285cn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CANd-%2BoAdUkpUCMitFDB4Mze2V4jFXyBoVRbJkx1dm6vUwz7ifw%40mail.gmail.com.

Re: Looking for Sr Django Developer

I'm very interested!
+244 946808054

Em ter., 10 de dez. de 2024 às 17:19, Hamel Mesfin <hamelmesfin@gmail.com> escreveu:
We're looking for Sr. level Django Developer for ongoing work of at least 20 hours per week. At least 5 years of experience in Django and DRF is MUST. 2-3 years of experience in Docker is required. This is a remote position, with preference for candidates based in East Africa (Kenya, Uganda, Tanzania). Candidates from other regions are also welcome to apply. Contact if interested and qualified.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/ec726d49-7617-46ee-b39e-59b9fda5285cn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CACJhvws-QzK%2BC2ThEeZqMg6AuwjhtytSLeUcx1QQ%3DbLMAscRAA%40mail.gmail.com.

Monday, December 9, 2024

Looking for Sr Django Developer

We're looking for Sr. level Django Developer for ongoing work of at least 20 hours per week. At least 5 years of experience in Django and DRF is MUST. 2-3 years of experience in Docker is required. This is a remote position, with preference for candidates based in East Africa (Kenya, Uganda, Tanzania). Candidates from other regions are also welcome to apply. Contact if interested and qualified.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/ec726d49-7617-46ee-b39e-59b9fda5285cn%40googlegroups.com.

Re: Looking for developers

Hi we can communicate via email here. I'd like to help out with your project.

On Wed., Dec. 4, 2024, 2:05 p.m. Adan Popov, <adanpopov@gmail.com> wrote:
I have some works to be done on the frontend for a project, but I'm not fluent in frontend libraries or frameworks.
Please ping me if you can do some frontend works and also can work on the django backend a little.
You can speak English fluently, and it would be much better if you are based in US.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/aeae6d4c-b877-4524-a8af-3e8c7c4defedn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAF%2B8aZ3%3DWVAezvUs3vQ3fpqnOQQ63%2BCuYoS%3D1p5_vn5xKCuvPQ%40mail.gmail.com.

Re: Looking for developers

I am an experienced software engineer and python developer with hands on experience on Django and DRF I would love to collaborate if you up for it 
Please reach me on my cell
03302424221

On Mon, Dec 9, 2024, 8:43 PM Jose Pinto ATNTS <serrojodragon333@gmail.com> wrote:
correctly friend, with django and languages like C# and Python, especially backend.
How sad because I am in another country, it is not the United States.
I would love to collaborate with you and see if you have the database ready or you are also missing it.

El mié, 4 dic 2024 a la(s) 3:05 p.m., Adan Popov (adanpopov@gmail.com) escribió:
I have some works to be done on the frontend for a project, but I'm not fluent in frontend libraries or frameworks.
Please ping me if you can do some frontend works and also can work on the django backend a little.
You can speak English fluently, and it would be much better if you are based in US.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/aeae6d4c-b877-4524-a8af-3e8c7c4defedn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAF5%2BHvC2S1J5ZpA5m9SHiPPoVu2zVz%3DAEvrMMZ7gxcMvZ%3DeX0g%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAEkU0UOh85%2BBxzpSY2aviqZFmoor%2B8Yny0%3DR6A3nHt5RD8FD1g%40mail.gmail.com.

Sunday, December 8, 2024

Re: Looking for developers

correctly friend, with django and languages like C# and Python, especially backend.
How sad because I am in another country, it is not the United States.
I would love to collaborate with you and see if you have the database ready or you are also missing it.

El mié, 4 dic 2024 a la(s) 3:05 p.m., Adan Popov (adanpopov@gmail.com) escribió:
I have some works to be done on the frontend for a project, but I'm not fluent in frontend libraries or frameworks.
Please ping me if you can do some frontend works and also can work on the django backend a little.
You can speak English fluently, and it would be much better if you are based in US.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/aeae6d4c-b877-4524-a8af-3e8c7c4defedn%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAF5%2BHvC2S1J5ZpA5m9SHiPPoVu2zVz%3DAEvrMMZ7gxcMvZ%3DeX0g%40mail.gmail.com.

Saturday, December 7, 2024

Re: AttributeError: module 'polls.views' has no attribute 'index' error in Django

Guys, thanks for the help everyone but I just used vim and rewrote the code again)

On Thursday, 5 December 2024 at 15:02:36 UTC+3 Олександр Рябов wrote:
Hello! I'm facing an issue when running my Django project. I get the following error:

AttributeError: module 'polls.views' has no attribute 'index'

I've checked the following:  
    1) In "polls/views.py", I have defined the index function:
        from django.http import HttpResponse
        
        def index(request):
            return HttpResponse("Hello, World!")

    2) In polls/urls.py, the path to this function is correctly defined:
        from django.urls import path, include
        from . import views

        urlpatterns = [
            path("", views.index, name="index"),
        ]
    3) In the main mysite/urls.py, the URLs from polls are included:
        from django.contrib import admin
        from django.urls import include, path

        urlpatterns = [
            path("polls/", include("polls.urls")),
            path("admin/", admin.site.urls),
        ]

However, when I run the server with the command:
    " python manage.py runserver "  

I get the error mentioned above. I have also made sure that all imports are correct and that the project is using the right Python version.

What could be the cause of this error and how can I fix it? Thank you!
P.S.
- I am writing my code in Visual Studio Code and have attached two pictures for reference.
- The first picture shows the general structure of my project.
- The second picture displays the full error message from the command line(*try to enlarge it, I hope you can see everything.)
#1

photo_1.png
#2
photo_2.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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/f04cf8be-2103-4bb9-9ef3-7bf90ddbb1edn%40googlegroups.com.

Friday, December 6, 2024

Re: Hosting Recommendations?

You'll get a lot of different views on this.

I've settled on Digital Ocean running Docker after a few iterations. I'm not saying it's the best way to do it but here are my reasons:
  • It's fairly cheap
  • It was easier to set up than I expected. I've shied away from Docker in the past for a relatively small application as it seemed over engineered, but coming back to it I got something running in a few days and it feels very manageable.
  • There are a lot of online resources for this so you should find a tutorial quite easily. DO have quite a few which are obviously specifically relevant if you are hosting with them.
  • If things get messy after a few attempts you can easily just run up a new droplet and you're up and running in a nice clean environment.
  • You can use a local Docker environment which is identical to that which you will deploy for pre-deploy testing and have high confidence that if it works there it will work when you deploy.
  • I managed to automate deployment linked to commits using GitHub actions and again that was relatively straightforward.
A few caveats (based on my experience)
- You have to consider how you manage state between deploys. For example I run some database initialisation scripts which add done standard reference data but I want it to run slightly differently if I'm creating a new environment or deploying to an existing one. It wasn't difficult but there were more nuances than I had considered.
- you have to decide how you will manage settings files for different types of environment. I have settings for dev, staging and live. There are different approaches.
- You need to decide how you are going to manage secrets. API tokens etc. again I found this more fiddly than I expected. I keep my secrets in my GitHub repo's secrets vault but you have to be careful how they get passed around without exposing them.

I'm sure others will have different views so you will need to decide based on your situation but I hope this helps.

Thomas

Sent from my iPhone

On 6 Dec 2024, at 14:58, yaamoussa-solution <yaamoussa02diouf@gmail.com> wrote:



Herku


Le ven. 6 déc. 2024 à 14:20, Konstantinos Dimitropoulos <cdemetropoulos@gmail.com> a écrit :
Pythonanywhere is also cool

Il mer 4 dic 2024, 22:00 Steve Smith <stevesmith0722@hotmail.com> ha scritto:
Hello all!

I'm getting ready to put my project out into the world.  I'm researching hosting options.....and have recently somewhat settled on Digital Ocean...I haven't dug in to start deployment yet....but any recommendations on if this is a solid option or if there are others out there worth considering?  

Thanks in advance.

Steve

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/PH7PR11MB6857966E9F2FB0D704A13011D2372%40PH7PR11MB6857.namprd11.prod.outlook.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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAOKiqZ%3DSWxg0ZJN%2B1x6UaSotY2thO673_U6cYkEwqW8JUmZHAg%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAPs4bqHe%2BAvEUFZBse7zOOPNbRcoDQWobfde9NYh9UDmPevDmg%40mail.gmail.com.

Re: Hosting Recommendations?

IT IS everytime Same you can get a normal virtual root Server which IS Most time cheap. You get very good Power for Money in Netcup Provider but there you must Setup self Linux, nginx and your Project.

Otherwise you can get AWS and similat where you get managed Server but with much Higher cost on Same Power of Server.

Decide self and IT also a decition how good IS your experience in Setup self such a Environment.

Regards

Pradeep Chowdhary <prdpchowdhary@gmail.com> schrieb am Do., 5. Dez. 2024, 03:37:
Digital ocean is good for easy deployment. If you want it robust, fast and scalable you can consider AWS it is free for first year for small e2 instance. I have tried it following Corey Shaffer 's django deployment code. 

On Thu, 5 Dec 2024, 02:29 Steve Smith, <stevesmith0722@hotmail.com> wrote:
Hello all!

I'm getting ready to put my project out into the world.  I'm researching hosting options.....and have recently somewhat settled on Digital Ocean...I haven't dug in to start deployment yet....but any recommendations on if this is a solid option or if there are others out there worth considering?  

Thanks in advance.

Steve

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/PH7PR11MB6857966E9F2FB0D704A13011D2372%40PH7PR11MB6857.namprd11.prod.outlook.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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAJVHcDgUEYpouDwADu7ywWxwxR8AVkNgeoi7eHnCOtyDbE4-BA%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAKGT9mxAJDSEDwGyKy_8sRTGCxDtoY%2B32RVsuHWS27PmO-Nt-Q%40mail.gmail.com.

Re: Hosting Recommendations?

Herku


Le ven. 6 déc. 2024 à 14:20, Konstantinos Dimitropoulos <cdemetropoulos@gmail.com> a écrit :
Pythonanywhere is also cool

Il mer 4 dic 2024, 22:00 Steve Smith <stevesmith0722@hotmail.com> ha scritto:
Hello all!

I'm getting ready to put my project out into the world.  I'm researching hosting options.....and have recently somewhat settled on Digital Ocean...I haven't dug in to start deployment yet....but any recommendations on if this is a solid option or if there are others out there worth considering?  

Thanks in advance.

Steve

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/PH7PR11MB6857966E9F2FB0D704A13011D2372%40PH7PR11MB6857.namprd11.prod.outlook.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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAOKiqZ%3DSWxg0ZJN%2B1x6UaSotY2thO673_U6cYkEwqW8JUmZHAg%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAPs4bqHe%2BAvEUFZBse7zOOPNbRcoDQWobfde9NYh9UDmPevDmg%40mail.gmail.com.

Re: ModelChoiceField user filter

Hi, thanks

It is quite similar to what I was doing...
I found another approach a lot more straightforward in an older post:

"""
def event_add_view(request):
""" add an event, it needs to set occurrences to appear in the calendar"""
if request.method !='POST':
form = EventForm()
form.fields["room_calendar"].queryset = RoomCalendarModel.objects.filter(tenants__user=request.user)
form.fields["client"].queryset = Client.objects.filter(user=request.user)
"""
The benefit I find is to intervene directly in the view of the query set.

Thanks

Gabriel
On Friday, 6 December 2024 at 00:28:38 UTC Ryan Nowakowski wrote:


On December 5, 2024 5:24:07 AM CST, Gabriel Soler <gso...@gmail.com> wrote:
Hi wise Django fellows

I have been trying to create a field that refers to a Foreign Key, which needs to be filtered by the user. I feel this should be something common, and I cannot find a way through it.

I found a solution in a forum and stack overflow and a tutorial that uses the __init__ and passes a value in the view, like Form(user=request.user), to then extract it.

It worked to filter at some point but failed at the end of saving:

Error in formatting: AttributeError: 'EventForm' object has no attribute '_errors'

Sometimes, the problem seems to be the "user" field passed on. 

I am out of the depth of my knowledge in accessing the __init__ and super() here, so I do not know how to troubleshoot. 
"""

class EventForm(forms.ModelForm):
"""Event form"""
client = forms.ModelChoiceField(queryset=None,empty_label="no client?")
room_calendar = forms.ModelChoiceField(queryset=None,empty_label="no room?")
class Meta:
model = Event
fields = ("client","room_calendar",
"title","description","event_type",)
labels = {
"client":"It there a client associated?(optional)",
"room_calendar":"Which room it belongs to?",
"title":"Give it a memorable title",
"description":"What it is about?",
"event_type":"Select a type of event",
}

def __init__(self, *args, **kwargs):
# Extract the user from the view
user = kwargs.pop('user')
super(EventForm, self).__init__(*args, **kwargs)
# Filter authors related to the logged-in user
self.fields['client'].queryset = Client.objects.filter(user=user)
self.fields['room_calendar'].queryset = RoomCalendarModel.objects.filter(Q(tenants__user=user)|Q(user=user))


"""
Thanks

Gabriel

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/eb37b523-29fa-4bed-8a1a-56737e56cd5fn%40googlegroups.com.

Re: Hosting Recommendations?

Good day everyone!

AFAAI Open Source project is here: We are building a low resource language model (LrLM).
Our initial phase is to create 1M word for Igbo, Yoruba, Hausa, AAVE and Hindu.
I am posting the volunteer positions here for all to see. This is a great opportunity to be a part of something great. 
Remember the world need a more inclusivity for ethnic languages. The ancient wisdom in these must be inculcated and used for sustainability. 

Follow our process and join this great course thanks. Some of the immediate skill needed are included in the attachment.
We are responding very quickly to your needs.  

Thanks.
On Friday, December 6, 2024 at 2:43:50 AM UTC-5 Luciano Martins (luxu) wrote:
vercel is cool!
Em quarta-feira, 4 de dezembro de 2024 às 23:38:29 UTC-3, Pradeep Chowdhary escreveu:
Digital ocean is good for easy deployment. If you want it robust, fast and scalable you can consider AWS it is free for first year for small e2 instance. I have tried it following Corey Shaffer 's django deployment code. 

On Thu, 5 Dec 2024, 02:29 Steve Smith, <stevesm...@hotmail.com> wrote:
Hello all!

I'm getting ready to put my project out into the world.  I'm researching hosting options.....and have recently somewhat settled on Digital Ocean...I haven't dug in to start deployment yet....but any recommendations on if this is a solid option or if there are others out there worth considering?  

Thanks in advance.

Steve

--
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 visit https://groups.google.com/d/msgid/django-users/PH7PR11MB6857966E9F2FB0D704A13011D2372%40PH7PR11MB6857.namprd11.prod.outlook.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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/19972c04-2f11-4463-a809-e32e03b5206en%40googlegroups.com.

Re: Hosting Recommendations?

Pythonanywhere is also cool

Il mer 4 dic 2024, 22:00 Steve Smith <stevesmith0722@hotmail.com> ha scritto:
Hello all!

I'm getting ready to put my project out into the world.  I'm researching hosting options.....and have recently somewhat settled on Digital Ocean...I haven't dug in to start deployment yet....but any recommendations on if this is a solid option or if there are others out there worth considering?  

Thanks in advance.

Steve

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/PH7PR11MB6857966E9F2FB0D704A13011D2372%40PH7PR11MB6857.namprd11.prod.outlook.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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAOKiqZ%3DSWxg0ZJN%2B1x6UaSotY2thO673_U6cYkEwqW8JUmZHAg%40mail.gmail.com.

Thursday, December 5, 2024

Re: Hosting Recommendations?

vercel is cool!
Em quarta-feira, 4 de dezembro de 2024 às 23:38:29 UTC-3, Pradeep Chowdhary escreveu:
Digital ocean is good for easy deployment. If you want it robust, fast and scalable you can consider AWS it is free for first year for small e2 instance. I have tried it following Corey Shaffer 's django deployment code. 

On Thu, 5 Dec 2024, 02:29 Steve Smith, <stevesm...@hotmail.com> wrote:
Hello all!

I'm getting ready to put my project out into the world.  I'm researching hosting options.....and have recently somewhat settled on Digital Ocean...I haven't dug in to start deployment yet....but any recommendations on if this is a solid option or if there are others out there worth considering?  

Thanks in advance.

Steve

--
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 visit https://groups.google.com/d/msgid/django-users/PH7PR11MB6857966E9F2FB0D704A13011D2372%40PH7PR11MB6857.namprd11.prod.outlook.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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/10112ac2-2c57-4c9e-9449-b5f48fa00aaen%40googlegroups.com.

Re: Meta indexes and makemigrations

Ok. Is it working now


On Thu, 5 Dec, 2024, 8:10 pm mccc, <mciccozz@gmail.com> wrote:
Turns out there was a tiny class Meta at the very bottom of the very big model, obfuscating mine defining the index.. Something not even ChatGPT could imagine!

On Thursday, December 5, 2024 at 12:31:01 PM UTC+1 RANGA BHARATH JINKA wrote:

Hi,

The issue is that partial indexes with conditions (condition attribute in models.Index) were introduced in Django 3.2, but they rely on the database backend's ability to support them. PostgreSQL does support partial indexes, so that part should be fine. However, your problem likely stems from the following points:

1. Condition on channel_type Value

The condition models.Q(channel_type="42") is valid in Python, but PostgreSQL requires conditions to work with literal values that match the column type. If channel_type is a CharField, "42" is fine. However, ensure that the value and type match your database schema.

  • Example: If channel_type is actually an integer-like value stored in a CharField, ensure "42" matches the expected format.

2. Potential Issue with Makemigrations

Even if the code is correct, makemigrations might not detect the change in the Meta class because migrations only track model-level changes. If makemigrations doesn't pick up the index:

  • Manually Generate the Migration: Use makemigrations with the --empty flag and define the index manually.

    python manage.py makemigrations --empty your_app_name  

    Then, in the generated migration file, define the index:

    from django.db import migrations, models  import django.db.models.expressions    class Migration(migrations.Migration):      dependencies = [          ('your_app_name', 'previous_migration'),      ]        operations = [          migrations.AddIndex(              model_name='episode',              index=models.Index(                  name='ch_last_seen_date',                  fields=['last_seen_date'],                  condition=models.Q(channel_type='42'),              ),          ),      ]  

3. Check Your Environment

Ensure your Django project environment is up-to-date and consistent:

  • Confirm your django.db.backends.postgresql version supports the feature.
  • Run python manage.py showmigrations to ensure your migrations are applied.

Debugging Steps

  1. Double-check the condition syntax:

    condition=models.Q(channel_type='42')  

    Ensure channel_type and '42' match your schema's type expectations.

  2. Confirm makemigrations is running in the correct app and picking up changes:

    python manage.py makemigrations your_app_name  
  3. Review your migration file for errors or omissions.

If the issue persists after these steps, consider upgrading to the latest Django version for potential bug fixes in migration handling. 


On Thu, Dec 5, 2024 at 4:11 PM mccc <mcic...@gmail.com> wrote:
Hello,

We want to have a partial index (db backend is Postgres) on a datetimefield, so we added this code to the Meta class:

class Episode(models.Model):
    channel_type = models.CharField(max_length=16, choices=CHANNEL_TYPES)
    last_seen_date = models.DateTimeField(auto_now_add=True)
    class Meta:
        indexes = [
            models.Index(
                name="ch_last_seen_date",
                fields=["last_seen_date"],
                condition=models.Q(channel_type="42"),
            ),
        ]

The problem is that makemigrations doesn't seem to recognize it.
What could be the problem? We're on Django 3.2, which I know is old but as per the documentation this should be fine..

Thanks

--
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 visit https://groups.google.com/d/msgid/django-users/ee6aa542-aac2-4c78-821b-54d597c80b7cn%40googlegroups.com.


--
Thanks and Regards

J. Ranga Bharath
cell: 9110334114

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/b8323896-aa90-46f4-af45-3b0eaa6ded79n%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAK5m3143Zbw5wHvyTCqFLwidQTbqXWr_wVP8hnWqVEQQJAKCEQ%40mail.gmail.com.

Re: AttributeError: module 'polls.views' has no attribute 'index' error in Django

Just from looking at your code structure I would assume the view is looking for the template to use when it renders your index view. 

Under your polls app normally you would need to add a folder named "templates" and under the template folder add another folder named "polls" and inside the polls folder add your index.html

It would also help to share your views.py code

Letlaka Tsotetsi
060 548 3215
Letlaka.t@gmail.com


On Thu, 05 Dec 2024 at 5:52 PM, Олександр Рябов <rabov1400@gmail.com> wrote:
Hello! I'm facing an issue when running my Django project. I get the following error:

AttributeError: module 'polls.views' has no attribute 'index'

I've checked the following:  
    1) In "polls/views.py", I have defined the index function:
        from django.http import HttpResponse
        
        def index(request):
            return HttpResponse("Hello, World!")

    2) In polls/urls.py, the path to this function is correctly defined:
        from django.urls import path, include
        from . import views

        urlpatterns = [
            path("", views.index, name="index"),
        ]
    3) In the main mysite/urls.py, the URLs from polls are included:
        from django.contrib import admin
        from django.urls import include, path

        urlpatterns = [
            path("polls/", include("polls.urls")),
            path("admin/", admin.site.urls),
        ]

However, when I run the server with the command:
    " python manage.py runserver "  

I get the error mentioned above. I have also made sure that all imports are correct and that the project is using the right Python version.

What could be the cause of this error and how can I fix it? Thank you!
P.S.
- I am writing my code in Visual Studio Code and have attached two pictures for reference.
- The first picture shows the general structure of my project.
- The second picture displays the full error message from the command line(*try to enlarge it, I hope you can see everything.)
#1


#2


--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/f09ef6d1-6e6a-4030-a122-c21e4939f821n%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAMCgpdKpQVGuHDKmd4hhCbBkvC7kxQux1bHXbLBPsSiNLkxUoQ%40mail.gmail.com.

Re: AttributeError: module 'polls.views' has no attribute 'index' error in Django

is your VS Code on auto save 

On Thursday, December 5, 2024 at 1:02:36 PM UTC+1 Олександр Рябов wrote:
Hello! I'm facing an issue when running my Django project. I get the following error:

AttributeError: module 'polls.views' has no attribute 'index'

I've checked the following:  
    1) In "polls/views.py", I have defined the index function:
        from django.http import HttpResponse
        
        def index(request):
            return HttpResponse("Hello, World!")

    2) In polls/urls.py, the path to this function is correctly defined:
        from django.urls import path, include
        from . import views

        urlpatterns = [
            path("", views.index, name="index"),
        ]
    3) In the main mysite/urls.py, the URLs from polls are included:
        from django.contrib import admin
        from django.urls import include, path

        urlpatterns = [
            path("polls/", include("polls.urls")),
            path("admin/", admin.site.urls),
        ]

However, when I run the server with the command:
    " python manage.py runserver "  

I get the error mentioned above. I have also made sure that all imports are correct and that the project is using the right Python version.

What could be the cause of this error and how can I fix it? Thank you!
P.S.
- I am writing my code in Visual Studio Code and have attached two pictures for reference.
- The first picture shows the general structure of my project.
- The second picture displays the full error message from the command line(*try to enlarge it, I hope you can see everything.)
#1

photo_1.png
#2
photo_2.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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/3ac25773-c449-444e-9d69-d20f23af18cdn%40googlegroups.com.

Re: AttributeError: module 'polls.views' has no attribute 'index' error in Django

Hello

Did you ever check installed apps?(settings.py)
The "polls" must be define into it

Thanks

5 Ara 2024 Per 18:52 tarihinde Олександр Рябов <rabov1400@gmail.com> şunu yazdı:
Hello! I'm facing an issue when running my Django project. I get the following error:

AttributeError: module 'polls.views' has no attribute 'index'

I've checked the following:  
    1) In "polls/views.py", I have defined the index function:
        from django.http import HttpResponse
        
        def index(request):
            return HttpResponse("Hello, World!")

    2) In polls/urls.py, the path to this function is correctly defined:
        from django.urls import path, include
        from . import views

        urlpatterns = [
            path("", views.index, name="index"),
        ]
    3) In the main mysite/urls.py, the URLs from polls are included:
        from django.contrib import admin
        from django.urls import include, path

        urlpatterns = [
            path("polls/", include("polls.urls")),
            path("admin/", admin.site.urls),
        ]

However, when I run the server with the command:
    " python manage.py runserver "  

I get the error mentioned above. I have also made sure that all imports are correct and that the project is using the right Python version.

What could be the cause of this error and how can I fix it? Thank you!
P.S.
- I am writing my code in Visual Studio Code and have attached two pictures for reference.
- The first picture shows the general structure of my project.
- The second picture displays the full error message from the command line(*try to enlarge it, I hope you can see everything.)
#1


#2

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/f09ef6d1-6e6a-4030-a122-c21e4939f821n%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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/django-users/CAK2m2%2BaN7Z0aiPge9u-%3DoMzfSsS45gg42GBJo9HrqpAYcdqgBA%40mail.gmail.com.