Arabic text is written in reverse when filling PDF form and saving it

2024-05-14 Thread Yousuf Yousuf
I'm using fillpdf library to fill in a PDF form. When I use it externally it works fine and all. When I save the file generated by fillpdf to my model the Arabic text becomes reversed. [image: Screenshot 2024-05-14 120336.png] This is my code: import requests from fillpdf import fillpd

django noob question

2012-01-27 Thread yousuf
this is my models.py from django.db import models # Create your models here. class Leagues(models.Model): LeagueName = models.CharField(max_length=200) class Team(models.Model): TeamName = models.CharField(max_length=200) class LeagueTable(models.Model): league = models.ForeignKey(