<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Bidyut Maji</title>
    <description>The latest articles on Forem by Bidyut Maji (@bidyutmaji).</description>
    <link>https://forem.com/bidyutmaji</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1009101%2F7c8e5031-940e-4860-a9d2-d18e0f14cb12.jpeg</url>
      <title>Forem: Bidyut Maji</title>
      <link>https://forem.com/bidyutmaji</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/bidyutmaji"/>
    <language>en</language>
    <item>
      <title>Flutter</title>
      <dc:creator>Bidyut Maji</dc:creator>
      <pubDate>Sun, 02 Mar 2025 12:13:32 +0000</pubDate>
      <link>https://forem.com/bidyutmaji/flutter-14kd</link>
      <guid>https://forem.com/bidyutmaji/flutter-14kd</guid>
      <description></description>
    </item>
    <item>
      <title>A short blog on top 5 django customizations</title>
      <dc:creator>Bidyut Maji</dc:creator>
      <pubDate>Mon, 16 Jan 2023 10:49:28 +0000</pubDate>
      <link>https://forem.com/bidyutmaji/a-short-blog-on-top-5-django-customizations-4p9b</link>
      <guid>https://forem.com/bidyutmaji/a-short-blog-on-top-5-django-customizations-4p9b</guid>
      <description>&lt;p&gt;Django is a powerful web framework that provides a lot of flexibility and customization options. While the built-in functionality is more than enough for most projects, some more advanced use cases may require additional customization. In this blog post, we'll be discussing the top 5 advanced customizations that you can make to your Django project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Creating Custom Database Backends:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.djangoproject.com/en/4.1/topics/db/multi-db/" rel="noopener noreferrer"&gt;Django supports multiple databases&lt;/a&gt; and the built-in database backends provide a lot of functionality, but sometimes you need to connect to a database that Django doesn't support out of the box. Creating a custom database backend allows you to connect to any database and use it with Django's ORM.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Middleware:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.djangoproject.com/en/4.1/topics/http/middleware/" rel="noopener noreferrer"&gt;Middleware&lt;/a&gt; is a powerful feature that allows you to modify the request and response objects at various stages of the request/response cycle. Creating custom middleware allows you to add your own logic and functionality to the request/response cycle.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Form Fields and Widgets:
&lt;/h2&gt;

&lt;p&gt;Django provides a lot of&lt;a href="https://docs.djangoproject.com/en/4.1/ref/forms/fields/" rel="noopener noreferrer"&gt; built-in form fields&lt;/a&gt; and widgets, but sometimes you need to create your own. Custom form fields and widgets allow you to create forms that are tailored to your specific needs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Template Tags and Filters:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://docs.djangoproject.com/en/4.1/topics/templates/" rel="noopener noreferrer"&gt;Django's built-in template engine&lt;/a&gt; is powerful, but sometimes you need to create your own template tags and filters to add custom functionality to your templates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Custom Management Commands:
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://theubuntulinux.com/faq/how-to-create-django-custom-management-commands-with-example/" rel="noopener noreferrer"&gt;Django's management commands&lt;/a&gt; are a powerful feature that allows you to perform tasks from the command line. Creating custom management commands allows you to automate tasks that are specific to your project.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;These are just a few examples of the many advanced customizations that you can make to your Django project. By taking advantage of these customizations, you can create a more powerful, flexible, and tailored application that meets your specific needs.&lt;/p&gt;

</description>
      <category>support</category>
    </item>
    <item>
      <title>How to force reinstall packges in Ubuntu</title>
      <dc:creator>Bidyut Maji</dc:creator>
      <pubDate>Mon, 16 Jan 2023 10:36:28 +0000</pubDate>
      <link>https://forem.com/bidyutmaji/how-to-force-reinstall-packges-in-ubuntu-5936</link>
      <guid>https://forem.com/bidyutmaji/how-to-force-reinstall-packges-in-ubuntu-5936</guid>
      <description>&lt;p&gt;Reinstalling packages in &lt;a href="//ubuntu.com"&gt;Ubuntu&lt;/a&gt; can be a useful troubleshooting step when dealing with software issues. Sometimes, a package may become corrupted or may not be functioning correctly, and reinstalling it can fix the problem. In this blog post, we will go over the steps to force reinstall packages in Ubuntu.&lt;/p&gt;

&lt;p&gt;The first step is to update the package list on your system by running the following command:&lt;/p&gt;

&lt;p&gt;sudo apt-get update&lt;/p&gt;

&lt;p&gt;Next, we will use the apt-get command with the --reinstall option to force reinstall the package. The general syntax for this command is as follows:&lt;/p&gt;

&lt;p&gt;sudo apt-get --reinstall install [package-name]&lt;/p&gt;

&lt;p&gt;For example, if you want to force reinstall the package nano, you would run the following command:&lt;/p&gt;

&lt;p&gt;sudo apt-get --reinstall install nano&lt;/p&gt;

&lt;p&gt;It's worth noting that this command will also automatically reinstall any dependencies that the package may have.&lt;/p&gt;

&lt;p&gt;Another way of reinstalling the package is by using dpkg command, by running the following command:&lt;/p&gt;

&lt;p&gt;sudo dpkg -i --force-all /path/to/package.deb&lt;/p&gt;

&lt;p&gt;It's important to note that the --force-all option is necessary to override any file conflicts that may arise during the reinstallation process.&lt;/p&gt;

&lt;p&gt;In addition to reinstalling a single package, you can also force reinstall all the packages on your system by running the following command:&lt;/p&gt;

&lt;p&gt;sudo apt-get --reinstall install $(dpkg --get-selections | awk '{print $1}')&lt;/p&gt;

&lt;p&gt;This command will reinstall all of the packages that are currently installed on your system.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;In conclusion, &lt;a href="https://theubuntulinux.com/faq/how-to-reinstall-a-package-using-apt-get-debian-ubuntu/" rel="noopener noreferrer"&gt;reinstalling packages in Ubuntu&lt;/a&gt; can be a &lt;a href="https://ubuntu.com/core/docs/reference/troubleshooting" rel="noopener noreferrer"&gt;useful troubleshooting step&lt;/a&gt; when dealing with software issues. The apt-get command with the --reinstall option can be used to force reinstall a package, and the dpkg -i --force-all command can be used to force reinstall a package in the form of a &lt;a href="https://manpages.ubuntu.com/manpages/trusty/man5/deb.5.html" rel="noopener noreferrer"&gt;.deb file&lt;/a&gt;. Remember to use these commands with caution as they will override any changes made to the package.&lt;/p&gt;

</description>
      <category>react</category>
      <category>javascript</category>
      <category>webdev</category>
      <category>career</category>
    </item>
  </channel>
</rss>
