Welcome, Guest: Join Nairaland / LOGIN! / Trending / Recent / New
Stats: 2,522,261 members, 5,768,122 topics. Date: Monday, 03 August 2020 at 10:19 PM

For Django Developer - Programming (3) - Nairaland

Nairaland Forum / Science/Technology / Programming / For Django Developer (3238 Views)

Django Developer Plz Help / Please Review My Python (django) Site / Python/django Developer Needed (2) (3) (4)

(1) (2) (3) (4) (5) (Reply) (Go Down)

Re: For Django Developer by Taofeekdboy(m): 10:15am On Jun 21
fortifiedng:


Bruh, thanks for this. I really appreciate.

But you could also Extend the User Model by creating a "Profile Model" and using a OneToOne relationship with the User Model. And also using SIGNALS.

Thanks a lot for the explanation.
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:
I prefer Flask over Django due to total control and flexibility.

Currently using it to develop a voting system for universities/polytechnics elections

Test - Still under development
https://digitavote.pythonanywhere.com/

Dashboard Test ID:
Email: t1@email.com
Password: pass

You can request for voter's testing account too coz it requires valid email address due to OTP for login

No regret so far and the plugins/extensions are good too.

Be good with Python and everything will be ok. Though flexibility comes with great responsibilities tongue grin cheesy cheesy
Beautiful... what framework runs the frontend?
Re: For Django Developer by fortifiedng: 12:03pm On Jun 21
Taofeekdboy:

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.

Mahd. Makes sense.

Thanks
Re: For Django Developer by rastaxarm(m): 12:19pm On Jun 21
DrLevi:

Beautiful... what framework runs the frontend?

Bootstrap + Jinja2 for now
Re: For Django Developer by yuno01(m): 10:41pm On Jun 21
rastaxarm:
I prefer Flask over Django due to total control and flexibility.

Currently using it to develop a voting system for universities/polytechnics elections

Test - Still under development
https://digitavote.pythonanywhere.com/

Dashboard Test ID:
Email: t1@email.com
Password: pass

You can request for voter's testing account too coz it requires valid email address due to OTP for login

No regret so far and the plugins/extensions are good too.

Be good with Python and everything will be ok. Though flexibility comes with great responsibilities tongue grin cheesy cheesy


I have always wanted to do that slide show on django but haven't really gotten it.

and for your static file, like your CSS and JavaScript...how do you do it.

not those u write withing the page using it..but some external JavaScript and css
Re: For Django Developer by rastaxarm(m): 11:37pm On Jun 22
yuno01:



I have always wanted to do that slide show on django but haven't really gotten it.

and for your static file, like your CSS and JavaScript...how do you do it.

not those u write withing the page using it..but some external JavaScript and css


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
yuno01:



I have always wanted to do that slide show on django but haven't really gotten it.

and for your static file, like your CSS and JavaScript...how do you do it.

not those u write withing the page using it..but some external JavaScript and css
You can do that with Javascript, if you know Javascript, it is easier to do than css because you can use CSS to do that as well, I will advise people who want to learn django should try to learn Javascript or its framework like React, Vue or Angular, as this will beautify your UI/UX.
Re: For Django Developer by yuno01(m): 10:24am On Jun 23
Taofeekdboy:

You can do that with Javascript, if you know Javascript, it is easier to do than css because you can use CSS to do that as well, I will advise people who want to learn django should try to learn Javascript or its framework like React, Vue or Angular, as this will beautify your UI/UX.

amazing...I think I will just go for Vue... thank you man!
Re: For Django Developer by yuno01(m): 10:25am On Jun 23
rastaxarm:



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

django is what I am learning...maybe at a later time...I could try my hand on flask...thank you brother

1 Like

Re: For Django Developer by ibromodzi: 9:07pm On Jun 23
rastaxarm:
I prefer Flask over Django due to total control and flexibility.

Currently using it to develop a voting system for universities/polytechnics elections

