GithubHelp home page GithubHelp logo

theabhijeet / django_blog Goto Github PK

View Code? Open in Web Editor NEW
378.0 378.0 158.0 66 KB

A blog application made with Django and bootstrap

Python 64.21% HTML 33.11% CSS 1.87% Makefile 0.80%
bootstrap4 css django django-blog django-project hacktoberfest hacktoberfest-accepted html5 javascript jquery python python3

django_blog's Introduction

Namaste ๐Ÿ™

I am Abhijeet pal, A software developer from Kolkata, India ๐Ÿ‡ฎ๐Ÿ‡ณ

I love building efficient solutions for tedious problems with Python I am driven by the need to create impactful solutions that add value to the internet in any way possible.

  • ๐Ÿ”ญ Iโ€™m currently working as a full-time Software developer

  • ๐ŸŒฑ I built and maintain djangocentral

  • ๐ŸŒ I'm mostly active within the Django Community

  • ๐Ÿ’ฌ Ping me about Python, Django, System Design, Docker, Web Development

  • โšก When not fuzzing with code I like to play music on my keyboard, bansuri, guitar.

๐Ÿ› ๏ธ Languages and Tools

Django DjangoREST Python Flask FastAPI C CSS3 HTML5 Java JavaScript Go Shell Script TypeScript AWS Azure Ant-Design Bootstrap Buefy Django DjangoREST Express.js FastAPI Flask Vue.js Vuetify Nginx Apache MariaDB MongoDB MySQL Postgres NumPy Pandas Plotly scikit-learn SciPy LINUX Swagger

๐Ÿ“ซ How to reach me

๐Ÿ“ My latest blog posts

๐Ÿ’ฐ You can help me by Donating

Buy Me a Coffee at ko-fi.com

โœ๏ธ Random Dev Quote

django_blog's People

Contributors

4hydra4 avatar dependabot[bot] avatar mellkior avatar stephenjaya99 avatar theabhijeet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django_blog's Issues

Hello, ...Help following tutorial...?

Hello, I just want to thank you very much for all your hard work into djangocentral. I am new at pythin/django (well everything really, lol) and found your tutorial somehow and it's been like SOOO helpful getting up and started quickly, but everything was going like super smooth until this point, and seems I am dealing with a common issue. (Have found many people complaining of the same issue while doing a simple google search - yet after combing through and trying many ideas and solutions I still can't seem to figure out what is going wrong or how to fix it) And I'd really like to finish your tutorials. I had actually planned on going through the list of tutorial links you have posted here one by one, they are so great!!

I found this odd page at django detailing the issue briefly but not really listing a fix. I figured I'd reach out and if django isn't posting a fix for this on their website, I figured maybe if you knew you could post one on yours at least (and grab all that traffic ๐Ÿค‘ anyway loll!!)...and it would help me out in the process!! ๐Ÿ˜ btw, I just followed you on Kofi and plan on buying you a coffee as soon as I get my next check (around the 3rd...).

Ok, well, thanks for your help in advance..๐Ÿ™


Here's the link to the issue and the odd answer given from django:

https://code.djangoproject.com/ticket/20400


I am using python 3.9 with django 4.0.6


๐Ÿ‘‰ I am on your tutorial page:

https://djangocentral.com/building-a-blog-application-with-django/

๐Ÿ‘‰ And Stuck here:

Creating Templates For The Views

We are done with the Models and Views now we need to make templates to render the result to our users. To use Django templates we need to configure the template setting first.

Create directory templates in the base directory. Now open the project's settings.py file and just below BASE_DIR add the route to the template directory as follows.

TEMPLATES_DIRS = os.path.join(BASE_DIR,'templates')

Now add the newly created TEMPLATE_DIRS in the DIRS.

TEMPLATES = [
    {
        'BACKEND': 'django.template.backends.django.DjangoTemplates',
        #  Add  'TEMPLATE_DIRS' here
        'DIRS': [TEMPLATE_DIRS],
        'APP_DIRS': True,
        'OPTIONS': {
            'context_processors': [
                'django.template.context_processors.debug',
                'django.template.context_processors.request',
                'django.contrib.auth.context_processors.auth',
                'django.contrib.messages.context_processors.messages',
            ],
        },
    },
]

Now save and close the file we are done with the configurations.

I followed all these instructions and keep getting:

NameError: name 'os' is not defined error.

When I add an import for os at the top of the settings file, I get:
django.core.exceptions.ImproperlyConfigured: The TEMPLATE_DIRS setting must be a list or a tuple. error, so I keep going round and round forever cause every time I fix one thing it seems to cause another to the point that I figured it's better I just ask...this is driving me crazy lol...idk if I did something wrong somewhere, I'm just too new to know if it's cause of something I did or it actually is an error somewhere in the tutorial, like maybe something was forgotten or even changed since seems there have been a lot of breaking changes to django in the recent past. I just hate to put this as an issue if I'm just making some noob mistake, so I hope you forgive me cause I'm so at a loss!!

Ok well this has been long enough.Thank you in advance...

Contribution permission

Hello Sir, I hope you're doing well, I really liked the project and I would like to get your permission to contribute to it.

Request to merge Updated Django_blog.

hi Abhijeet,

I have made some changes in the Django_blog project, please check them. in pull requests section,

I'm eager to see this contribution become a part of the project.

If there are any remaining concerns or if there's anything specific you'd like me to do, please let me know, and I'll be more than happy to assist.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.