Top

Bigdeal documentation

Django Admin


    We need a mechanism to change the data in the database now that we have built the tables there. Although the admin panel in Django makes this task easier, it can also be done using the terminal.

    You must first create an admin account via the terminal in order to access the Django Admin in the Django theme.

    For instructions on how to create an admin account, see below.

    Step 1:

    Open the python terminal by typing python3 (if you are a linux user) or python (if you are a windows user) in the terminal and pressing enter.Make sure that you have navigated to the Bigdeal-django folder.

    Step 2:

    For creating superuser(admin), first reach the same directory as that of manage.py and run the following command:

    python manage.py createsuperuser
    Then enter the Username of your choice and press enter.
    Username: admin
    Then enter the Email address and press enter.(It can be left blank)
    Email address: example@gmail.com
    Next, enter the Password in-front of the Password field and press enter.Enter a strong password so as to keep it secure.
    Password: ****** 
    Then again enter the same Password for confirmation.
    Password(again): ****** 
    Superuser created successfully if above fields are entered correctly.

    Step 3:

    Now we can login into our Django Admin page by running the command python manage.py runserver. Then,open a Web browser and go to "/ admin/" on your local domain e.g., http://127.0.0.1:5000/admin/ and then enter the same Username and Password.

    Info about all modules

    1. User
      • Now here you show all module tables.Let's see about User table.here you can see all users category(role) wise,next you show product table and attribute table,which both are connect to products.
      • Register New User

        Users-table

    2. Product
      • If you will add simple product then there is no required to add attributes,you can see below examples.
      • Type-Simple

        No attribute field

      • If you'll add classified product then you will add attributes before add product and you will add also more another variant.
      • Attribute Table

        Type-Classified

        Attribute field

      • you can add multiple images of product in both types simple and classified.
      • Multiple Image

    3. Category
      • Now you'll add product related categories,subcategories,etc.you can see below categories table.
      • Categories

    4. Brand
      • Here is brand table and you can see all brands.you can add any number of brands.
      • Brands

    5. Unit and Video Provider
      • Here is Unit and video providers table where you can add any numbers of unit and video provider platform
      • Units

        Video Provider

    6. Review
      • Here you can see all review and rating inside review table.
      • Reviews

    7. Themes
      • Now here is themes table and inside this table fifteen theme demo added.if your theme-demo status is active then only you can see particular theme-demo in frontend.here below i saw you examples.
      • Megastore1 Demo

      • Here you can see theme-demo home pages
      • Megastore1 Demo(home page)

        Ms2 Demo

        Ms3 Demo

        Ms4 Demo

        Ms5 Demo

        Electronics Demo

        Vegetable Demo

        Furniture Demo

        Cosmetic Demo

        Kids Demo

        Tools Demo

        Grocery Demo

        Pets Demo

        Farming Demo

        Digital marketplace Demo

    8. Banners
      • Now here is BannerType table which contains all types of banner like Slider, Banner, Timer, Instagram, review banner, video banner, Shop banner, etc.
      • Banner Types

      • Now here is Banner table which shows all type of banners and also you can add banner from here directly.
      • Banners

    9. Blogs
      • Now here is Blog categories table which shows all blog categories and also you can add new blog category from click on add blog category button.
      • categories

      • Now here is Blog table which shows all blogs and also you can add new blog from click on add blog button.
      • Blog

      • Now here is Comment table which shows all blog comments.
      • Comments

    10. Coupons
      • You can see coupons table where you can add coupon with your essential like amount,description,discount,expiry,etc.and you can see all coupon histories inside Coupon History table
      • Coupon

    11. Contact Us
      • Last in you can see contact us table where shows all user details which is contacted to you
      • Contact us

    12. Currency
      • Here you can see currency table and also you can add your currency from add currency button.
      • Currency