Re: Exception Value: (1048, "Column 'active_year_id' cannot be null")

2019-10-20 Thread Gil Obradors
Maybe you wan to fill this field, so last mail isn t the solution. Can you paste the code of form? Html amb form py? The user selects the year, or its automatically filled in view post class ? El dl., 21 d’oct. 2019, 7:27, Gil Obradors va escriure: > Hi! > This field cant be null > > Add

Re: Exception Value: (1048, "Column 'active_year_id' cannot be null")

2019-10-20 Thread Gil Obradors
Hi! This field cant be null Add null=True, blank=True To parameters of active_year and solved El dg., 20 d’oct. 2019, 18:58, Rain va escriure: > Hello Guys Hopefully someone can help me on this.! any help i appreciate > it. > > My Problem is This.. I do my research and still cant figure

taggit in Django CBV

2019-10-20 Thread mohamed khaled
views.py from django.shortcuts import render, get_object_or_404 from .models import Post from django.views.generic import ListView from taggit.models import Tag def post_list(request, tag_slug=None): object_list = Post.published.all() tag = None if tag_slug: tag =

Exception Value: (1048, "Column 'active_year_id' cannot be null")

2019-10-20 Thread Rain
Hello Guys Hopefully someone can help me on this.! any help i appreciate it. My Problem is This.. I do my research and still cant figure out what the solution for this..! i do Try alot of things but still cant get this right. what i want is to populate the active_year_id. automatically when

Progressive Web apps. Where to put Service Workers and Manifest.json

2019-10-20 Thread Mirza Saffan
HI. I am trying to build a django progressive web app and wondering where to put my service worker.js file. Note I wan't to set scope that every app(page) can access. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Complete book

2019-10-20 Thread V S V Narsimha Murthy
Thanks a lot for shaing the book. Really appreciate it. Best Regards, On Sat, Oct 19, 2019 at 7:36 PM ISAAC NELSON S.B. KARGBO < insbkar...@njala.edu.sl> wrote: > Try this one out > > On Sat, Oct 19, 2019, 13:47 Md Nayem Tushar wrote: > >> Have any easy and properly complete book in django?

Re: AttributeError: cffi library '_constant_time' has no function, constant or global variable named '__spec__'

2019-10-20 Thread 'Abhishek Sharma' via Django users
During handling of the above exception, another exception occurred: Traceback (most recent call last): File "manage.py", line 21, in main() File "manage.py", line 17, in main execute_from_command_line(sys.argv) File

AttributeError: cffi library '_constant_time' has no function, constant or global variable named '__spec__'

2019-10-20 Thread 'Abhishek Sharma' via Django users
I'm using Django and while run code getting below error, please help out on it AttributeError: cffi library '_constant_time' has no function, constant or global variable named '__spec__' -- The information in this e-mail and any attachments is confidential and may be legally