o
    _hA                     @   s4   d dl mZ d dlmZmZmZ G dd deZdS )    )BaseCommand)CourseSemesterSubjectc                   @   s   e Zd ZdZdd ZdS )Commandz=Seed all semesters and subjects for B.Tech (Hons) CSE course.c              	   O   s   t jjdd}ddddddd	d
d}g d}dD ])}|| }tjj|||d\}}	|D ]\}
}}}||kr@tjj||
||dd q+q| j| j	d d S )Nzbtech-hons-cse)slug                        )IIIIIIIVVVIVIIVIII)M)	24BAS101TzEngineering Mathematics - Ir   r   )	24BAS102PzEngineering Physics Labr   r   )	24BAS102TzEngineering Physicsr   r
   )	24BCS101Pz/Computational Thinking and Programming in C Labr   r   )	24BCS101Tz+Computational Thinking and Programming in Cr   r
   )	24BME101Pz&Concepts of Mechanical Engineering Labr   r   )	24BME101Tz"Concepts of Mechanical Engineeringr   r
   )	24SEC002PzAdvance Digital Marketing Labr   r   )	24SEC002TzAdvance Digital Marketingr   r
   )	24AEC001Tz&Soft Skills and Verbal Communication-Ir   r
   )	24BAS201TzEngineering Mathematics - IIr   r   )	24BCE101Tz"Energy & Environmental Engineeringr   r
   )	24BCE101Pz&Energy & Environmental Engineering Labr   r   )	24BCS201PzData Structures Labr   r   )	24BCS201TzData Structuresr   r   )	24BEC101Pz6Principles of Electrical & Electronics Engineering Labr   r   )	24BEC101Tz2Principles of Electrical & Electronics Engineeringr   r
   )	24SEC009Pz*Advance IT Tools for Office Automation Labr   r   )	24SEC009Tz&Advance IT Tools for Office Automationr   r
   )	24SEC003Tz.Quantitative, Aptitude and Logical Reasoning-Ir   r	   )	24SYN101Pz!Health Wellness (Sports/Yoga/NCC)r   r	   )	24BAS301TzDiscrete Mathematicsr   r   )	24BCS301PzOperating System Labr   r   )	24BCS301TzOperating Systemr   r
   )	24BCS302Pz*Object Oriented Programming using Java Labr   r   )	24BCS302Tz&Object Oriented Programming using Javar   r   )	24BCS303Tz'Introduction to Artificial Intelligencer   r
   )	24BCS304PzPython Programming Labr   r   )	24BCS304TzPython Programmingr   r
   )	24AEC002Tz'Soft Skills and Verbal Communication-IIr   r
   )	24SIP001PzSummer Internship-Ir   r	   )	24BCS401Pz%Design and Analysis of Algorithms Labr   r   )	24BCS401Tz!Design and Analysis of Algorithmsr   r   )	24BCS402Tz'Theory of Automata and Formal Languagesr   r   )	24BCS403TzSoftware Engineeringr   r
   )	24BCS404Pz Machine Learning with Python Labr   r   )	24BCS404TzMachine Learning with Pythonr   r
   )	24BCS405Pz.Drone Application, Components and Assembly Labr   r   )	24BCS405Tz*Drone Application, Components and Assemblyr   r
   )	24BCS406Pz#Web Technologies (HTML/CSS/PHP) Labr   r   )	24BCS406TzWeb Technologies (HTML/CSS/PHP)r   r   )	24SEC004Tz/Quantitative, Aptitude and Logical Reasoning-IIr   r	   )	24BCS501PzDatabase Management System Labr   r   )	24BCS501TzDatabase Management Systemr   r   )	24BCS502PzComputer Networks Labr   r   )	24BCS502TzComputer Networksr   r   )	24BCS503Tz&Computer Organization and Architecturer   r
   )	24BCS504PzCompiler Design Labr   r   )	24BCS504TzCompiler Designr   r   )	24ECSXXXTzDiscipline Elective-Ir   r
   )	24ECS508Tz/Front End web UI Framework and Tools: Bootstrapr   r   )	24AEC003Tz(Soft Skills and Verbal Communication-IIIr   r
   )	24SIP002PzSummer Internship-IIr   r	   )	24BCS601TzCloud Computingr   r   )	24BCS602PzData Mining & Warehousing Labr   r   )	24BCS602TzData Mining & Warehousingr   r   )	24BCS603PzJoy of Deep Learning Labr   r   )	24BCS603TzJoy of Deep Learningr   r   )	24BCS604TzFundamental of Cyber Securityr   r
   )rI   zDiscipline Elective-IIr   r
   )	24ECS608Tz'Introduction to Angular JS and Mongo DBr   r   )rI   zDiscipline Elective-IIIr   r
   )	24SEC005Tz0Quantitative, Aptitude and Logical Reasoning-IIIr   r	   )	24BCS701Pz%Cryptography and Network Security Labr   r   )	24BCS701Tz!Cryptography and Network Securityr   r   )	24BCS702PzBig Data Analytics Labr   r   )	24BCS702TzBig Data Analyticsr   r
   )rI   zDiscipline Elective-IVr   r
   )rI   zDiscipline Elective-Vr   r
   )	24OECXXXTzOpen Electiver   r
   )	24MDC001TzInnovation and Entrepreneurshipr   r
   )	24BCS709PzMinor Projectr   r	   )	24SIP003PzSummer Internship-IIIr   r	   )	24BCS801PzMajor Projectr      )	24VAC003PzmMOOC/Swayam Online Course of Min 08 Weeks (As decided by department)/Value Added Course run by University - Ir   r	   )	24VAC004PznMOOC/Swayam Online Course of Min 08 Weeks (As decided by department)/Value Added Course run by University - IIr   r	   )	24SEC010Pz#Patent/Research Publication/Startupr   r	   )coursenamenumber )semestercoderc   creditsdescriptionz>All semesters and subjects have been added for btech-hons-cse.)
r   objectsgetr   get_or_creater   stdoutwritestyleSUCCESS)selfargsoptionsrb   roman_to_numsubjects_data	sem_roman
sem_numberrf   _rg   rc   semrh    rz   N/var/www/apihucms/courses/management/commands/seed_btech_hons_cse_semesters.pyhandle   s(   O	zCommand.handleN)__name__
__module____qualname__helpr|   rz   rz   rz   r{   r      s    r   N)django.core.management.baser   courses.modelsr   r   r   r   rz   rz   rz   r{   <module>   s    