Test - Still under development
https://digitavote.pythonanywhere.com/

No regret so far and the plugins/extensions are good too.

Be good with Python and everything will be ok. Though flexibility comes with great responsibilities tongue grin cheesy cheesy

Nice work boss! I recently deployed an AI based API with Flask and it was really fun playing with the framework.

getmykeyword.herokuapp.com/

I'm learning more about the framework because I intend on building on the app to offer more features....

1 Like

Re: For Django Developer by rastaxarm(m): 1:03am On Jun 24
ibromodzi:


Nice work boss! I recently deployed an AI based API with Flask and it was really fun playing with the framework.

getmykeyword.herokuapp.com/

I'm learning more about the framework because I intend on building on the app to offer more features....



Wow. Thanks. cheesy cheesy

Your app is great too but the heroku is somewhat slow for free users cry

Try pythonanywhere.com next time but the only downside is non-avalability of websocket embarassed
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
Taofeekdboy:
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.

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
Toppytek:
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.

Rectified.
Re: For Django Developer by nosagold(m): 10:38am On Jul 06

1 Like

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

2 Likes

Re: For Django Developer by EmZsquare: 11:08am On Jul 06
Taofeekdboy:
I created this thread for Django aspirants, intermediate and experienced Django developers to share knowledge and projects that you have or been working on.

I have worked and been working on a lot of projects such as sport app, loan calculator, and employee management.
The one I just finished is just a social media clone project and it took a bit of my time.

The website is down below:
http://mysocialapp.pythonanywhere.com
If you are interested, you can Check and leave your comments as well.

So let's share ideas and knowledge.....


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:



Good work....try developing a fully functional e-commerce app and am sure you'll add more to your knowledge
Thank you bro, I have done that and it really did.
http://taadesina.pythonanywhere.com

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
nosagold:
Hi guys, check this out!
http://limitless-garden-30512.herokuapp.com
Nice one bro, you need to work on the images because you have stretched them and the mobile responsiveness as well. You used only django right?
Re: For Django Developer by Taofeekdboy(m): 7:12am On Jul 08
codeigniter:
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
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
Pros
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.
Cons
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.

2 Likes

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
Taofeekdboy:

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
Pros
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.
Cons
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.


have u freelanced or work for some one before
Re: For Django Developer by Taofeekdboy(m): 2:14pm On Jul 08
codeigniter:



have u freelanced or work for some one before
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
Taofeekdboy:

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.

I also do graphics and photoshop but still all for fun Thanks for u time I really appreciate

1 Like

Re: For Django Developer by Taofeekdboy(m): 11:43pm On Jul 12
http://tlinker.pythonanywhere.com
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:
http://tlinker.pythonanywhere.com
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
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:

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?
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.
Thanks brother.
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
saheedniyi22:
I have this question to ask,

If I learn html,css, Django/flask. Can I call myself a full stack developer

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.
Though django uses jinja template to output logic on the front end but it is not enough as world has evolved beyond that. You need to have a solid understanding of frond end tools such as html, CSS, JavaScript(This is where you need to choose from different javascript frameworks: angular, react, vue e.t.c... react is just a library grin grin) and back end tools e.g PHP, Rust, C#, Python and so on.

If you are good with Javascript, you can use it for both frontend and backend development using nodejs. There are unlimited resources for you out there and you need to grab it, learn and continue learning as the journey to become a full stack developer long pass trailer.
Re: For Django Developer by fortifiedng: 6:29pm On Jul 13
Undeniable. The blend of React and Django gives a sweet coding savour wink

UI/UX is another different field on it's own. Truly the road long pass trailer

(1) (2) (3) (4) (5) (Reply)

ALERT: Nairaland Declared Insecure | Loophole found / Need Some Good Advice On Professional Course To Choose / Android App: English To Yoruba & Pidgin-English to English

(Go Up)

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

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2020 Oluwaseun Osewa. All rights reserved. See How To Advertise. 185
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.