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
- 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.
- Product
- If you will add simple product then there is no required to add attributes,you can see below examples.
- If you'll add classified product then you will add attributes before add product and you will add also more another variant.
- you can add multiple images of product in both types simple and classified.
- Category
- Now you'll add product related categories,subcategories,etc.you can see below categories table.
- Brand
- Here is brand table and you can see all brands.you can add any number of brands.
- Unit and Video Provider
- Here is Unit and video providers table where you can add any numbers of unit and video provider platform
- Review
- Here you can see all review and rating inside review table.
- 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.
- Here you can see theme-demo home pages
- Now here is BannerType table which contains all types of banner like Slider, Banner, Timer, Instagram, review banner, video banner, Shop banner, etc.
- Now here is Banner table which shows all type of banners and also you can add banner from here directly.
- 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.
- Now here is Blog table which shows all blogs and also you can add new blog from click on add blog button.
- Now here is Comment table which shows all blog comments.
- 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
- Contact Us
- Last in you can see contact us table where shows all user details which is contacted to you
- Currency
- Here you can see currency table and also you can add your currency from add currency button.
Register New User
Users-table
Type-Simple
No attribute field
Attribute Table
Type-Classified
Attribute field
Multiple Image
Categories
Brands
Units
Video Provider
Reviews
Megastore1 Demo
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
Banner Types
Banners
categories
Blog
Comments
Coupon
Contact us
Currency