Watch "Introduction To unity | Part 2" on YouTube

2020-05-03 Thread Anonymous Patel
https://youtu.be/wzLFSHiTY5Q Raj Patel -- 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+unsubscr...@googlegroups.com. To view this discussion on the

Django bugfix release: 3.0.6.

2020-05-03 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2020/may/04/django-bugfix-release-306/ -- 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, se

Re: Possible server attacks

2020-05-03 Thread Motaz Hejaze
check the log file , what are the acts that invokes the call to those links example , logging in ? upload an image ? any act also try to check if there is a malicious script installed on your server , take a peace from the text above and search for it .. Example: grep -lR "/sqlitemanager/m

Re: Possible server attacks

2020-05-03 Thread Ahmed Ishtiaque
Observe how your server responds to these requests. Sometimes these requests are sent by attackers hoping that your server might respond with sensitive data that it shouldn't be sending. Generally, ensuring that invalid requests end up with your server sending error responses and not actual sensiti

Re: Possible server attacks

2020-05-03 Thread Miracle
I do not know of any script like that. Atleast, I didn't write any. A get these calls on the following paths: /sqlite/main.php, /robots.txt, /, /owa/auth/logon.aspx, /cgi-bin/config.exp, /HNAP1/, /hudson/script, /script, /sqlitemanager/main.php, /SQLiteManager/main.php, /SQLite/main.php, /main.p

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-03 Thread Motaz Hejaze
please share your models.py file On Mon, May 4, 2020 at 12:13 AM Adedotun Richard wrote: > Can you paste your model.py class for products? > There is probability that you are getting the write-up wrong. > > > On Sat, May 2, 2020, 3:43 PM Iain Stewart > wrote: > >> Hi Folks, >> >> I am a learner

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-03 Thread Adedotun Richard
Can you paste your model.py class for products? There is probability that you are getting the write-up wrong. On Sat, May 2, 2020, 3:43 PM Iain Stewart wrote: > Hi Folks, > > I am a learner and am enjoying learning Django so far (about a month in). > I am doing the Mosh Python Tutorial for Begn

Re: Deploying Django Project on heroku

2020-05-03 Thread Motaz Hejaze
Let us have a zoom meeting to fix it On Sun, 3 May 2020, 11:45 pm Sunday Iyanu Ajayi, wrote: > I have but it keeps telling that it is misconfigured > *AJAYI Sunday * > (+234) 806 771 5394 > *sunnexaj...@gmail.com * > > > > On Sat, Apr 25, 2020 at 3:17 PM sagar ninave > wrote: > >> Do you insta

Re: Possible server attacks

2020-05-03 Thread Motaz Hejaze
I think you have a script somewhere that calls this ip and main.php on that server .. Do you add any third party addons both on frontend and backend ?? On Sun, 3 May 2020, 11:31 pm Miracle, wrote: > I think the possible attacker thinks I am using PHP > > On Sun, 3 May 2020, 10:29 pm Miracle,

Re: Deploying Django Project on heroku

2020-05-03 Thread Sunday Iyanu Ajayi
I have but it keeps telling that it is misconfigured *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Sat, Apr 25, 2020 at 3:17 PM sagar ninave wrote: > Do you installed whitenoise package > If not then run this command > Pip insatll whitenoise > > On Sat, 25 Apr 2020 at 7:43 P

Re: Notifications in DRF

2020-05-03 Thread Sunday Iyanu Ajayi
I have and it is pretty straight forward. Check his demo:https://github.com/xtrinch/fcm-django-web-demo *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Tue, Apr 21, 2020 at 1:02 PM shreehari Vaasistha L < shreehari9...@gmail.com> wrote: > if anyone has implemented FCM in django

Re: Need help whit DJANGO_SETTINGS_MODULE

2020-05-03 Thread Sunday Iyanu Ajayi
Hi Ilie Ioana, Please check if 1. You are in your current directory ( or virtual evironment) 2. Is django installed on yur pc? *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Sun, Apr 19, 2020 at 2:22 PM Ilie Ioana wrote: > Hi,I'm new with django and python. > I just strated a

Re: Possible server attacks

2020-05-03 Thread Miracle
I think the possible attacker thinks I am using PHP On Sun, 3 May 2020, 10:29 pm Miracle, wrote: > I don't know honestly. > > I got those error messages because I included my email and username in > settings.py like this > > ADMINS = ['username', 'collinsale...@gmail.com'] > > On Sun, 3 May 2020

Re: Possible server attacks

2020-05-03 Thread Miracle
I don't know honestly. I got those error messages because I included my email and username in settings.py like this ADMINS = ['username', 'collinsale...@gmail.com'] On Sun, 3 May 2020, 10:24 pm Motaz Hejaze, wrote: > What is the script main.php ??? > > On Sun, 3 May 2020, 10:43 pm Miracle, wr

Re: Possible server attacks

