|Join Nairaland / LOGIN! / Trending / Recent / New|
Stats: 2,522,261 members, 5,768,122 topics. Date: Monday, 03 August 2020 at 10:19 PM
|Re: For Django Developer by Taofeekdboy(m): 10:15am On Jun 21|
fortifiedng:Sure it can be done like that as well, but there are some scenarios where you dealing with two different groups, maybe students and teachers or premium users and free users, you can easily add student identifier and teacher identifier through AbstractUser, this will simplify things and make code cleaner.
|Re: For Django Developer by DrLevi: 11:40am On Jun 21|
rastaxarm:Beautiful... what framework runs the frontend?
|Re: For Django Developer by fortifiedng: 12:03pm On Jun 21|
Mahd. Makes sense.
|Re: For Django Developer by rastaxarm(m): 12:19pm On Jun 21|
Bootstrap + Jinja2 for now
|Re: For Django Developer by yuno01(m): 10:41pm On Jun 21|
I have always wanted to do that slide show on django but haven't really gotten it.
|Re: For Django Developer by rastaxarm(m): 11:37pm On Jun 22|
Power of Flask.. In flask world, all the files in static folder will be treated as Static files.
You can specifial another folder but static folder is the default
|Re: For Django Developer by Taofeekdboy(m): 1:55am On Jun 23|
|Re: For Django Developer by yuno01(m): 10:24am On Jun 23|
amazing...I think I will just go for Vue... thank you man!
|Re: For Django Developer by yuno01(m): 10:25am On Jun 23|
django is what I am learning...maybe at a later time...I could try my hand on flask...thank you brother
|Re: For Django Developer by ibromodzi: 9:07pm On Jun 23|
Nice work boss! I recently deployed an AI based API with Flask and it was really fun playing with the framework.
I'm learning more about the framework because I intend on building on the app to offer more features....
|Re: For Django Developer by rastaxarm(m): 1:03am On Jun 24|
Your app is great too but the heroku is somewhat slow for free users
Try pythonanywhere.com next time but the only downside is non-avalability of websocket
|Re: For Django Developer by Toppytek(m): 7:19am On Jul 05|
Hi everyone, there’s this JustDjango YouTube tutorials am following, he created a virtual env and immediately a folder “env” appeared on the side bar of the VS code, thou am using windows, and I’ve been using virtual env as well but the folder doesn’t show on the left side bar which is quite surprising.
I have a folder (myprojects) in my virtual environment, so to select the virtual environment which I named “works”, I use “workon works” in the terminal then cd into the folder (myprojects) then I start the project.
|Re: For Django Developer by Taofeekdboy(m): 9:37am On Jul 05|
env folder can be created manually, but it is '.env' folder not ordinary folder as this is used to hide some files you don't want to show in your git/github repository. The '. env' folder is added to .gitignore files. JustDjango teaches you as if you are a pro, he doesn't go in-dept with some terminologies.
You can read more on env folder.
|Re: For Django Developer by Toppytek(m): 11:23am On Jul 05|
You’re very correct, d guy too sabi and he no dey calm down, very fast!
|Re: For Django Developer by Toppytek(m): 11:28am On Jul 05|
|Re: For Django Developer by nosagold(m): 10:38am On Jul 06|
Hi guys, check this out!
|Re: For Django Developer by Corussa: 10:55am On Jul 06|
I work with Django a lot.. Mostly with DRF mixing the front-end with React.. it's the best combo
|Re: For Django Developer by EmZsquare: 11:08am On Jul 06|
Good work....try developing a fully functional e-commerce app and am sure you'll add more to your knowledge
|Re: For Django Developer by Taofeekdboy(m): 12:36pm On Jul 06|
EmZsquare:Thank you bro, I have done that and it really did.
I am working on a school management app now and it has added more to my knowledge as well.
you keep learning new things everyday
|Re: For Django Developer by codeigniter(m): 5:01am On Jul 08|
I finally release the forum on heroku, but it is slow I saw someone saying pythonanywhere is better I will try it out later, I am still having trouble with AWS S3 partial credentials error does anybody know anything about that?
The website is http://Afrikas.herokuapp.com honest reports please and lastly, I am tired of indie development, no jobs its just like I am coding for fun, I saw some guy open a thread on working on open source, I think easy entrancy and free and available resources has made web development lot less available in my opinion, cloud infrastructure are too expensive even if u want to try ur own thing, I don't want to whine but I think the world is going to break soonest
|Re: For Django Developer by Taofeekdboy(m): 6:53am On Jul 08|
|Re: For Django Developer by Taofeekdboy(m): 7:12am On Jul 08|
codeigniter:Heroku is slow on first loading because it is on free plan and it goes to sleep after 30 minutes of inactivity, you can buy more dynos if you don't want it to be slow, I think it is $5 per month.
Pythonanywhere is good as well but both of them have their pros and cons
Pythonanywhere is fast and easy to setup.
Pythonanywhere manage your static and media files on their server without an external cloud server.
Pythonanywhere uses MySQL but you have to pay if you want to use postgresql
Heroku is easy to setup with heroku cli
Heroku has so many add-ons like redis and the likes which makes it easier for your deployment.
Heroku allows you to add your custom domain without additional charges.
Heroku uses postgresql without additional charges.
Pythonanywhere is not free for postgresql.
Pythonanywhere does not allow free custom domain unless you are going for a paid plan.
Pythonanywhere only avail your project for 3 months and you have to refresh after that or risk being removed from their server.
Heroku is very slow on first load and you have to buy more dynos to be able to enjoy the speed.
Heroku is complicated when working with database like moving from old one to new one or adding more tables to the database.
Heroku only manage your static files but your media files need to be hosted on external cloud server such as AWS, Azure e.t.c
I use both depending on the kind of project, I am working on.
Concerning the AWS partial credential error,
Make sure you include you aws secret key and ID in django project settings.
All skills are saturated, you just have to be the best to be able to get a job, it is based on experience, portfolio, ideas you have going on.
It is not easy bro, but you just have to continue as you will get soon.
Build a strong portfolio with amazing projects, then they will come looking for you.
|Re: For Django Developer by codeigniter(m): 12:25pm On Jul 08|
thanks a lot, I have the access key and Id in my dj setting, using environment var set up on heroku config var but it is still not working,
|Re: For Django Developer by codeigniter(m): 12:47pm On Jul 08|
have u freelanced or work for some one before
|Re: For Django Developer by Taofeekdboy(m): 2:14pm On Jul 08|
codeigniter:Yes, but I mainly program for fun as I have my main job and hopefully I will start applying for IT jobs soon, my work won't permit me to work as a freelancer. During this covid, I worked for people. I freelance majorly in graphic designs.
|Re: For Django Developer by codeigniter(m): 2:30pm On Jul 08|
I also do graphics and photoshop but still all for fun Thanks for u time I really appreciate
|Re: For Django Developer by Taofeekdboy(m): 11:43pm On Jul 12|
Two groups of teacher and student, a teacher can set questions for students to answer and also a teacher can prepare assignment for each student, getting the scores of each student and receiving their assignments. I am thinking of more functions to add to it tho
|Re: For Django Developer by ore291(m): 12:18am On Jul 13|
Taofeekdboy:It's very nice as per more functions what my junior bro does for school now is zoom classes so maybe teachers should be able to create a schedule of classes and when the students logs in ,
he sees the schedule knows when he's to come online ,
he can then click on the subject which redirects to the teachers zoom link ,
Then after the class is done the teacher uploads
Assignment as you already have done .
Does the teacher give assignment individually or by class?
|Re: For Django Developer by Taofeekdboy(m): 12:35am On Jul 13|
ore291:For now, individually, I wanted to make it general but I want a way where the teacher will keep track of the student and can make a report as well. I will buy the idea of the classes, mayb I can use the classes to make it more interactive.
|Re: For Django Developer by saheedniyi22(m): 4:24pm On Jul 13|
I have this question to ask,
If I learn html,css, Django/flask. Can I call myself a full stack developer
|Re: For Django Developer by Taofeekdboy(m): 5:03pm On Jul 13|
Not really brother, I will still call that back end developer, Full stack developer knows most of the tools used for designing both the UI/UX and back end.
|Re: For Django Developer by fortifiedng: 6:29pm On Jul 13|
Undeniable. The blend of React and Django gives a sweet coding savour
UI/UX is another different field on it's own. Truly the road long pass trailer
|Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health |
religion celebs tv-movies music-radio literature webmasters programming techmarket
Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 185