Commit 4ef1da80 authored by ChamendiPabasara's avatar ChamendiPabasara

gazetteDownloadDetailsApi Configuarations

parent 5bdb4284
......@@ -379,7 +379,7 @@ def PdfBreaker(gz_url):
cv = Converter(pdf_file)
cv.convert(docx_file, start=0, end=None)
cv.close()
pubDate_ = os.path.basename(pdf_file)[0:10]
document = Document(output_docx_file_path.format(get_base_path()))
......@@ -511,11 +511,12 @@ def readSecondaryStorage():
def gazetteDownloadDetailsApi(request, id=0):
data_ = []
# retrieving
if request.method == 'GET':
gazettes = Gazette.objects.all()
gazette_serializer = GazetteSerializer(gazettes, many=True)
# commodityPriceHandler()
# import codecs
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment