how can i solve that

2022-09-01 Thread amr ahmed
[image: iii.png] -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://gro

Re: I am getting this error while I mention all syntax properly.plz help me out.

2020-09-13 Thread amr
Change (href="{% url 'your_app_name:post_detail' post.id %}") == post.id not post.pk and change (post=Post.objects.get(Post, pk=pk)) ==> TO (post=Post.objects.get(pk=pk) ... And it will work with you On Saturday, September 12, 2020 at 6:37:41 PM UTC+2 coolguy wrote: > Please provide

Re: I am getting this error plz help me out of this.

2020-09-10 Thread amr
In your views function you passed a (pk) so you must pass it in your path in (urls.py) as path('postdetail//', views.post_detail, name='post_detail') Then in your template in(href="{% url 'appname:post_detail' post.id %}") and you will redirect to your url as (localhost:port/postdetail/1) or 2

in python project using pycharm, im getting error, any help

2020-03-02 Thread Amr Hamed
-- Edit question in python project using pycharm, im getting error, any help: models.py from django.con

Re:

2019-02-21 Thread amr aly
Hi, you have indentation error , you must put (class Choice) under (class Question) like this class Question(): class Choice(): so the error says "Question" not defined hope it helps On Thursday, February 21, 2019 at 8:57:51 PM UTC+2, bhushan patil wrote: > > The code for models > > On Fri 2

Re:

2019-02-21 Thread amr aly
Hi, You miss capital "M" it's like this class Question(models.Model): the error message is very clear and indicate this error hope it helps On Wednesday, February 20, 2019 at 2:16:58 PM UTC+2, bhushan patil wrote: > > Guys I am not able to run the file manage.py on runserver.Its showing that >

Django free deployement help

2012-10-30 Thread Amr Abdel-wahab
I have good experience with django developement but over local machines, I have never built a project so can someone recommend me a free service to deploy an experimental project on it along with easy tutorial to handle that. Many Thanks, Amr Abdelwahab -- You received this message because

Slideshare API

2012-05-22 Thread Amr Abdel-wahab
Anyone here ever dealt with slideshare API in a django project and know how exactly to use it -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, sen

Static files management

2012-05-22 Thread Amr Abdel-wahab
I need the exact steps to have this thing working right because I tried alot and its nt working -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, s

Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
Ok to solve that thing quickly for now I just copied the whole JS file into my HTML, another problem we're facing here is that I get the name of the file dynamically like the following swfobject.embedSWF("{{lecture.lectureFile}}", "myAlternativeContent", "800", "600", "9.0.0", false, flashvars, p

Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
And I am sorry for bothering you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For m

Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
Oh ok, then can you give me a solution? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com.

Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
It just doesn't work if rendered but the same exact file does work if I opened it in a browser view -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this grou

Re: Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
Man it's the same exact file, from the same directory and everything -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+

Problem with Jquery over Django

2012-05-16 Thread Amr Abdel-wahab
var attributes = {}; attributes.id = "myId"; swfobject.embedSWF("/home/amr/STIP/media/MCCdirnum_2.swf", "myAlternativeContent", "800", "600", "9.0.0", false, flashvars, params,

Re: Presentation Viewer on django

2012-05-07 Thread Amr Abdel-wahab
I don't want to generate a pdf/ppt or edit it I just need to upload it in one page and show it in a frame in another page in the browser -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Presentation Viewer on django

2012-05-07 Thread Amr Abdel-wahab
Hi All, I am new to Django I need a complete way where I can allow the user to upload a ppt or pdf file and then in the template I show this file embedded Many Thanks, Amr -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to