Re: AttributeError when returning post.title in a comment model

2020-05-31 Thread Julio Cojom
Try '{0}-{1}'.format(var1, var2) Check in the console in what line it's throwing the attribute error Rewards El vie., 29 de mayo de 2020 5:10 p. m., Ahmed Khairy < ahmed.heshamel...@gmail.com> escribió: > I was working on a comment section for post and was getting an > AttributeError when I

Re: Can You please help me out!!!

2020-05-31 Thread Julio Cojom
Boolean field on notification model that change status when click or view the notification , this perhaps need an asynchronous task with jQuery or celery Rewards El vie., 29 de mayo de 2020 9:28 p. m., meera gangani < meeragangan...@gmail.com> escribió: > I Want to implement Mark all a read in

Re: keras

2020-05-31 Thread HJ
sorry I was using python 3.7.4 32bit and it required 64 , now it worked for me Le lundi 1 juin 2020 01:13:54 UTC+1, Franck Tchouanga a écrit : > > Which version are you trying to install > > On Mon, Jun 1, 2020, 00:39 HJ > wrote: > >> hello guys hope u r doing well >> >> I want to use keras

Re: Ajax and Django and jQuery - .attr()

2020-05-31 Thread meli...@melindaminch.com
Hello! To answer the question about template tags in javascript, i.e. $.post("{% url 'upvote' %}", {answer_id:answerid}) I This works when your js is written in the template, as you have it, but if you ever want to move that JavaScript into a separate .js file, it will break. That’s because

Re: keras

2020-05-31 Thread Franck Tchouanga
Which version are you trying to install On Mon, Jun 1, 2020, 00:39 HJ wrote: > hello guys hope u r doing well > > I want to use keras but I face the error like *there is no module named > tensorflow* when I try to install it I face this error : > > **ERROR: Could not find a version that

keras

2020-05-31 Thread HJ
hello guys hope u r doing well I want to use keras but I face the error like *there is no module named tensorflow* when I try to install it I face this error : **ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: none)* *ERROR: No matching distribution

Re: Ajax and Django and jQuery - .attr()

2020-05-31 Thread Stephen J. Butler
This isn't a jQuery issue, it's a JavaScript/ECMAScript issue. When you use the "arrow function" style like "() => { ...code... }" then certain variables are not bound into the function contact, including "this".

Ajax and Django and jQuery - .attr()

2020-05-31 Thread Jan Gregorczyk
I have a problem with Ajax and Django templates. I'm new to Ajax and jquery. Console log at the end of the script prints undefined. I don't know why let answerid = $(this).attr("answer-id"); doesn't extract attribute from this line: I also want to know if using template tags in javascript

Re: How to make Custom User Registration and Login

2020-05-31 Thread sunday honesty
It's better to make a separate app for users. You can call the app users or account. Create a form.py file in your users app. Then create a CustomUser class that inherits from either AbstractUser or AbstractBaseUser (check out the difference between the two). Then you can define the fields you

Re: Need Dashboard in Django Admin only

2020-05-31 Thread Derek
PS - Should be "Django REST Framework" ( https://github.com/encode/django-rest-framework ) PPS - Please don't use pie charts, especially 3D, for your visuals ( https://www.businessinsider.com/pie-charts-are-the-worst-2013-6?IR=T ) On Sunday, 31 May 2020 17:05:16 UTC+2, Derek wrote: > > There

Re: Need Dashboard in Django Admin only

2020-05-31 Thread Derek
There are numerous ways to design a front-end dashboard; this a highly contested domain on the web! Just some examples, using Django + various other tech are: * https://www.highcharts.com/blog/tutorials/create-a-dashboard-using-highcharts-and-django/ *

Re: How to make Custom User Registration and Login

2020-05-31 Thread Abhi Mathew
Here: Django Custom User Model I don't how familiar you are with Django but this post will help you anyhow! On Wednesday, May 6, 2020 at 3:39:29 PM UTC+5:30, Anubhav Madhav wrote: > > I am new to Django. I need to make a custom sign up and log

Can I involve a node js App in my Django App?

2020-05-31 Thread 'Alexander Rogowski' via Django users
I have a chatbot implemented in a nodejs app (with vue files) and is splitted into different settings like human.vue, non-human.vue , human-with-random-type-delay.vue etc... My question now is, how can I show a selection of this settings in my django project? The nodejs App loads atm the

Re: Apprendre Django en ligne avec un professionnel

2020-05-31 Thread DOUMBIA MAMOUTOU
Merci chef Le dim. 31 mai 2020 09:32, N'BE SORO a écrit : > Bonjour chers tous, > Ce message s'adresse au débutant en Django qui veulent se former avec > l'assistance en ligne d'un professionnel. > Vous voulez apprendre à développer en Django et mettre en production votre > site ? > Alors

Re: Please help me out?

2020-05-31 Thread Larry Martell
On Sat, May 30, 2020 at 11:30 PM meera gangani wrote: > > I want to generate trello-board in my django application > Can anyone tell me the How to do this? > Trello-board is like( to-do and future enhancements and doing ) where there > are 3-4 columns Take a look at

Re: Apprendre Django en ligne avec un professionnel

2020-05-31 Thread KONE GOMPOU LOUA ALASSANE
Bonjour M. Soro, j’aimerais savoir si vous n’avez pas également des formations Xamarin, DotNet Core. Merci, Cordialement ! Le dim. 31 mai 2020 à 09:34, N'BE SORO a écrit : > Bonjour chers tous, > Ce message s'adresse au débutant en Django qui veulent se former avec > l'assistance en ligne

RES: Command open postgresql in from cmd in windows

2020-05-31 Thread Samuel Nogueira
You’re welcome  De: sunday honestyEnviado:domingo, 31 de maio de 2020 06:19Para: django-users@googlegroups.comAssunto: Re: Command open postgresql in from cmd in windows It worked Samuel. Thank you very much On Sun, May 31, 2020, 7:38 AM sunday honesty wrote:All right.

Re: Parallel or split payment options using paypal

2020-05-31 Thread John McClain
Thx Christo, My conclusion is the option has been deprecated and is only available if you previously accessed it or are a part of their partnership program. The forms to apply to that program are not accessible likely due to covid. Anyway, I will check the link you provided again to see if I can

Apprendre Django en ligne avec un professionnel

2020-05-31 Thread N'BE SORO
Bonjour chers tous, Ce message s'adresse au débutant en Django qui veulent se former avec l'assistance en ligne d'un professionnel. Vous voulez apprendre à développer en Django et mettre en production votre site ? Alors prenez connaissance avec notre programme de formation:

Re: Command open postgresql in from cmd in windows

2020-05-31 Thread sunday honesty
It worked Samuel. Thank you very much On Sun, May 31, 2020, 7:38 AM sunday honesty wrote: > All right. I'll do that now. > > On Sat, May 30, 2020, 11:34 PM Samuel Nogueira > wrote: > >> you just need to specify the username wich you want to use. So type "psql >> -U postgres", as postgres being

Re: Please help me out?

2020-05-31 Thread meera gangani
Like I have to implement trello board function in django In order that I have to implement archieve functionality and separately provided boxes for that 1.todo 2.doing 3 future enhancements etc. On Sunday, May 31, 2020, Sharva kant wrote: > Hi Meera, > > I believe you would have to use

Re: Command open postgresql in from cmd in windows

2020-05-31 Thread sunday honesty
All right. I'll do that now. On Sat, May 30, 2020, 11:34 PM Samuel Nogueira wrote: > you just need to specify the username wich you want to use. So type "psql > -U postgres", as postgres being your username. > > > Em sáb., 30 de mai. de 2020 às 18:47, sunday honesty < > honesty202...@gmail.com>

Re: Parallel or split payment options using paypal

2020-05-31 Thread CHRISTO KRIEGLER
Hi, John. Read here https://www.paypal.com/us/smarthelp/article/faq3422 and you will also see this message: "Due to coronavirus (COVID-19) safety precautions, we currently have limited customer service staffing so wait times may be longer." I believe you will find answers on there too.

Re: Django Pagination

2020-05-31 Thread Akshat Zala
Hi, if I change the template to: {% if not is_paginated %} {% if page_obj.has_previous %} First arrow_left {% endif %} {% for num in page_obj.paginator.page_range %} {% if page_obj.number == num %} {{ num }} {% elif num > page_obj.number|add:'-4' and num < page_obj.number|add:'4' %} {{ num }} {%