2020-05-03 Thread Motaz Hejaze
What is the script main.php ??? On Sun, 3 May 2020, 10:43 pm Miracle, wrote: > Hello django developers, > > I might be experiencing a possible attack on my web server, but I am not > sure yet. > Below is the email I got from my django. > I've gotten over 50 similar emails over the past 3 days.

Possible server attacks

2020-05-03 Thread Miracle
Hello django developers, I might be experiencing a possible attack on my web server, but I am not sure yet. Below is the email I got from my django. I've gotten over 50 similar emails over the past 3 days. Please, help me with this. Invalid HTTP_HOST header: '35.192.28.182'. You may need to ad

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-03 Thread Jorge Gimeno
On Sun, May 3, 2020 at 1:04 PM Iain Stewart wrote: > Hi Famzaa, > > I have made migrations but the admin interface is not finding the database > perhaps? I get this exception: > > Exception Location: > C:\Users\user\PycharmProjects\JoanneShop\venv\lib\site-packages\django\db\backends\sqlite3\bas

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-03 Thread Iain Stewart
Hi Famzaa, I have made migrations but the admin interface is not finding the database perhaps? I get this exception: Exception Location: C:\Users\user\PycharmProjects\JoanneShop\venv\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 296 Any help much appreciated. Iain O

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-03 Thread Iain Stewart
Hi Jorge, I have made migrations but the admin interface is not finding the database perhaps? I get this exception: Exception Location: C:\Users\user\PycharmProjects\JoanneShop\venv\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 296 Any help much appreciated. Iain On

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread ramadhan ngallen
In short, it happens when the application which writes to the sqlite database does not have write permission. You have to add writing rights to the directory in which your sqlite database is stored. So running chmod 664 /srv/mysite should help. This is a security risk, so better solution is to c

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread Amina Anna Mahamane.O
I changed the permissions,but nothing changed 😢. Envoyé de mon iPhone > Le 3 mai 2020 à 15:25, Jorge Gimeno a écrit : > >  > > >> On Sun, May 3, 2020 at 3:46 AM Amina Anna Mahamane.O >> wrote: >> I read , but I didn’t help me , I don’t really know hiw to process . Can you >> explain me ?

Re: Re:

2020-05-03 Thread Motaz Hejaze
first remove all whitespaces in urls.py ' login' should be 'login' and then rename your login view to something else , maybe custom_login , or put your app urls before admin panel urls On Sun, May 3, 2020 at 6:42 PM fahad rasool wrote: > Apps url.py > > On Sun, 3 May 2020, 8:27 pm 'Amitesh Sah

How to get previously uploaded Images in Django

2020-05-03 Thread Ahmed Khairy
I am using Django 2.2 to make a project where designers upload designs and when I want to post them from admin, I want to choose their names and after I choose their names only their designs appear in the drop down list. So far I have reach the reach the designer name in a drop down list but I

Re: not a valid UUID.

2020-05-03 Thread Motaz Hejaze
Great On Sun, 3 May 2020, 4:49 pm Benedict Uwazie, wrote: > Thanks for your response I just found out u can't shorten UUID but I > needed 12 digits > what I now did was to import the code below > from random import randint > my_rand = randint(1000, ) > transaction_id = model

Re: Form not visible on the add page

2020-05-03 Thread 'Amitesh Sahay' via Django users
did you migrate the MODEL? Regards, Amitesh Sahay91-750 797 8619 On Sunday, 3 May, 2020, 08:15:32 pm IST, Jorge Gimeno wrote: On Sun, May 3, 2020 at 7:34 AM Vikram Jaiswal wrote: I am not able to see the form on admin page to add the dataFirst  -First -settings.

Re: Re:

2020-05-03 Thread 'Amitesh Sahay' via Django users
please show your app's urls.py, as well the errors Regards, Amitesh On Sunday, 3 May, 2020, 07:53:47 pm IST, fahad rasool wrote: Than also it is not working On Sun, 3 May 2020, 7:44 pm 'Amitesh Sahay' via Django users, wrote: it should be return redirect('login') please check

Re: not a valid UUID.

2020-05-03 Thread Benedict Uwazie
Thanks for your response I just found out u can't shorten UUID but I needed 12 digits what I now did was to import the code below from random import randint my_rand = randint(1000, ) transaction_id = models.CharField(max_length=30, unique=True, null=True, blank=True, editable

Re: Form not visible on the add page

2020-05-03 Thread Jorge Gimeno
On Sun, May 3, 2020 at 7:34 AM Vikram Jaiswal < vikramkumarjaiswal221...@gmail.com> wrote: > I am not able to see the form on admin page to add the data > First > -First > -settings.py > -urls.py > -travello > -migrations > -urls.py >

Re: Form is not getting displayed on django admin page

