Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Fetching Images from DB in Django
Post: RE: Fetching Images from DB in Django

<img src="{{ post.blog_image.url }} "/> or <img src="/media/{{ post.blog_image}} "/>
Addweb Web Scraping & Web Development 2 1,814 Aug-10-2022, 10:01 AM
    Thread: What is CMS?
Post: RE: What is CMS?

Django is a very popular CMS that was created in Python. It is the developer's favourite as it lets you customize content from the front of their website. No login panel is required from the admin sid...
Addweb Web Scraping & Web Development 2 1,400 Aug-10-2022, 09:40 AM
    Thread: problem adding two numpy arrays
Post: RE: problem adding two numpy arrays

import numpy as np
Addweb General Coding Help 2 2,150 Aug-09-2022, 10:49 AM
    Thread: Django: Adding Row Data To Existing Model Instance Question/Problem.
Post: RE: Django: Adding Row Data To Existing Model Inst...

from django.db import models class MyModel1(models.Model): field_1 = models.CharField(max_length=200) class MyModel2(models.Model): name = models.CharField(max_length=200) model_1 = mo...
Addweb General Coding Help 1 1,306 Aug-09-2022, 10:46 AM
    Thread: Registration Form Fields
Post: RE: Registration Form Fields

user = User.objects.create_user(user=request.POST['user'], password=request.POST['password1']) user.first_name = request.POST['first_name'] user.last_name = request.POST['last_name'] user.save()
Addweb Web Scraping & Web Development 2 1,958 Aug-09-2022, 10:35 AM
    Thread: exception handling
Post: RE: exception handling

from django.http import Http404, HttpResponse, render #Create Exception Middileware class ExceptionHandle: def __init__(self, get_response): self.get_response = get_response def __ca...
Addweb Web Scraping & Web Development 1 1,174 Aug-09-2022, 09:53 AM
    Thread: Querying Django model db - from Jose Portilla’s Udemy course
Post: RE: Querying Django model db - from Jose Portilla’...

#Get Data By ID from office.models import Patient obj = Patient.objects.get(id=1) print(obj.calculated_age()) #Filter Data By Any Field from office.models import Patient obj = Patient.objects.filter...
Addweb Web Scraping & Web Development 2 1,772 Aug-09-2022, 09:25 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020