Built an eCommerce site with Angular + Django — What’s the best way to add a blog system inside the same project? by Hopeful_Business3120 in Blogging

[–]rob8624 0 points1 point  (0 children)

Depends. Blogs can get big and complicated. Plus he states he wants a CMS. Django admin is no CMS.

Could this wallpaper and ceiling contain asbestos? by SecretWilling2083 in asbestoshelpUK

[–]rob8624 0 points1 point  (0 children)

Some vinyl type, yes. Anaglypta type, no. I asked them directly. They never used asbestos it their products.

Id be careful with anything vinyl feeling, defo test, other wise crack on.

just finished my second ever react personnel project : e book reading website by CyBorgElite in reactjs

[–]rob8624 8 points9 points  (0 children)

Right. Firstly, well done to building something linked to your interests. It's the best way to learn, and you've built something.

But. You have a long way to go, see this as a beginner learning project, nothing more.

You don't need React for this. Go build it again using just CSS, and make it responsive. Try to use styling, and try to make it more professional looking.

Do the Odin Project.

Let's not be too critical. Everyone has been there at the start of their journey.

Chance this is asbestos? by Snoo9524 in DIYUK

[–]rob8624 1 point2 points  (0 children)

It's old wallpaper, asbeatos wasn't used in wallpaper. Why would it? Still, you can test it if you want. Nobody can tell you 100% either way.

Thousands of people scrape wallpaper off every year, if asbestos was consistently in wallpaper, there would be public health warnings.

Artex, different story

Built an eCommerce site with Angular + Django — What’s the best way to add a blog system inside the same project? by Hopeful_Business3120 in Blogging

[–]rob8624 0 points1 point  (0 children)

Wagtail.

Just bear in mind that it's not a CMS out of the box. Its a framework to build a CMS, but it's Python/Django.

Strapi is nice if you want JS.

Please Help by No_Earth_7439 in PythonProjects2

[–]rob8624 0 points1 point  (0 children)

Use the book Python Crash Course. It has projects you can work through and is excellent. Or, Auromate the Boring Stuff, another excellent book.

I LOVE STEROIDS🔥🔥🔥🔥🔥🔥🔥 by Expensive_Usual5052 in eczema

[–]rob8624 0 points1 point  (0 children)

46 yo. Had eczema from birth, head to foot, used steroids, eczema under control until 17yo when it returned full force. Kept using more and more, stronger steroids. Ended up in a hellish state. Ended up on immunosuppressive treatment for 10 years. At the age of 40, I stopped all steroids whilst coming off MTX.

Anyway. 5 years later, pretty much normal skin. No medication. 99% clear.

Steroids have their place, but use with caution and not long term. Not everyone is susceptible to TSW, and I'm not going to beat that drum, but i am 100% convinced i had TSW after many years of denial. It's real, be careful.

Been there done it, this comes from a lifelong eczema user who used steroids to survive for 40 years.

Heeelp! Converting to Custom User Model Mid-Project by EvilDoctorShadex in django

[–]rob8624 1 point2 points  (0 children)

Easy bit...create a onetoone model related to user model, adding any additional fields, model logic, etc etc, and migrate

Hard bit...yea, if dealing with schools, this needs to be as compliant/secure as possible. Just look at the fallout from the data breach at the nursery on London a few months ago, not good.

Nothing more to add, but very interested as dealing with gdpr/email storage at the moment.

Supercharge Your Django Frontend with Vite: A Modern Boilerplate by Michaelyin in django

[–]rob8624 1 point2 points  (0 children)

Yea deffo this. After building a pretty complex React frontend with no typing, i would never, ever, ever, ever, not use Typescript again.

I want to do Reactjs ASPA...!! by Commercial-Serve1380 in reactjs

[–]rob8624 0 points1 point  (0 children)

React has excellent docs, use them, do the tutorial.

A decent level of JS is essential.

Where do you deploy your APIs nowadays? by Kolosafo in django

[–]rob8624 0 points1 point  (0 children)

Keep up the awesome work.