2020-05-03 Thread Jorge Gimeno
On Sun, May 3, 2020 at 7:34 AM Vikram Jaiswal < vikramkumarjaiswal221...@gmail.com> wrote: > above is the image of the error > admin.py > from django.contrib import admin > from travello.models import Destination > > > > class ContactAdmin(admin.ModelAdmin): > Clist_display = [ 'name', 'department

Form not visible on the add page

2020-05-03 Thread Vikram Jaiswal
I am not able to see the form on admin page to add the data First -First -settings.py -urls.py -travello -migrations -urls.py -models.py -admin.py here is the models.py from django.db import models # Create

Form is not getting displayed on django admin page

2020-05-03 Thread Vikram Jaiswal
above is the image of the error admin.py from django.contrib import admin from travello.models import Destination class ContactAdmin(admin.ModelAdmin): Clist_display = [ 'name', 'department', 'lalal'] # Register your models here. admin.site.register(Destination,ContactAdmin) models.py from dja

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread Jorge Gimeno
On Sun, May 3, 2020 at 3:46 AM Amina Anna Mahamane.O wrote: > I read , but I didn’t help me , I don’t really know hiw to process . Can > you explain me ? > I'm not a linux expert, so other folks can feel free to correct me. In linux, the user that creates the file in a directory they have acces

Re:

2020-05-03 Thread fahad rasool
Than also it is not working On Sun, 3 May 2020, 7:44 pm 'Amitesh Sahay' via Django users, < django-users@googlegroups.com> wrote: > it should be *return redirect('login')* > > please check > > On Sunday, 3 May, 2020, 07:34:11 pm IST, fahad rasool < > rasoolfahad...@gmail.com> wrote: > > > > I am

[no subject]

2020-05-03 Thread 'Amitesh Sahay' via Django users
it should be return redirect('login') please check On Sunday, 3 May, 2020, 07:34:11 pm IST, fahad rasool wrote: I am unable to redirect to my login page from signup page and nor i am able to store sign up form details in the database .please someone help its urgent.. -- You receive

Re: OperationalError at /admin/login/attempt to write a readonly database

2020-05-03 Thread Amina Anna Mahamane.O
I read , but I didn’t help me , I don’t really know hiw to process . Can you explain me ? Envoyé de mon iPhone > Le 3 mai 2020 à 05:21, Jorge Gimeno a écrit : > >  > > >> On Sat, May 2, 2020 at 8:09 PM Amina Anna Mahamane.O >> wrote: >> Hello , I started learning how to use django . I ma

Re: not a valid UUID.

2020-05-03 Thread Nomeh Uchenna Gabriel
On Sunday, May 3, 2020 at 9:10:28 AM UTC+1, Benedict Uwazie wrote: > Still facing the same issue > > On Sunday, 3 May 2020 03:27:46 UTC+1, Motaz Hejaze wrote: > default=cast_trans > cast_trans = int(pass_trans) > > UUID is string not int > > > On Sun, May 3, 2020 at 4:05 AM Benedict Uwazie wr

Re: How to refer to another translation in a translation?

2020-05-03 Thread Andréas Kühne
Once again - you are doing a too simple example - translating from english to english isn't really a valid example. I understand that you would like to make it simpler - but the thing is that you never can know where the word is set in OTHER languages than from english to english. The reason I brou

Watch "URL Implementation For RSS FEED in django| python | part 3" on YouTube

2020-05-03 Thread Anonymous Patel
https://youtu.be/oCSMWSp1_UI Its a series or playlist where they provide how to create rss feed in django website Raj Patel -- 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

Re: not a valid UUID.

2020-05-03 Thread Benedict Uwazie
Still facing the same issue On Sunday, 3 May 2020 03:27:46 UTC+1, Motaz Hejaze wrote: > > default=cast_trans cast_trans = int(pass_trans) > UUID is string not int > > On Sun, May 3, 2020 at 4:05 AM Benedict Uwazie > wrote: > >> >> >> On Sunday, 3 May 2020 01:38:16 UTC+1, Benedict Uwazie wrote: >>

Re: Making Serial number

2020-05-03 Thread Benedict Uwazie
Is your table row is inside a loop? If it is use {{ forloop.counter }} On Sunday, 3 May 2020 04:32:38 UTC+1, Kushal Neupane wrote: > > Dear Sir, i learned and used from > https://docs.djangoproject.com/en/3.0/ref/templates/builtins/#linenumbers >

Re: sphinx inside

2020-05-03 Thread Kai Kobschätzki
thanks for your response! Greetings bengoshi On 5/2/20 12:46 AM, Motaz Hejaze wrote: > Inspect the generated sphinx html , load the static using django > > On Fri, 1 May 2020, 11:51 pm Michael Rohan, > wrote: > > Hi, > > I believe it's probably easiest to s

Hey django developers, I got small issue that is hoow to specify the template_root but my loader is already specify the temppath" django.template.loaders.filesystem.Loader: C:\Users\Admin\projects\tel

2020-05-03 Thread yashwanth balanagu
from django.shortcuts import render,redirect from .models import upload import zipfile as ZipFile import os, tempfile from django.forms import modelformset_factory from .forms import uploadForm from rest_framework.views import APIView from .serializers import * from rest_framework.response import R