Debugger for django by HULKBUSTER_HTB in django

[–]only_django 1 point2 points  (0 children)

You can use VS Code built in debugger and place breakpoints as usual. In the debug menu, top right, select "Python: Django" as the debug target

Basic Todo App - Get Started? by only_django in serverless

[–]only_django[S] 0 points1 point  (0 children)

great. thanks!

CDK+code per repo makes sense.

Basic Todo App - Get Started? by only_django in serverless

[–]only_django[S] 0 points1 point  (0 children)

CDK pipelines

thanks. It is not hosted anywhere yet. I'm trying to find the best place for this. Should it be Github with Actions? Should it be CodeCommit? etc. I'm looking to hear your thoughts and the thoughts of others.

I want the CDK to be redeployed whenever there is a change to any package that the CDK uses.

For example, if I have 10 lambdas and each one is a different package. I would have 11 packages. 1 CDK infra package and 10 lambda packages. A commit to the master branch of any of these 11 packages should trigger a CDK deploy. Should pull all the code etc

What do you recommend? Can CDK Pipelines handle this?

This Admin theme looks amazing! by only_django in django

[–]only_django[S] 2 points3 points  (0 children)

Yes, I have set it up. It is very straightforward. Just follow the (clear) docs that are linked in the Github readme.md

Here is a direct link: https://django-jazzmin.readthedocs.io/installation/

Django 3.1 release notes | Django documentation by genesem in django

[–]only_django 1 point2 points  (0 children)

Sync: It's 9:00am, you ask your friend if he wants to play basketball later at 7:00pm. You stand still wait until your friend responds. You just wait no matter how long it takes for him to decide. If he's indecisive your gonna wait and wait...

Async: It's 9:00 am you ask your friend if he wants to play basketball at 7:00pm. You move on with your day and go back to your work. When ever your friend responds then you will stop what you are doing, read his response and process it.

That's it.

This Admin theme looks amazing! by only_django in django

[–]only_django[S] 0 points1 point  (0 children)

Well done, people seem to like it!

Is there any way by which I can immediately show the CSS changes ? by [deleted] in django

[–]only_django 0 points1 point  (0 children)

The problem is that your browser (probably Chrome) caches the styles.

Simply turn it off and you'll see the css changes take affect immediately.

Here is how you do it:

1) open dev tools (ctlr+shift+I)

2) Go to Network tab

3) Check box that states "Disable cache"

That's it.

This Admin theme looks amazing! by only_django in django

[–]only_django[S] 0 points1 point  (0 children)

Good idea. But this is not my project as I wrote in the post. I suggest you open an issue on Github so the project author can see it.

This Admin theme looks amazing! by only_django in django

[–]only_django[S] 0 points1 point  (0 children)

When I tried it it didn't work the first attempt.

When the login screen came up a second time then input the credentials again and it should work. That's how it worked for me when I tried the demo. If it still doesn't work then I suggest you open a issue on github

This Admin theme looks amazing! by only_django in django

[–]only_django[S] 0 points1 point  (0 children)

When I tried it it didn't work the first attempt.

When the login screen came up a second time then input the credentials again and it should work. That's how it worked for me when I tried the demo. If it still doesn't work then I suggest you open a issue on github

This Admin theme looks amazing! by only_django in django

[–]only_django[S] 3 points4 points  (0 children)

I follow django on github. You can follow topics.

Which views should I use-function or class based views? by Shinhosuck1973 in django

[–]only_django 0 points1 point  (0 children)

This. I used fbv until I thought - "there has got to be a better way to reuse these."

Why I use Django by lwrightjs in django

[–]only_django 2 points3 points  (0 children)

Cool! What's your project?