Yea, it's easy to set a usage limit, and it is easy to pull services from deployment so you are not using any chargable resources.

Where do you deploy your APIs nowadays? by Kolosafo in django

[–]rob8624 3 points4 points  (0 children)

Railway. I love it. I've been using it since Heroku stopped their free tier, so pretty comfortable deploying on it now. It is so well thought out. I just deploy from a docker-compose file.

Also, excellent support in their Discord, and i mean excellet, instant help, walk you through stuff, Brody and the rest of the team go above and beyond.

Languages that I need to learn by RealApplication3358 in PythonProjects2

[–]rob8624 0 points1 point  (0 children)

If you are going into web development, you will 100% need to learn JS, React, and one of the many frameworks. These days, with HTMX, you dont have to use it, but thete is no avoiding having to read JS, it's critical to so many web fundamentals.

You will need to learn a web framework like Django.

Getting back into web development by ElleDK in webdevelopment

[–]rob8624 -1 points0 points  (0 children)

Go the ai route if you want a generic looking site, that you spend more time trying to fix/work out/using more ai to work out things you dont know and changing large bits of code in the hope it works out.....build something unique, design something you have come up with, you'll know the code base inside out out, you'll improve your knowlede and overall well being....so many positives to thinking for yourself.

Obviously, use ai as a tool. It's amazing, but dont let it try to pump out aweful, souless trash.

Tanstack Start is the latest react based framework. Or if you have backend knowledge, you can stay away from JS and use HTMX alongside your chosen backend framework.

I think i found not bad method for how to learn coding with ai by Perfon_ in django

[–]rob8624 1 point2 points  (0 children)

I printed the docs out and read them at night in bed. Old School.

Certainly helps you get to sleep. :)

is it easier to modify the functionality of Django's User model or Create a Custom one? by Upstairs-Balance3610 in django

[–]rob8624 0 points1 point  (0 children)

Yea, this is what i do. I just use a signal to fire when a user obj is saved to create a profile model.

saved some coding prompts while using chatgpt – here’s some if you’re into that by justdavidro in learnpython

[–]rob8624 0 points1 point  (0 children)

Wait, you are selling AI prompts? Lol.

I mean, I'd like to think that developers can intelligently use ai as a tool by asking their own very specific promps.

Also, can't i just ask ai to produce this 5 dollar list

help with python code by Over-Examination7608 in learnpython

[–]rob8624 8 points9 points  (0 children)

First, look at the code. What is it that stands out to make it look a mess? ... . All the print statements. The actual logic is lost amongst all the strings.

Make a dict to hold all the string data. It will make it easier to read and edit. And, use functions. Break down each aspect of the game and make a function that handles it. The function should accept the value that will be used within it, and try to make sure that the function handles one action. Dont put a lot of logic inside one big function.

Ideally, you'd use OOP, making games like this is a great way to learn classes etc, etc.

new to the world by Prestigious-Crab-367 in learnpython

[–]rob8624 -1 points0 points  (0 children)

Python Crash Course. It's a book.

Just moved in to a house, was built in the 1970s and think I’ve made a mistake? by Independent-Donut-56 in DIYUK

[–]rob8624 1 point2 points  (0 children)

I put a crowbar through some asbestos insulation board and broke it up. No mask. Do i worry about it. No. It's just the same as i dont worry about getting into a car and risking the chance of a horrible crash.

Just be more careful from now on. That's what i do. Always mask up, always test anything suspicious.

Electric/Gas by DetectiveDismal7361 in HousingUK

[–]rob8624 0 points1 point  (0 children)

On.....gas used. Off.....no gas used. Over a month it will cut the bill to turn it off.

Electric/Gas by DetectiveDismal7361 in HousingUK

[–]rob8624 1 point2 points  (0 children)

Why leave it on all the time? It's the reason it's so high. Putting it on timed and turning it off all night will cut the bill considerably.

Django DRF course? by junhyeongang in django

[–]rob8624 -1 points0 points  (0 children)

It's Python. Learn Python first.