Posts of tanzim(17)

Re-Visiting the old projects

I have done a few projects in the past for my academics. And heard about quite a few while doing so. I am planning to revisit those projects and bring them to life using either Django or Flask. These are two oldest projects i did, i will gradually update the list and complete projects accordingly

  1. A Club Portal: A Hub for all the clubs activity and Posts. There will be Admin Group, Staff Group, User Group, Each Club will have its own pages and users. One user can join multiple clubs and his fee…

Read more ...

Adding Sitemap to Django

Django comes with a sitemap package built in. The sitemap provides you with a .XML file that lists down your pages in xml format which is used by the search engine to crawl data

To use this we need to add site and sitemap package it to our INSTALLED_APPS in the settings.py file. It comes with Django so we just need to add these two lines in the INSTALLED_APPS

'django.contrib.sites',
'django.contrib.sitemaps',

we need to add a system variable called SITE_ID. and we will provide an id for the d…

Read more ...

Learning Kivy with Example: Part III

Learning Kivy with Example: Part II**

This is the last part of the project. In this part, we will activate the functionality in the main app, so that it works the way it should.

This far, our skeleton is complete, The GUI is ready. Now we work on the functionality.

Let's Begin . . .

In our main.py file inside the container class we have 3 functions, add_one, subtract_one and multiply. let's start with the add_one function. We will add 1 to the existing value with this function. But where is th…

Read more ...

Learning Kivy with Example: Part II

Learning Kivy with Example: Part I**

In the last part we created the skeleton of our app, it helps us visualize what our app contains and what it will possibly do. This time we will gradually build the user interface for the application. Kivy is quite powerful and we already did a very important thing about the GUI while creating our container. We will see how it comes handy.

Let's Begin . . .

Let's open the main.kv file. Kivy uses its own templating language to create the GUI. its called KV. I…

Read more ...

Learning Kivy with Example: Part I

Kivy is a GUI development Library built with python.

Here I will document what I learned doing the project,

Project: an application that provides 3 buttons and an output area in the same window. adds, subtracts and multiplies on click.

Project requirement:

  • python 3.x.x
  • kivy
  • IDE or code editor

Project Structure

project directory/
- kv/
    - buttons.kv
- main.py
- main.kv

Code Explained:

It all starts in the main.py file. From here we create the flow of the application. It also works as our …

Read more ...
First Previous 1 2 3 4 Next Last

Quick Access

Faster way to traverse the blog