All Posts

Rometty Out as CEO of IBM; Foray into AI in Medicine with Watson Health a Legacy

By AI Trends Staff Ginni Rometty has announced she is stepping down as CEO of IBM in April after an eight-year run. Her legacy at IBM is tied to the…

Read More

How to compress the uploaded image before storing it in Django

We already know how to upload the image file in Django, store it and use it in Django templates. Sometimes images are of large size and we want to compress…

Read More

How to upload an Image file in Django

If you are looking for a way to upload and use the image on your Django website, then this article is for you. Follow these simple steps to upload an…

Read More

Python Django Project Idea for beginners

Here is the list of projects you can build in Python and/or Django. – To-Do List App– Media Player– Library Management System– Attendance Management System– Employee Leave management system– Niche…

Read More

Solving python error – TypeError: ‘NoneType’ object is not iterable

This is one of the most common errors we all faced at least once while working on a Python code. If you are facing a similar error then it is…

Read More

Solving python error – ValueError: invalid literal for int() with base 10

We can get this error when trying to convert a variable to an integer. Some examples are: Trying to convert a string to an integer. rana@brahma:~$ python3 Python 3.5.2 (default,…

Read More

Hello Word in Django 2: How to start with Django 2

We have already covered how to start with Django 1.9. In this article, we will see how to quickly get a simple page running using Django 2.2. Steps: Create a…

Read More

Getting query params from request in Django

To get query parameters from the request in the Django view, you need to access the GET attribute of the request. def get_request_example(request):print(request.GET)data = dict()return render(request, 'hw/home.html', data) To demonstrate…

Read More

How to backup database periodically on PythonAnyWhere server

You can host your Django app effortlessly on the PythonAnyWhere server. If you are using the database in your app then it is strongly recommended to take the backup of…

Read More

AI Driving Personalization Efforts at Restaurants; Dynamic Drive-Thru Menus Coming

By AI Trends Staff AI is no longer an under-the-radar experiment in the restaurant business, with many chains making substantial investments and headway with AI apps that seek to advance…

Read More