StackTipsLab / bloggy

Open source codebase for stacktips.com blog. It is built using Python and Django framework.
https://stacktips.com
MIT License
18 stars 7 forks source link

Create Djando custom commands to import CSV data for articles #9

Closed nilandev closed 12 months ago

nilandev commented 1 year ago

We want to create a Django Command similar to bloggy/bloggy/management/commands/import_content.py to import demo contents from a specific directory.

Note that the import_content command calls the import_categories command internally. As a part of this ticket, we want to create custom commands to import articles.

 call_command('import_categories', '--file={}/categories.csv'.format(file_path))
Lamma-maihadisi commented 1 year ago

Please provide a description for this issue

nilandev commented 1 year ago

@Lamma-maihadisi updated the ticket with additional details. Hopefully this helps. For any questions please let me know.

nilandev commented 12 months ago

Articles importer added in #26.

nilandev commented 12 months ago

Fixed.