Re: django admin widget

2018-10-13 Thread Ryan Nowakowski
I've done something similar in the past but I use a separate model for author that has a foreign key back to book. You can limit the number of authors to 3 in the author save method. Then you can use an inline form for author in the admin. That will give you the + functionality you're looking

Re: Instagram embedding

2018-10-13 Thread Mikko Meronen
Hi, It worked in production environment well, just not in development environment. - Mikko la 13. lokak. 2018 klo 17.39 Mikko Meronen (mikkovillemero...@gmail.com) kirjoitti: > Hi, > > I'm trying to embed Instagram to my development site by using a Instagram > embedding code, but when I add it

Re: How to save multiple model form in one template?

2018-10-13 Thread Ing.Daniel Bojorge
ok Dios L@s Bendiga Saludos, [image: --] daniel.bojorge [image: http://]about.me/daniel.bojorge Mi Blog Nicaragua "Si ustedes permanecen unidos a mí, y si permanecen fieles a mis enseñanzas, pidan lo que

Re: How to save multiple model form in one template?

2018-10-13 Thread Joel Mathew
Could you kindly stop spamming your course details over over this discussion group. It's not useful to the majority of us English speaking people. On Sat, 13 Oct 2018 at 20:41, Daniel Bojorge (Foros) wrote: > Take a look to my course (in spanish) and go to the last CRUD, there I do > a

Re: How to save multiple model form in one template?

2018-10-13 Thread Daniel Bojorge (Foros)
Take a look to my course (in spanish) and go to the last CRUD, there I do a Master-Detail form, the detail form are many models DJANGO 2.1 https://goo.gl/oeT5Sx El viernes, 7 de septiembre de 2018, 4:43:11 (UTC-6), Django Lover escribió: > > > I have one page, which I have to show three

Instagram embedding

2018-10-13 Thread Mikko Meronen
Hi, I'm trying to embed Instagram to my development site by using a Instagram embedding code, but when I add it to my html, I get the error below. I would appreciate a lot if someone could help me to understand the error and solve the problem. Best regards, - Mikko UnicodeDecodeError at

Re: Problems with code in shell (Django 2 and python 3.6)

2018-10-13 Thread Luis Enrique Gonzalez D
It's possible that exist and confusion using libraries due to the versions of python. Try this in the import : from datetime import datetime El vie., 12 oct. 2018 a las 16:07, User1 () escribió: > Hello, I am practicing the tutorial part 5, Test and I got an error I can > solve. > The code in

Re: mysql client error

2018-10-13 Thread Joel
What exactly is the error? On Sat, 13 Oct, 2018, 6:56 PM highnes joseph, wrote: > how to fix pip install mysqlclient error? > > -- > 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

Re: login() got an unexpected keyword argument 'template_name'

2018-10-13 Thread Daniel Bojorge (Foros)
I suggest you that you use path in the url file. I made an implemantation of login like this from django.urls import include, path from django.contrib.auth import views as auth_views from generales.views import Home, SinPrivilegios, HomeSinPrivilegios urlpatterns = [ path('',

Re: Permission to views

2018-10-13 Thread Daniel Bojorge (Foros)
Hi, I made this course (in spanichs), but I try this topic. DJANGO 2.1 https://goo.gl/oeT5Sx First use Mixin, they must to go from left to right in the views declaration, after the type of generic view. In the course I used the PermissionRequiredMixin and this use the permission_required

Re: beginner guide

2018-10-13 Thread Daniel Bojorge (Foros)
I made this course, I hope be useful for you https://goo.gl/oeT5Sx It's in spanish. El lunes, 8 de octubre de 2018, 10:39:29 (UTC-6), Ashok Reddy escribió: > > hello every one .i am beginner to Django. Could you please suggest me the > best source to learn,i am very enthusiastic to learn. >

[Curso:2.1-Spanish] Django: Creando una aplicación Completa

2018-10-13 Thread Daniel Bojorge (Foros)
CURSO DJANGO: CREANDO UNA APLICACIÓN COMPLETA (Único con Django 2.1 en español) ===> https://goo.gl/oeT5Sx <=== (94% Descuento) #Curso #Django #Clase #Migration #Python #PostgreSQL #Course Luego de crear el modelo (lo vemos cómo se hizo), procedemos a generar la primer migración, para luego

mysql client error

2018-10-13 Thread highnes joseph
how to fix pip install mysqlclient error? -- 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 post to this group, send