Tuesday, March 31, 2020

Re: NoReverseMatch error message - Please help

Based on the rest of your template from the github link, looks like:

{% url 'nowandthen:add_comment' image.id %}

...should instead be:

{% url 'nowandthen:add_comment' p.image.id %}

On 3/31/20 7:08 AM, Jeff Waters wrote:
> I am putting together a website which has a photo gallery where users can add comments. When I go to the photo gallery page, I get the following error message:
>
> NoReverseMatch at /photo_feed/ Reverse for 'add_comment' with arguments '('',)' not found. 1 pattern(s) tried: ['add_comment/$']
>
> The code for the relevant part of the HTML document is as follows:
>
> <h2>comments</h2>
> {% if not comments %}
> No comments
> {% endif %}
> {% for x in comment %}
> <div class="comments" style="padding: 10px;">
> <p class="font-weight-bold">
> <h4>Comment by</h4> {{ x.user }}
> <span class=" text-muted font-weight-normal">
> {{ x.created_on }}
> </span>
> </p>
> {{ x.body | linebreaks }}
> </div>
> {% endfor %}
> </div>
> <div class="card-body">
> {% if new_comment %}
> <h2>Your comment has been posted.</h2>
> {% else %}
> <h3>Leave a comment</h3>
> <form action="{% url 'nowandthen:add_comment' image.id %}" method="POST">
> {{ comment_form.as_p }}
> {% csrf_token %}
> <button type="submit" class="btn btn-primary btn-lg">Submit</button>
> {% endif %}
> The URLs.py entry for add_comment is path('add_comment/<int: image_id>', views.add_comment, name='add_comment'). Removing the int: image_id doesn't fix the problem.
>
> When I go into admin, no ids appear to have been generated for the photos. Could it be that the problem is that there are missing IDs? If so, how do I fix this?
>
> The repository URL is https://github.com/EmilyQuimby/my_now_and_then.
>
> Thank you.
>

--
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 on the web visit https://groups.google.com/d/msgid/django-users/6e0854a3-ae89-d1a7-8fcf-98fbbadc9a3e%40fattuba.com.

Re: Looking for Django developers to work on a new and an existing project with our team


On Tue, Mar 31, 2020 at 7:10 PM Juan J. Moreno Piña <prof.juanj.moreno@gmail.com> wrote:
available now, I'm located remote
Juan
Teaching to learn
Trading to survive
*M.Sc. Juan J. Moreno*
En Venezuela (Maracaibo)
Skype:studiom2j
Tel (Italy): +39 02320628565






El lun., 30 de mar. de 2020 a la(s) 07:56, Satish Pal (satishpal456@gmail.com) escribió:
Hi 

I have total of 2 years of experience and I am interested to join your team.
please check my Linkedin profile https://www.linkedin.com/in/satish-kumar-2230b3158/

Thanks in Advance.

On Mon, Mar 30, 2020 at 8:51 AM Phako Perez <13.phakman@gmail.com> wrote:
Hi,

I'm also interested to join your team, have 3+ years working with python 
Currently I'm teaching python to a group in order them to improve theirs career 

Thanks in advance 

Sent from my iPhone

On 29 Mar 2020, at 20:48, chinna <chittiboina.premkumar@gmail.com> wrote:


Hi,

I am Premkumar having 3 years of experience in web and rest api development using python and Django. I would like to join your team

On Sun, Mar 29, 2020 at 11:26 PM Lax Nayak <lnayak@qlytics.com> wrote:
I am looking for a django developer who has expertise in building enterprise grade solutions. 


--
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 on the web visit https://groups.google.com/d/msgid/django-users/f93f06b0-883c-4477-9d73-cc429a43380d%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 on the web visit https://groups.google.com/d/msgid/django-users/CAG%3DmdoCaGy%3DTWh0CY04_TBo8uG__4UWnd8sfWYLOZ8fapfZ%3DCA%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 on the web visit https://groups.google.com/d/msgid/django-users/5C30197E-FCE7-4BE8-B169-4E9E74F4EBF3%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALzNJXmFb3cSFpEmYs2yB502x%2BB9DtNkDT_L2hqxvmvTPx08jA%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 on the web visit https://groups.google.com/d/msgid/django-users/CAMf5KvxLjfvMEPJZ6j3PTruMpho34FOW3HaLOECfbkGQFV%2B6zA%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 on the web visit https://groups.google.com/d/msgid/django-users/CAEhPkLFtrnrw39q6jP5R536BzbivfbE8KTOHjjyaJzbdSUG1WA%40mail.gmail.com.

Re: Django Testing

I'm having the same difficulty... 

On Tue, 31 Mar 2020 at 3:32 PM, Abrar Ahmad <gangsterabrar1000@gmail.com> wrote:
Hello Sir 
I have trouble in learnig Testing tutorial of Djanog Documentation.
Can any one tell me what is the main concept of learnign test and how can we learn it in easiest way.
I am waiting for reply

--
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 on the web visit https://groups.google.com/d/msgid/django-users/6e807ef4-09b6-459d-9d7f-ddb42931c4d9%40googlegroups.com.

