Wednesday, February 2, 2022

Re:


On Wed, Feb 2, 2022 at 9:42 PM Gautam Ankul <gautamankul27@gmail.com> wrote:
How to use fee due notifications in django something helpe

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALKR2n1UW%3DFFdq1NAbEJADyhCxOtg-_g68mtpu-mqPaC7tGLfw%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJC%2BgnD6z96KF0ntq-PUn7izJ88kQ7OUrTPub3a0qR5fy0J89w%40mail.gmail.com.
How to use fee due notifications in django something helpe

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CALKR2n1UW%3DFFdq1NAbEJADyhCxOtg-_g68mtpu-mqPaC7tGLfw%40mail.gmail.com.

RES: Help

So thank you Sebastian! ;o)

 

Enviado do Email para Windows

 

De: Sebastian Jung
Enviado:quarta-feira, 2 de fevereiro de 2022 12:30
Para: django-users@googlegroups.com
Assunto: Re: Help

 

You have a package https://pypi.org/project/django-emoji/ installed and now you must in yozr settings.py set this variable

 

Fernando Jover <leticiashorta@gmail.com> schrieb am Mi., 2. Feb. 2022, 16:26:

Hi guys!

 

i am learn Python....and Pycharm show me this:

 

    raise ImproperlyConfigured(

django.core.exceptions.ImproperlyConfigured: Requested setting EMOJI_IMG_TAG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

 

How can i chabge this in my settings?

 

Enviado do Email para Windows

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0397E3AC-5EB1-4684-958B-3CC47136F043%40hxcore.ol.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKGT9mzdUgB2u2Wd5YiJGGQOd-eTG%2BOvEo3y4q3fYtjGWopNbg%40mail.gmail.com.

 

Encryption in Django Field

Is there a way we can encrypt the value in the field value and decrypt it when user pass the correct password

my model -> 
data -> charfield
password -> charfield

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20e405b5-a05a-47ae-807f-bd10be667191n%40googlegroups.com.

Re: Help

You have a package https://pypi.org/project/django-emoji/ installed and now you must in yozr settings.py set this variable

Fernando Jover <leticiashorta@gmail.com> schrieb am Mi., 2. Feb. 2022, 16:26:

Hi guys!

 

i am learn Python....and Pycharm show me this:

 

    raise ImproperlyConfigured(

django.core.exceptions.ImproperlyConfigured: Requested setting EMOJI_IMG_TAG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

 

How can i chabge this in my settings?

 

Enviado do Email para Windows

 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/0397E3AC-5EB1-4684-958B-3CC47136F043%40hxcore.ol.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAKGT9mzdUgB2u2Wd5YiJGGQOd-eTG%2BOvEo3y4q3fYtjGWopNbg%40mail.gmail.com.

Help

Hi guys!

 

i am learn Python....and Pycharm show me this:

 

    raise ImproperlyConfigured(

django.core.exceptions.ImproperlyConfigured: Requested setting EMOJI_IMG_TAG, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.

 

How can i chabge this in my settings?

 

Enviado do Email para Windows

 

Re: web page blank

I recreated the project and changed the view function to the below, and it now works fine for me:

def home(request):
context = {
'posts': post
}
return render(request, 'home.html', context)

On Wednesday, February 2, 2022 at 8:23:46 AM UTC devfem...@gmail.com wrote:
Is it working fine for you?


If not url blog/home.html?

On Wed, Feb 2, 2022, 08:08 Sebastian Jung <sebasti...@gmail.com> wrote:
Hello,

Please try:

context = {
        'posts': post
    }

'Delvin Alexander' via Django users <django...@googlegroups.com> schrieb am Mi., 2. Feb. 2022, 06:59:
Hello everyone,

I am currently following a django tutorial regarding applications. I have followed through completely but for some reason, when I run server, i incur no errors but the web page is blank. Why would this be?

Here is what is not displayed:

from my Home.html file:
<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<body>
    {% for post in posts %}
        <h1>{{ post.title }}</h1>
        <p>By {{ post.author }} on {{ post.date_posted}}</p>
        <p>{{ post.content }}</p>
    {% endfor %}

</body>
</html>

from my views.py file:
from django.shortcuts import render

post = [
    {
        'author': 'CoreyMS',
        'title': 'Blog Post',
        'content': 'First Post Content',
        'date_posted': 'August 27, 2018'
    },
    {
        'author': 'Jane Doe',
        'title': 'Blog Post 2',
        'content': 'Second Post Content',
        'date_posted': 'August 28, 2018'
    }
]

def home(request):
    context = {
        'post': post
    }
    return render(request, 'blog/home.html', context)

def about(request):
    return render(request, 'blog/about.html')

My urls.py:
from django.urls import path
from . import views

urlpatterns = [
    path('', views.home, name='blog-home'),
    path('about/', views.about, name='blog-about'),
]
     

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/e9b557a6-403b-46ce-bc18-8d19b0091f2an%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c2f8ef77-d0ef-4868-8680-0314442952f9n%40googlegroups.com.