Disclaimer
This e-mail is intended solely for the named recipient. The information contained in this message is strictly confidential.
  • If you are not the named recipient, you are hereby notified that any use, dissemination or reproduction of this document and or its content is prohibited and may be deemed unlawful.
  • If you are not the named recipient of this e-mail, please notify the sender by a return e-mail and delete all copies of it from your computer and mail.
Any views expressed in this e-mail are those of the individual sender, except where the sender specifically states them to be those of Landmark University, to whom no liability shall be attached whatsoever.

Thank you

--
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 on the web visit https://groups.google.com/d/msgid/django-users/CAAP9wcyqaBJLLdc86wkSOtiNoCUDuQVHOh7mpPtCnCmRAbtRxw%40mail.gmail.com.

Django Testing

Hello Sir 
I have trouble in learnig Testing tutorial of Djanog Documentation.
Can any one tell me what is the main concept of learnign test and how can we learn it in easiest way.
I am waiting for reply

--
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 on the web visit https://groups.google.com/d/msgid/django-users/6e807ef4-09b6-459d-9d7f-ddb42931c4d9%40googlegroups.com.

Re: Looking for Django developers to work on a new and an existing project with our team

available now, I'm located remote
Juan
Teaching to learn
Trading to survive
*M.Sc. Juan J. Moreno*
En Venezuela (Maracaibo)
Skype:studiom2j
Tel (Italy): +39 02320628565






El lun., 30 de mar. de 2020 a la(s) 07:56, Satish Pal (satishpal456@gmail.com) escribió:
Hi 

I have total of 2 years of experience and I am interested to join your team.
please check my Linkedin profile https://www.linkedin.com/in/satish-kumar-2230b3158/

Thanks in Advance.

On Mon, Mar 30, 2020 at 8:51 AM Phako Perez <13.phakman@gmail.com> wrote:
Hi,

I'm also interested to join your team, have 3+ years working with python 
Currently I'm teaching python to a group in order them to improve theirs career 

Thanks in advance 

Sent from my iPhone

On 29 Mar 2020, at 20:48, chinna <chittiboina.premkumar@gmail.com> wrote:


Hi,

I am Premkumar having 3 years of experience in web and rest api development using python and Django. I would like to join your team

On Sun, Mar 29, 2020 at 11:26 PM Lax Nayak <lnayak@qlytics.com> wrote:
I am looking for a django developer who has expertise in building enterprise grade solutions. 


--
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 on the web visit https://groups.google.com/d/msgid/django-users/f93f06b0-883c-4477-9d73-cc429a43380d%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 on the web visit https://groups.google.com/d/msgid/django-users/CAG%3DmdoCaGy%3DTWh0CY04_TBo8uG__4UWnd8sfWYLOZ8fapfZ%3DCA%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 on the web visit https://groups.google.com/d/msgid/django-users/5C30197E-FCE7-4BE8-B169-4E9E74F4EBF3%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALzNJXmFb3cSFpEmYs2yB502x%2BB9DtNkDT_L2hqxvmvTPx08jA%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 on the web visit https://groups.google.com/d/msgid/django-users/CAMf5KvxLjfvMEPJZ6j3PTruMpho34FOW3HaLOECfbkGQFV%2B6zA%40mail.gmail.com.

Re: How do I create a GEO management system using django as back-end and react as front-end?


On Thu, 12 Mar 2020 at 09:55, Philip Mitchell <tmitchellb007@gmail.com> wrote:
I want to work on a project where a user is able to mark and locate objects on a map as in the https://www.openstreetmap.org/
I don't know how to go about it, I have tried GeoDjango but I haven't found a way to create the APIs yet

--
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 on the web visit https://groups.google.com/d/msgid/django-users/299f9cd0-bb93-470c-89bb-7af8949d39bf%40googlegroups.com.


--
Best Regards,

Christian Ledermann

Newark-on-Trent - UK
Mobile : +44 7474997517

https://uk.linkedin.com/in/christianledermann
https://github.com/cleder/


<*)))>{

If you save the living environment, the biodiversity that we have left,
you will also automatically save the physical environment, too. But If
you only save the physical environment, you will ultimately lose both.

1) Don't drive species to extinction

2) Don't destroy a habitat that species rely on.

3) Don't change the climate in ways that will result in the above.

}<(((*>

--
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 on the web visit https://groups.google.com/d/msgid/django-users/CABCjzWpzGKYLLPeJhTN9AU0FVZoBJozzeA59kzNmJ_skeB4X5g%40mail.gmail.com.

Re: NoReverseMatch error message - Please help

Hi Jeff,

On 31/03/2020 14.08, Jeff Waters wrote:
> I am putting together a website which has a photo gallery where users can add comments. When I go to the photo gallery page, I get the following error message:
>
> NoReverseMatch at /photo_feed/ Reverse for 'add_comment' with arguments '('',)' not found. 1 pattern(s) tried: ['add_comment/$']
>

Trailing slashes are part of the path, so "/foobar/" is not the same as
"/foobar".

Hopefully that should give you a hint to what is most likely the cause
of your problem.

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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/860f1f56-b008-f38b-3b01-8ff985f5d88f%40stacktrace.dk.