Re: Help deploying to vercel

2024-06-14 Thread Augusto Domingos


Hey, sorry for the late reply, I had just gone to bed at that time

Weird error...

Try specifying the version of django-allauth in your requirements file, 
then redeploy. Also, please check your Vercel logs carefully, or you can 
try to install the library in a package like this:  pip install 
django-allauth -t .  this can sometimes help with deploymnt issues by 
ensuring all dependencies are available in the project directory

If it still doesn't work, persists, it might be related to the Lambda 
function in Vercel, as it uses AWS infrastructure. In that case, you may 
need to investigate further or contact Vercel
Em quinta-feira, 13 de junho de 2024 às 20:23:13 UTC+2, ASAMOAH EMMANUEL 
escreveu:

> requirements.txt
>
> arrow==1.3.0
> asgiref==3.8.1
> binaryornot==0.4.4
> certifi==2024.6.2
> cffi==1.16.0
> chardet==5.2.0
> charset-normalizer==3.3.2
> click==8.1.7
> colorama==0.4.6
> cookiecutter==2.6.0
> crispy-tailwind==1.0.3
> cryptography==42.0.7
> defusedxml==0.7.1
> Django==4.2.5
> django-allauth
> django-browser-reload==1.12.1
> django-crispy-forms==2.1
> django-tailwind
> idna==3.7
> install==1.3.5
> Jinja2==3.1.4
> markdown-it-py==3.0.0
> MarkupSafe==2.1.5
> mdurl==0.1.2
> oauthlib==3.2.2
> pillow==10.2.0
> psycopg2-binary==2.9.7
> pycparser==2.22
> pycryptodome==3.20.0
> Pygments==2.18.0
> PyJWT==2.8.0
> python-dateutil==2.9.0.post0
> python-decouple==3.8
> python-slugify==8.0.4
> python3-openid==3.2.0
> PyYAML==6.0.1
> rave-python==1.4.0
> requests==2.32.3
> requests-oauthlib==2.0.0
> rich==13.7.1
> six==1.16.0
> sqlparse==0.5.0
> text-unidecode==1.3
> types-python-dateutil==2.9.0.20240316
> tzdata==2024.1
> urllib3==1.26.6
> whitenoise==6.6.0
>
>
> vercel.json
>
> {
>   "version": 2,
>   "builds": [
> {
>   "src": "inshala/wsgi.py",
>   "use": "@vercel/python",
>   "config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
> },
> {
>   "src": "build_files.sh",
>   "use": "@vercel/static-build",
>   "config": {
> "distDir": "staticfiles"
>   }
> }
>   ],
>   "routes": [
> {
>   "src": "/static/(.*)",
>   "dest": "/static/$1"
> },
> {
>   "src": "/(.*)",
>   "dest": "inshala/wsgi.py"
> }
>   ]
> }
>
>
> build_file
> # build_files.sh
> pip install -r requirements.txt
> python3.9 manage.py collectstatic --noinput
> python3.9 manage.py migrate
>
> wsgi.py
> """
> WSGI config for inshala project.
>
> It exposes the WSGI callable as a module-level variable named 
> ``application``.
>
> For more information on this file, see
> https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/
> """
>
> import os
>
> from django.core.wsgi import get_wsgi_application
>
> os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'inshala.settings')
>
> app = get_wsgi_application()
>
>
>
>
>
> Allauth is already installed on vercel.
>
> Thanks in advance.
>
> On Thu, Jun 13, 2024 at 4:59 PM Augusto Domingos  
> wrote:
>
>>
>> Looks there's a problem with your module "allauth", have you installed 
>> that in your Vercel environment?
>>
>> Try to install that, certify that your vercel.json file have some rules 
>> to install your python requirements.txt
>>
>> If have some another question, please, let me know, I will try to help 
>> you.
>>
>> -- 
>> 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/041845f6-defc-41be-a996-d443a9341cebn%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> I don't stop when I'm tired, I only stop when the job is done.
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/59eddcba-f86e-4850-b8d3-f06695807192n%40googlegroups.com.


Re: Help deploying to vercel

2024-06-13 Thread ASAMOAH EMMANUEL
requirements.txt

arrow==1.3.0
asgiref==3.8.1
binaryornot==0.4.4
certifi==2024.6.2
cffi==1.16.0
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
colorama==0.4.6
cookiecutter==2.6.0
crispy-tailwind==1.0.3
cryptography==42.0.7
defusedxml==0.7.1
Django==4.2.5
django-allauth
django-browser-reload==1.12.1
django-crispy-forms==2.1
django-tailwind
idna==3.7
install==1.3.5
Jinja2==3.1.4
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mdurl==0.1.2
oauthlib==3.2.2
pillow==10.2.0
psycopg2-binary==2.9.7
pycparser==2.22
pycryptodome==3.20.0
Pygments==2.18.0
PyJWT==2.8.0
python-dateutil==2.9.0.post0
python-decouple==3.8
python-slugify==8.0.4
python3-openid==3.2.0
PyYAML==6.0.1
rave-python==1.4.0
requests==2.32.3
requests-oauthlib==2.0.0
rich==13.7.1
six==1.16.0
sqlparse==0.5.0
text-unidecode==1.3
types-python-dateutil==2.9.0.20240316
tzdata==2024.1
urllib3==1.26.6
whitenoise==6.6.0


vercel.json

{
  "version": 2,
  "builds": [
{
  "src": "inshala/wsgi.py",
  "use": "@vercel/python",
  "config": { "maxLambdaSize": "15mb", "runtime": "python3.9" }
},
{
  "src": "build_files.sh",
  "use": "@vercel/static-build",
  "config": {
"distDir": "staticfiles"
  }
}
  ],
  "routes": [
{
  "src": "/static/(.*)",
  "dest": "/static/$1"
},
{
  "src": "/(.*)",
  "dest": "inshala/wsgi.py"
}
  ]
}


build_file
# build_files.sh
pip install -r requirements.txt
python3.9 manage.py collectstatic --noinput
python3.9 manage.py migrate

wsgi.py
"""
WSGI config for inshala project.

It exposes the WSGI callable as a module-level variable named
``application``.

For more information on this file, see
https://docs.djangoproject.com/en/5.0/howto/deployment/wsgi/
"""

import os

from django.core.wsgi import get_wsgi_application

os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'inshala.settings')

app = get_wsgi_application()





Allauth is already installed on vercel.

Thanks in advance.

On Thu, Jun 13, 2024 at 4:59 PM Augusto Domingos <
augustodomingosva...@gmail.com> wrote:

>
> Looks there's a problem with your module "allauth", have you installed
> that in your Vercel environment?
>
> Try to install that, certify that your vercel.json file have some rules to
> install your python requirements.txt
>
> If have some another question, please, let me know, I will try to help you.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/041845f6-defc-41be-a996-d443a9341cebn%40googlegroups.com
> 
> .
>


-- 
I don't stop when I'm tired, I only stop when the job is done.

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CABFHQYxux-CHhQh4HJtkcXfCr2TLR21_s3A8BMd5GjuBrFG7OQ%40mail.gmail.com.


Re: Help deploying to vercel

2024-06-13 Thread Augusto Domingos

Looks there's a problem with your module "allauth", have you installed that 
in your Vercel environment?

Try to install that, certify that your vercel.json file have some rules to 
install your python requirements.txt

If have some another question, please, let me know, I will try to help you.

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/041845f6-defc-41be-a996-d443a9341cebn%40googlegroups.com.


Re: Hola comunidad django, soy nueva

2024-06-12 Thread Jose Ramirez
Hola el mensaje indica que Django no es capas de detectar tus urls para 
poder darte mayor detalle es necesario ver si tines correctamente 
configurado el  ROOT_URLCONF y tu archivo de url porfavor envianos tu 
archiv  settings.py y urls.py dentro de la carpeta raiz de tru proyecto y 
un pantallaso de tu arbol de directorio.

Saludor coordinales.

Respuesta Autogenerado con IA by neotrons.

El lunes, 10 de junio de 2024 a la(s) 11:25:42 a.m. UTC-5, Laura Ferrero 
escribió:

> Buenas, estaba haciendo una tarea y me sale el error con el archivo 
> urls.py, tuve que modificar con el debug y allowed_host. Me sale error en 
> la terminal
>
> The install worked successfully! Congratulations!
>
> You are seeing this page because DEBUG=True 
>  is in your 
> settings file and you have not configured any URLs.
>
>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/a2413929-dc73-4eb1-9abe-a287d44aa60dn%40googlegroups.com.


Re: Django bugfix releases issued: 4.2.12 and 5.0.5

2024-06-10 Thread Joshua Ayanlowo
I'm Joshua from Nigeria.

Nice to meet you.

On Mon, Jun 10, 2024, 5:24 PM Joseph Aidoo 
wrote:

> Am Joseph from Ghana and i want us to be friends
>
> On Mon, 10 Jun 2024, 10:24 Joseph Aidoo, 
> wrote:
>
>> Hello miss Sarah
>>
>> On Mon, 6 May 2024, 19:41 Sarah Boyce, 
>> wrote:
>>
>>> Details are available on the Django project weblog:
>>> https://www.djangoproject.com/weblog/2024/may/06/bugfix-releases/
>>>
>>> --
>>> 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 web visit
>>> https://groups.google.com/d/msgid/django-users/CAN%2BfQHyT9xZmOm6CQxbo9jv99cQinJME3n8dBiJaS%3DVpvTJovw%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFXDyhgHYODN%3DTE9rq9ZccS-w6H5zpOP0YE0s6L9KwEKgMUJEA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN0PDmmuQ5cbvv3ACWHjqLsuQueUNQbkd2Xdh77VQc5GSCm_0g%40mail.gmail.com.


Re: Django bugfix releases issued: 4.2.12 and 5.0.5

2024-06-10 Thread Joseph Aidoo
Am Joseph from Ghana and i want us to be friends

On Mon, 10 Jun 2024, 10:24 Joseph Aidoo,  wrote:

> Hello miss Sarah
>
> On Mon, 6 May 2024, 19:41 Sarah Boyce, 
> wrote:
>
>> Details are available on the Django project weblog:
>> https://www.djangoproject.com/weblog/2024/may/06/bugfix-releases/
>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/CAN%2BfQHyT9xZmOm6CQxbo9jv99cQinJME3n8dBiJaS%3DVpvTJovw%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFXDyhgHYODN%3DTE9rq9ZccS-w6H5zpOP0YE0s6L9KwEKgMUJEA%40mail.gmail.com.


Re: Django bugfix releases issued: 4.2.12 and 5.0.5

2024-06-10 Thread Joseph Aidoo
Hello miss Sarah

On Mon, 6 May 2024, 19:41 Sarah Boyce,  wrote:

> Details are available on the Django project weblog:
> https://www.djangoproject.com/weblog/2024/may/06/bugfix-releases/
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAN%2BfQHyT9xZmOm6CQxbo9jv99cQinJME3n8dBiJaS%3DVpvTJovw%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFXDyhgFiRdS%3D-%2Bn0x%3DpnCdA_NuyyrJrBn87e6T5o3hrmXsZWQ%40mail.gmail.com.


Re: python/django/vs code

2024-06-06 Thread Bhagyashri Phalake

  Calculate Total Sales in View

from django.shortcuts import render
from .models import Sale

def sales_report(request):
sales = Sale.objects.all()
total_sales = sales.aggregate(total=models.Sum('total_price'))['total']
return render(request, 'sales_report.html', {'sales': sales, 
'total_sales': total_sales})


*Calculate Total Sales in View*:

  from flask import Flask, render_template
from models import db, Sale

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///sales.db'
db.init_app(app)

@app.route('/sales_report')
def sales_report():
sales = Sale.query.all()
total_sales = sum(sale.total_price for sale in sales)
return render_template('sales_report.html', sales=sales, 
total_sales=total_sales)

if __name__ == '__main__':
app.run(debug=True)


Sales

| Product   | Date   | Amount | Quantity Sold | Total Price |

| Product A | 2024-06-01 | 100.00 | 2 | 200.00  |
| Product B | 2024-06-02 | 150.00 | 1 | 150.00  |
| Product A | 2024-06-03 | 100.00 | 3 | 300.00  |

Total Sales: 650.00


On Thursday 6 June 2024 at 08:24:46 UTC+5:30 Nagaraja wrote:

> try below method
>
> 
> {% block content %}
> {% endblock content %}
> 
>
>
> On Wed, Jun 5, 2024 at 1:09 PM 'Mee “MeeGrp” Grp' via Django users <
> django...@googlegroups.com> wrote:
>
>> I have two html files 1. view_sales.html  2. total_sales.html
>>
>> I want to display output of total_sales.html within  view_sales.html* 
>> just below *
>> *view_sales.html output*
>>
>> Your help would be highly appreciated 
>>
>>
>> -- 
>> 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/30b6b324-22b2-44f1-b2dd-b0b034ac2f61n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/96e52f98-0225-4f2c-b210-41458a913dd1n%40googlegroups.com.


Re: Merging results of two .html files show up in one web page

2024-06-06 Thread Bhagyashri Phalake


total sale

from django.shortcuts import render
from .models import Sale

def sales_report(request):
sales = Sale.objects.all()
total_sales = sales.aggregate(total=models.Sum('total_price'))['total']
return render(request, 'sales_report.html', {'sales': sales, 
'total_sales': total_sales})


cal total sale:on view
from flask import Flask, render_template
from models import db, Sale

app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = 'sqlite:///sales.db'
db.init_app(app)

@app.route('/sales_report')
def sales_report():
sales = Sale.query.all()
total_sales = sum(sale.total_price for sale in sales)
return render_template('sales_report.html', sales=sales, 
total_sales=total_sales)

if __name__ == '__main__':
app.run(debug=True)
  
On Thursday 6 June 2024 at 02:37:27 UTC+5:30 Ryan Nowakowski wrote:

> Take a look at 
> https://docs.djangoproject.com/en/5.0/ref/templates/builtins/#include
> On 6/4/24 7:13 AM, 'Mee “MeeGrp” Grp' via Django users wrote:
>
> I am working on an Inventory System ( just a trial - for learning 
> purposes) 
>
> platform - Python
> framework - Django
>
> VS Code/Sqlite3 
>
> Question:
>
> I have two html files 1. view_sales.html 2.total_sales.html
>
> view_sales.html
>
> 
> 
> 
> Sales
> Product Total_price
> 
> 
> Sales
> 
> 
> Product
> Date 
> Amount 
> Quantity Sold   
> Total Price
> 
> {% for sale in sales %}
> 
> {{ sale.product.product_name }}
> {{ sale.date }}  
> {{ sale.amount }}
> {{ sale.quantity_sold}}
> {{ sale.total_price }}
> 
> 
> 
> {% endfor %}
> 
> Total Sales: {{ total_sales }}
>
> -- 
> 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/56a9ff0a-62f2-4ec0-b8cd-5601174a862en%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4d980c1a-a102-48eb-8957-e2ce3c8cdf84n%40googlegroups.com.


Re: python/django/vs code

2024-06-05 Thread Nagaraja
try below method


{% block content %}
{% endblock content %}



On Wed, Jun 5, 2024 at 1:09 PM 'Mee “MeeGrp” Grp' via Django users <
django-users@googlegroups.com> wrote:

> I have two html files 1. view_sales.html  2. total_sales.html
>
> I want to display output of total_sales.html within  view_sales.html*
> just below *
> *view_sales.html output*
>
> Your help would be highly appreciated 
>
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/30b6b324-22b2-44f1-b2dd-b0b034ac2f61n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN1LePhad6wCKuqZZAOcY_NRr-Vbq4SORkU08p4NNFrDYzTrqg%40mail.gmail.com.


Re: python/django/vs code

2024-06-05 Thread Web dev
Hi, I guess your trouble.
Let me try.

On Wed, Jun 5, 2024 at 4:38 PM 'Mee “MeeGrp” Grp' via Django users <
django-users@googlegroups.com> wrote:

> I have two html files 1. view_sales.html  2. total_sales.html
>
> I want to display output of total_sales.html within  view_sales.html*
> just below *
> *view_sales.html output*
>
> Your help would be highly appreciated 
>
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/30b6b324-22b2-44f1-b2dd-b0b034ac2f61n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJyUeCT7V4353VnQQZyKuz5JdAL42NM87siNxoCEgVEUfLo1qw%40mail.gmail.com.


Re: if not VALID_BUCKET.search(bucket) and not VALID_S3_ARN.search(bucket): TypeError: expected string or bytes-like object

2024-06-05 Thread Sanjay Sikdar
 django-storages has been updated that's why you are getting this error. 

OLD SYNTAX
from storages.backends.s3boto3 import S3Boto3Storage
import os

class MediaStorage(S3Boto3Storage):
bucket_name = os.environ.get('AWS_STORAGE_BUCKET_NAME')
location = 'media'

class StaticStorage(S3Boto3Storage):
bucket_name = os.environ.get('AWS_STORAGE_BUCKET_NAME')
location = 'static'
UPDATED SYNTAX 

STORAGES = {
"default": {
"BACKEND": "storages.backends.s3.S3Storage",
"OPTIONS": {
"bucket_name": AWS_STORAGE_BUCKET_NAME,
"location": 'media'
},
},
"staticfiles": {
"BACKEND": "storages.backends.s3.S3Storage",
"OPTIONS": {
"bucket_name": AWS_STORAGE_BUCKET_NAME,
"location": 'static'
},
},
}

On Monday, December 14, 2020 at 2:10:32 PM UTC+5:30 KUMBHAGIRI SIVAKRISHNA 
wrote:

> ile 
> "/home/sivakrishna/Downloads/peeljobs-env/lib/python3.8/site-packages/botocore/handlers.py",
>  
> line 200, in validate_bucket_name
> if not VALID_BUCKET.search(bucket) and not VALID_S3_ARN.search(bucket):
> TypeError: expected string or bytes-like object
>
>
> Please help me to solve this problem 
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/561c9981-ae62-4a88-90ac-4704968e1ad2n%40googlegroups.com.


Re: Freelance Django Developer Needed

2024-06-04 Thread Urchman Ernest
I'm interested in the role

On Monday, June 3, 2024 at 12:09:01 AM UTC+1 emmanuel odor wrote:

>
> Dear Developers,
>  Freelance Django Developer Needed
> We're seeking a talented freelancer to join our team and build a unique 
> video streaming platform. 
>
> The Ideal Candidate:
>
> Proven experience building user-friendly web applications with Django
> Strong skills in user authentication, database management, and API 
> development (bonus for Django REST framework)
> A keen interest in live video streaming technologies (experience with 3rd 
> party services a plus)
> The Project:
>
> We're building a platform focused on [educational content, fitness videos] 
> with live-streaming features.
> We're looking for talented collaborators to work with on this project.
>
> Thank you for considering this opportunity.
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/9b8e9e57-4c79-457f-a8f8-9241ece992e2n%40googlegroups.com.


Re: Freelance Django Developer Needed

2024-06-04 Thread MENGAYE YECHALE
I am interested for this project but I am more of QA experienced with 
selenium with python, cypress, and postman and load testing using Apache 
Jmeter.
let me know if you need.


On Monday, June 3, 2024 at 12:54:25 PM UTC+3 Chibuokem Amanze wrote:

> Hi there 
>
> I am interested in this position.
>
> What's the pay rate?
>
> On Mon, Jun 3, 2024, 12:09 AM emmanuel odor  wrote:
>
>>
>> Dear Developers,
>>  Freelance Django Developer Needed
>> We're seeking a talented freelancer to join our team and build a unique 
>> video streaming platform. 
>>
>> The Ideal Candidate:
>>
>> Proven experience building user-friendly web applications with Django
>> Strong skills in user authentication, database management, and API 
>> development (bonus for Django REST framework)
>> A keen interest in live video streaming technologies (experience with 3rd 
>> party services a plus)
>> The Project:
>>
>> We're building a platform focused on [educational content, fitness 
>> videos] with live-streaming features.
>> We're looking for talented collaborators to work with on this project.
>>
>> Thank you for considering this opportunity.
>>
>> -- 
>>
> 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/18b5f46d-84e9-428e-b4c3-a7cd371365a4n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/89147fdb-b6e3-4c26-b5d9-90735ad6db32n%40googlegroups.com.


Re: Django: Working in models.py and forms.py

2024-06-04 Thread Mupenda Kimpulenge Gaston
Not Found: /blog
[03/Jun/2024 09:15:27] "GET /blog HTTP/1.1" 404 2089


Le mercredi 29 mai 2024 à 13:52:57 UTC+2, Faisal Mahmood a écrit :

> Well
>
> In this specific scenario, using a OneToOne field on the profile table to 
> reference the user table wouldn't be ideal for preventing the current user 
> from selecting other users in the dropdown. Here's a response that 
> addresses this directly:
>
> Understanding the Issue:
>
>- You're creating a profile table with a OneToOne relationship to the 
>user table. 
>- In the profile form template, the OneToOne field renders as a 
>dropdown displaying all users in the database. 
>- You want to ensure the current user can only create a profile for 
>themself and not choose other existing users. 
>
> Solution with ForeignKey:
>
>1. 
>
>Model Design:
>
>While a OneToOne field might seem appropriate, it's not the best 
>choice here. Instead, use a ForeignKey field from the Profile model to 
>the User model. This allows a profile to be linked to only one user, 
>but a user can exist without a profile.
>
> Code:
>
> from django.contrib.auth.models import User class Profile(models.Model): 
> user = models.ForeignKey(User, on_delete=models.CASCADE, unique=True) # 
> Other profile fields...
>
>2. 
>
>Form Creation and User Pre-Selection:
>- Create a ProfileForm that automatically sets the user field to the 
>   current user (request.user) and disables it to prevent selection. 
>
> Code:
>
> from django import forms
>
> from .models import Profile 
>
> class ProfileForm(forms.ModelForm): 
>
>class Meta: model = Profile fields = ('# Other profile fields...') 
>
>def __init__(self, *args, **kwargs): 
>
>   user = kwargs.pop('user', None) # Get the current user 
>
>   super().__init__(*args, **kwargs) if user: self.fields['user'].initial 
> = user # Set the user field to the current userself.fields[
> 'user'].disabled = True # Disable the user field for selection
>
>3. 
>
>View (Passing Current User):
>- In your view that handles profile creation, pass the current user (
>   request.user) to the form constructor. 
>
> Code:
>
> from django.shortcuts import render, redirect from .models import Profile 
> from .forms import ProfileForm def create_profile(request): if 
> request.method == 'POST': form = ProfileForm(request.POST, 
> user=request.user) # Pass current user if form.is_valid(): profile = 
> form.save() return redirect('profile_detail', profile.pk) # Redirect to 
> profile detail else: form = ProfileForm(user=request.user) # Pass current 
> user for initial value return render(request, 'profile_form.html', {'form': 
> form})
>
>4. 
>
>Template (profile_form.html):
>- The form template will display the user field as pre-filled and 
>   disabled, preventing the user from selecting another user. 
>
> Template Example:
> HTML
>  {% csrf_token %} {{ form.as_p }}  "submit">Create Profile  
>
> Benefits:
>
>- Enforces data integrity by ensuring profiles are linked to the 
>correct user. 
>- Simplifies form handling for the user as they don't need to choose a 
>user. 
>
> Additional Considerations:
>
>- If you have a specific requirement where users need to create 
>profiles for others (e.g., family members), consider a separate user 
>selection process before generating the profile form. 
>- Implement proper form validation in your views to handle potential 
>errors.
>- have a Good day ahead. 
>
> On Tuesday, May 28, 2024 at 3:25:13 AM UTC+5 Solomon Ankyelle Balaara 
> (Azonto Stick) wrote:
>
>> When you create a profile table that has a field of OneToOne, referencing 
>> the user table, and the profile form is rendered in the templates, the 
>> field OneToOne would be a select html tag that has all the user objects  in 
>> the sqlite database  as options for the current user creating the form to 
>> choose. The current user filling the profile form may be signed up as 
>> @azonto but chooses a different user object say @stick as @stick may sign 
>> up but yet to create his profile. How do you ensure that the current user 
>> does not have access to all the users in situations like this?
>
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/4bfcf002-bc9a-4c14-936f-bcebf3702ae6n%40googlegroups.com.


Re: Freelance Django Developer Needed

2024-06-03 Thread Chibuokem Amanze
Hi there

I am interested in this position.

What's the pay rate?

On Mon, Jun 3, 2024, 12:09 AM emmanuel odor  wrote:

>
> Dear Developers,
>  Freelance Django Developer Needed
> We're seeking a talented freelancer to join our team and build a unique
> video streaming platform.
>
> The Ideal Candidate:
>
> Proven experience building user-friendly web applications with Django
> Strong skills in user authentication, database management, and API
> development (bonus for Django REST framework)
> A keen interest in live video streaming technologies (experience with 3rd
> party services a plus)
> The Project:
>
> We're building a platform focused on [educational content, fitness videos]
> with live-streaming features.
> We're looking for talented collaborators to work with on this project.
>
> Thank you for considering this opportunity.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/18b5f46d-84e9-428e-b4c3-a7cd371365a4n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEXS5wLBxLEWORSPfD9d9jRm-ZTV9u4kO2bQpWArP%3Du%3DoQP1%3Dg%40mail.gmail.com.


Re: Freelance Django Developer Needed

2024-06-02 Thread Muhammed Lawal
Hello Emmanuel.
I'm a fullstack developer with experience in Django, DRF, React and PostgreSQL.
I would love to join your team for the said project. What are the
application procedures?

Kind regards

On Mon, Jun 3, 2024 at 12:09 AM emmanuel odor  wrote:
>
>
> Dear Developers,
>  Freelance Django Developer Needed
> We're seeking a talented freelancer to join our team and build a unique video 
> streaming platform.
>
> The Ideal Candidate:
>
> Proven experience building user-friendly web applications with Django
> Strong skills in user authentication, database management, and API 
> development (bonus for Django REST framework)
> A keen interest in live video streaming technologies (experience with 3rd 
> party services a plus)
> The Project:
>
> We're building a platform focused on [educational content, fitness videos] 
> with live-streaming features.
> We're looking for talented collaborators to work with on this project.
>
> Thank you for considering this opportunity.
>
> --
> 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 web visit 
> https://groups.google.com/d/msgid/django-users/18b5f46d-84e9-428e-b4c3-a7cd371365a4n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOzVPC8D2hmY_t7UUJsyhssRB8BAniVpHGQegcB8FSYRZ4MNpA%40mail.gmail.com.


Re: Handle Form Submission

2024-05-29 Thread Tawfeeq Zaghlool
Thanks Faisal, I really appreciate it.
If I have any other questions, I will ask you then.
Thanks again mate :) :)

Tawfeeq Zaghlool

IoT Full Stack Developer || Project Manager & Youth Leader

+962 77 8891479

<+962778891479>



  



On Wed, May 29, 2024 at 2:35 PM Faisal Mahmood 
wrote:

> I'd be glad to craft a solution that addresses the issues you've outlined:
>
> Solutions:
>
> 1. Cancel Button Redirect Issue:
>
>- Problem: The cancel button in the popup redirects to items/ instead
>of items/user_id.
>- Solution:
>   - Pass user_id in the form: Modify your form in the popup to
>   include a hidden field containing the user_id retrieved from the
>   session. This ensures the user_id persists even after form
>   submission.
>   - Access user_id in the view: In the view handling the cancel
>   button form submission, access the user_id from the form data
>   (hidden field) or the session.
>   - Redirect with user_id: Use the retrieved user_id to construct the
>   correct redirect URL (items/user_id) and redirect the user there.
>
> Code Example (assuming a Django form):
>
> from django.shortcuts import redirect def handle_form_submission(request):
> if request.method == 'POST': form = YourForm(request.POST) if
> form.is_valid(): # Handle order submission logic (if applicable) if
> 'cancel' in request.POST: # Check for cancel button submission user_id =
> request.POST.get('user_id') # Get user_id from hidden field return
> redirect('items/{}'.format(user_id)) # Redirect with user_id # ... handle
> submit logic return render(request, 'your_template.html', {'form': form})
>
> 2. Back Button Redirect Issue:
>
>- Problem: Clicking the browser's back button after sending the
>message redirects to the popup instead of items/user_id.
>- Solution:
>   - Server-Side Session Flag: Set a session flag (order_submitted or
>   similar) after successfully sending the message.
>   - Check Session Flag in View: In the view handling the request
>   after clicking back, check for the presence of the session flag.
>   - Conditional Redirect: If the flag is present, redirect to
>   items/user_id. Otherwise, display the normal page content.
>
> Code Example:
>
> from django.shortcuts import render, redirect def after_message_view(
> request): if request.session.get('order_submitted'): del request.session[
> 'order_submitted'] # Remove flag to avoid confusion later return redirect(
> 'items/{}'.format(request.session.get('user_id'))) # ... display normal
> page content return render(request, 'your_template.html')
>
> Additional Considerations:
>
>- Messenger Chat Page: Consider using Django's built-in URL reverse
>functionality (reverse('messenger_chat_page')) to construct the URL
>for the chat page.
>- Error Handling: Implement robust error handling in both views to
>gracefully handle potential issues like missing session data or invalid
>form submissions.
>- Frontend UX: You might want to provide a more user-friendly
>experience by disabling the browser's back button or displaying a
>confirmation message when the user attempts to navigate back using the
>button.
>
> By implementing these solutions and considerations, you should be able to
> achieve the desired behavior for your Django application, ensuring that
> the cancel button and back button both redirect the user to the
> items/user_id URL as expected.
>
> don't hesitate to ask further info.
>
> On Monday, May 27, 2024 at 7:14:04 PM UTC+5 Tawfeeq Zaghlool wrote:
>
>> Hello Djangooos:
>>
>> I am building a simple Django application, that shows products in
>> items/employee_id url, the customer opens the link and start selecting the
>> items by clicking on them, then an action button appears to prepare for
>> submission to display a modal asking the customer to enter his data name,
>> phone number location and email, then the customer either clicks on submit
>> the order or cancel, if he clicks on submit the order button it will
>> redirect to messenger chat page with order details where he can send the
>> order which he selects, this popup window (handle_form_submission) asks the
>> customer to either send the message or cancel sending, send the message
>> button will open the Chat Page on The Agent chat page with a copy of the
>> Order details and wait for the customer to send the order, the cancel will
>> redirect the customer to the items/user_id url the same where he starts, if
>> the user clicks on send the order, and then clicks on a back button from
>> the browser it should redirect him also to the items/user_id url where he
>> starts, to start a new order or close the page.
>>
>> I have two issues as follows:
>>
>> 1- Cancel button in the popup redirect message doesn't redirect to the

Re: How to use different templates for different sites/domains

2024-05-29 Thread Faisal Mahmood
You're right, using a single Django instance to serve multiple sites with
overridden templates can be tricky. While a custom template loader might
seem appealing, it's true that it doesn't accept the request object by
default. Here's the breakdown and some alternative solutions:

The Challenge:

   - Django's default template loader doesn't consider the current domain
   when searching for templates.
   - You want to use a single Django instance but have domain-specific
   templates.

Less Ugly Solutions:

   1.

   Template Name Prefixing:
   - Prefix your template names with the domain name. For example,
  domain1/home.html and domain2/home.html.
  - In your views, construct the full template name based on the
  current domain (using get_current_site).
  - This approach is simple but can make template names lengthy and
  less readable.
   2.

   Template Inheritance with Context Processors:
   - Create a base template with common elements.
  - Inherit from the base template for each domain-specific template.
  - Use a context processor to inject the current domain information
  into the context.
  - In your domain-specific templates, use the domain information to
  conditionally render specific content.
  - This approach offers flexibility but requires more code in
  templates and context processors.
   3.

   Third-Party Packages:
   - Consider packages like django-sites-templates or
  django-multihost-template-loader.
  - These packages provide custom template loaders that can leverage
  the request object to determine the appropriate template based on the
  domain.
  - This approach can be a good option if the built-in solutions don't
  meet your needs.

Middleware with Context Variables (Least Ugly Hack):

   - While not ideal, storing the request object in a context variable
   using middleware is a workable solution.
   - However, be mindful of potential issues like variable name conflicts
   and unnecessary data passed to every template.

Choosing the Best Approach:

The best solution depends on your project's complexity and preference.
Here's a quick guide:

   - Simple Projects: Template Name Prefixing might suffice.
   - More Complex Projects: Consider Template Inheritance with Context
   Processors or Third-Party Packages for better maintainability.
   - Last Resort: Use the Middleware approach cautiously if other options
   aren't feasible.

Remember, the key is to find a balance between simplicity and
maintainability. Leverage built-in features and explore third-party
packages before resorting to complex hacks.

I'm available if you want further assistance or questions about it

Have a good day ahead.

On Wed, May 29, 2024, 5:52 AM Mike Dewhirst  wrote:

> On 28/05/2024 9:09 pm, Antonis Christofides wrote:
>
> Hello,
>
> I use the sites framework for a Django project that serves many different
> domains. But each of those domains has some templates overridden.
>
>
> Might depend on what you are overriding - entire templates or just
> includes or just vars.
>
> I would probably start by refactoring the templates so they were identical
> for all sites and reduce/extract the differences to includes which can be
> selected via contextvars after calling get_current_site() from the view.
>
> Have you looked at template tags?
>
> I use them for displaying additional information on the staging and dev
> sites versus production. Not what you are doing so I haven't thought too
> hard about that. Only worth a thought if you haven't considered it.
>
>
> If I used a different instance of Django (i.e. a different gunicorn
> service) for each domain, I'd have different settings for each site. But
> I'm using a single instance to serve all sites and, wherever I need to, I
> use things that extract the domain from the request, like
> `get_current_site()`. But this doesn't seem to work with templates. A
> custom template loader won't work without a fight because its methods don't
> accept the request object as an argument.
>
> All solutions I've thought about are ugly hacks.
>
>
> Practicality beats purity
>
> The least ugly seems to be to create middleware that stores the request
> object in a contextvar
> . But it strikes me
> that I can't find a simpler solution for this. Is what I want that
> uncommon, or am I missing something?
>
> There's an old closed "wontfix" ticket
>  about this but without
> adequate explanation.
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/175b4601-2038-479b-9581-48d9c196df7cn%40googlegroups.com
> 

Re: Django Admin Shortcuts

2024-05-29 Thread Faisal Mahmood
Hi, First of all Sorry for the late reply

Okay let's go...

It is generally not recommended to authenticate auto-generated users
directly from inspect_db without proper user model fields and permissions.
Here's why:

   -

   Security Concerns:
   - AbstractBaseUser and PermissionsMixin provide essential
  functionalities for user authentication and authorization. They
  handle password hashing, permissions management, and other security
  aspects. Bypassing these models might lead to vulnerabilities like
  storing passwords in plain text or granting unauthorized access.
   -

   Maintainability Issues:
   - Using inspect_db creates a tight coupling between your authentication
  logic and the specific database schema. This makes it difficult to
  modify the user model or switch databases in the future.

Here are some alternative approaches to consider:

   1.

   Migrate User Model Fields:
   - Gradually migrate your existing user model to include the necessary
  fields from AbstractBaseUser and PermissionsMixin. This ensures
  proper authentication and authorization mechanisms.
   2.

   Custom User Model:
   - Create a custom user model that inherits from AbstractBaseUser and
  includes any additional fields you need. This provides a more secure
  and maintainable approach.
   3.

   Alternative Authentication Methods:
   - Depending on your application's requirements, you might explore
  alternative authentication methods like API keys, tokens, or social
  logins. These can be suitable for non-human users or specific use
  cases.

While it might be technically possible to authenticate through inspect_db,
it's strongly advised against it due to the security and maintainability
drawbacks. Consider the alternative approaches mentioned above for a more
secure and robust solution.

On Wed, May 29, 2024, 3:06 AM utibe solomon  wrote:

> Hey bro is it possible to authenticate an auto generated user from
> inspect_db without necessarily having to migrate fields that come with
> using abstractbaseuser and permissions mixin
>
>
> On Tue, 28 May 2024 at 20:39, Mike Schem 
> wrote:
>
>> Hey Faisal,
>>
>> Thanks for taking the time to read the PR and provide some feedback. I
>> copied all of your concerns here and responded to them accordingly. Please
>> let me know if you have any further questions!
>>
>> 1.
>> Have you considered including a section in the Django admin documentation
>> that outlines the new shortcuts and how to use them?
>>
>> Yes, I absolutely will document this, I was thinking about adding it to
>> the "Other Topics" section here:
>> https://docs.djangoproject.com/en/5.0/ref/contrib/admin/#other-topics.
>> What do you think?
>>
>> 2.
>>  Are the keyboard shortcuts configurable?
>>
>> Not yet, but I would be open to doing this as a future PR.
>>
>> 3.
>> Have you tested the keyboard shortcuts across different browsers and
>> operating systems to ensure consistent behavior?
>>
>>  Any specific browsers or versions where you faced issues?
>>
>> Yes, we've tested on pretty much all major OSs and browsers and have seen
>> consistent behavior.  I've been running this in my company for over a year
>> now. It's been great!
>>
>> 4.
>> What considerations have been made regarding accessibility?
>>
>> I'd say this is largely an accessibility feature since it would allow for
>> the visually impaired to save without needing to see the save buttons,
>> which is great!
>>
>> 5.
>> How does the implementation handle potential conflicts with existing
>> browser or system shortcuts?
>>
>> There is an existing ctrl + S for saving browser pages as HTML, frakely,
>> I don't think that should be the default for users. When saving the page,
>> the action should not be to save it as html, but instead save the content
>> of the admin.
>>
>> 6.
>> Have you noticed any performance impacts with the addition of these
>> shortcuts? Ensuring that the admin interface remains performant is
>> important for all users.
>>
>> No, no performance issues. It's a very simple code change without much
>> impact.
>>
>> On Sat, May 25, 2024 at 7:25 AM Faisal Mahmood <
>> faisalbhagri2...@gmail.com> wrote:
>>
>>> Hi *Mike Schem,
>>>
>>> Thank you for reaching out and for your work on adding keyboard
>>> shortcuts to the Django admin. This is a valuable feature that can greatly
>>> enhance productivity for many users. We appreciate your contribution and
>>> the effort you've put into this PR.
>>>
>>> We have reviewed your pull request and are excited about its potential.
>>> Here are some thoughts and questions we have:
>>>
>>> 1.
>>> Have you considered including a section in the Django admin
>>> documentation that outlines the new shortcuts and how to use them?
>>>
>>> 2.
>>>  Are the keyboard shortcuts configurable?
>>>
>>> 3.
>>> Have you tested the keyboard shortcuts across different browsers and
>>> operating systems to ensure consistent behavior?
>>>
>>>  Any specific browsers 

Re: How to use different templates for different sites/domains

2024-05-28 Thread Mike Dewhirst

On 28/05/2024 9:09 pm, Antonis Christofides wrote:

Hello,

I use the sites framework for a Django project that serves many 
different domains. But each of those domains has some templates 
overridden.


Might depend on what you are overriding - entire templates or just 
includes or just vars.


I would probably start by refactoring the templates so they were 
identical for all sites and reduce/extract the differences to includes 
which can be selected via contextvars after calling get_current_site() 
from the view.


Have you looked at template tags?

I use them for displaying additional information on the staging and dev 
sites versus production. Not what you are doing so I haven't thought too 
hard about that. Only worth a thought if you haven't considered it.




If I used a different instance of Django (i.e. a different gunicorn 
service) for each domain, I'd have different settings for each site. 
But I'm using a single instance to serve all sites and, wherever I 
need to, I use things that extract the domain from the request, like 
`get_current_site()`. But this doesn't seem to work with templates. A 
custom template loader won't work without a fight because its methods 
don't accept the request object as an argument.


All solutions I've thought about are ugly hacks.


Practicality beats purity

The least ugly seems to be to create middleware that stores the 
request object in a contextvar 
. But it strikes 
me that I can't find a simpler solution for this. Is what I want that 
uncommon, or am I missing something?


There's an old closed "wontfix" ticket 
 about this but without 
adequate explanation.

--
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 web visit 
https://groups.google.com/d/msgid/django-users/175b4601-2038-479b-9581-48d9c196df7cn%40googlegroups.com 
.



--
We recommend signal.org

Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
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 web visit 
https://groups.google.com/d/msgid/django-users/befa4ac2-40b8-44da-87c2-cbbe3ed307c6%40dewhirst.com.au.


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Django Admin Shortcuts

2024-05-28 Thread utibe solomon
Hey bro is it possible to authenticate an auto generated user from
inspect_db without necessarily having to migrate fields that come with
using abstractbaseuser and permissions mixin


On Tue, 28 May 2024 at 20:39, Mike Schem  wrote:

> Hey Faisal,
>
> Thanks for taking the time to read the PR and provide some feedback. I
> copied all of your concerns here and responded to them accordingly. Please
> let me know if you have any further questions!
>
> 1.
> Have you considered including a section in the Django admin documentation
> that outlines the new shortcuts and how to use them?
>
> Yes, I absolutely will document this, I was thinking about adding it to
> the "Other Topics" section here:
> https://docs.djangoproject.com/en/5.0/ref/contrib/admin/#other-topics.
> What do you think?
>
> 2.
>  Are the keyboard shortcuts configurable?
>
> Not yet, but I would be open to doing this as a future PR.
>
> 3.
> Have you tested the keyboard shortcuts across different browsers and
> operating systems to ensure consistent behavior?
>
>  Any specific browsers or versions where you faced issues?
>
> Yes, we've tested on pretty much all major OSs and browsers and have seen
> consistent behavior.  I've been running this in my company for over a year
> now. It's been great!
>
> 4.
> What considerations have been made regarding accessibility?
>
> I'd say this is largely an accessibility feature since it would allow for
> the visually impaired to save without needing to see the save buttons,
> which is great!
>
> 5.
> How does the implementation handle potential conflicts with existing
> browser or system shortcuts?
>
> There is an existing ctrl + S for saving browser pages as HTML, frakely, I
> don't think that should be the default for users. When saving the page, the
> action should not be to save it as html, but instead save the content of
> the admin.
>
> 6.
> Have you noticed any performance impacts with the addition of these
> shortcuts? Ensuring that the admin interface remains performant is
> important for all users.
>
> No, no performance issues. It's a very simple code change without much
> impact.
>
> On Sat, May 25, 2024 at 7:25 AM Faisal Mahmood 
> wrote:
>
>> Hi *Mike Schem,
>>
>> Thank you for reaching out and for your work on adding keyboard shortcuts
>> to the Django admin. This is a valuable feature that can greatly enhance
>> productivity for many users. We appreciate your contribution and the effort
>> you've put into this PR.
>>
>> We have reviewed your pull request and are excited about its potential.
>> Here are some thoughts and questions we have:
>>
>> 1.
>> Have you considered including a section in the Django admin documentation
>> that outlines the new shortcuts and how to use them?
>>
>> 2.
>>  Are the keyboard shortcuts configurable?
>>
>> 3.
>> Have you tested the keyboard shortcuts across different browsers and
>> operating systems to ensure consistent behavior?
>>
>>  Any specific browsers or versions where you faced issues?
>>
>> 4.
>> What considerations have been made regarding accessibility?
>>
>> 5.
>> How does the implementation handle potential conflicts with existing
>> browser or system shortcuts?
>>
>> 6.
>> Have you noticed any performance impacts with the addition of these
>> shortcuts? Ensuring that the admin interface remains performant is
>> important for all users.
>>
>> We believe these questions can help further refine the feature and ensure
>> it meets the needs of the wider Django community. Once again, thank you for
>> your contribution. We look forward to your responses and further discussion.
>>
>> Best regards,
>> [Faisal Mahmood]
>>
>> On Fri, May 24, 2024, 10:32 PM Mike Schem 
>> wrote:
>>
>>> Hey all,
>>>
>>> I’m seeking some support and feedback on my PR. I’ve added keyboard
>>> shortcuts to the Django admin for the save actions. We use it at my
>>> company, and it’s pretty helpful for power users. I’d love to hear what the
>>> community thinks.
>>>
>>> https://github.com/django/django/pull/17599
>>>
>>>
>>> Mike Schem
>>> Senior Software Engineer
>>> String King Lacrosse, LLC
>>> StringKing, Inc.
>>> 19100 South Vermont Avenue
>>> 
>>> Gardena, CA  90248
>>> 
>>> 310-699-7175 Mobile
>>>
>>> m...@stringking.com 
>>> StringKing.com  | uSTRING.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+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CALUzFO1GyhQct422sU6WDRC3ksYf-qg8qgtR%2BwXGOwrjWDn2_A%40mail.gmail.com
>>> 

Re: Django Admin Shortcuts

2024-05-28 Thread Faisal Mahmood
█▀ █▀█ █▀█ █░
█▄ █▄█ █▄█ █▄

That's great to hear keep it up. And have  a great day ahead.
I'm nothing but a student of Django.
Hopefully my questions doesn't bother you too much. 


Great!

And once again thanks a lot for your hard work.
I will be glad if you need any assistance from me in the future.

Regards
Faisal Mahmood
faisalbhagri2...@gmail.com
WhatsApp:   +923013181026



On Wed, May 29, 2024, 12:38 AM Mike Schem  wrote:

> Hey Faisal,
>
> Thanks for taking the time to read the PR and provide some feedback. I
> copied all of your concerns here and responded to them accordingly. Please
> let me know if you have any further questions!
>
> 1.
> Have you considered including a section in the Django admin documentation
> that outlines the new shortcuts and how to use them?
>
> Yes, I absolutely will document this, I was thinking about adding it to
> the "Other Topics" section here:
> https://docs.djangoproject.com/en/5.0/ref/contrib/admin/#other-topics.
> What do you think?
>
> 2.
>  Are the keyboard shortcuts configurable?
>
> Not yet, but I would be open to doing this as a future PR.
>
> 3.
> Have you tested the keyboard shortcuts across different browsers and
> operating systems to ensure consistent behavior?
>
>  Any specific browsers or versions where you faced issues?
>
> Yes, we've tested on pretty much all major OSs and browsers and have seen
> consistent behavior.  I've been running this in my company for over a year
> now. It's been great!
>
> 4.
> What considerations have been made regarding accessibility?
>
> I'd say this is largely an accessibility feature since it would allow for
> the visually impaired to save without needing to see the save buttons,
> which is great!
>
> 5.
> How does the implementation handle potential conflicts with existing
> browser or system shortcuts?
>
> There is an existing ctrl + S for saving browser pages as HTML, frakely, I
> don't think that should be the default for users. When saving the page, the
> action should not be to save it as html, but instead save the content of
> the admin.
>
> 6.
> Have you noticed any performance impacts with the addition of these
> shortcuts? Ensuring that the admin interface remains performant is
> important for all users.
>
> No, no performance issues. It's a very simple code change without much
> impact.
>
> On Sat, May 25, 2024 at 7:25 AM Faisal Mahmood 
> wrote:
>
>> Hi *Mike Schem,
>>
>> Thank you for reaching out and for your work on adding keyboard shortcuts
>> to the Django admin. This is a valuable feature that can greatly enhance
>> productivity for many users. We appreciate your contribution and the effort
>> you've put into this PR.
>>
>> We have reviewed your pull request and are excited about its potential.
>> Here are some thoughts and questions we have:
>>
>> 1.
>> Have you considered including a section in the Django admin documentation
>> that outlines the new shortcuts and how to use them?
>>
>> 2.
>>  Are the keyboard shortcuts configurable?
>>
>> 3.
>> Have you tested the keyboard shortcuts across different browsers and
>> operating systems to ensure consistent behavior?
>>
>>  Any specific browsers or versions where you faced issues?
>>
>> 4.
>> What considerations have been made regarding accessibility?
>>
>> 5.
>> How does the implementation handle potential conflicts with existing
>> browser or system shortcuts?
>>
>> 6.
>> Have you noticed any performance impacts with the addition of these
>> shortcuts? Ensuring that the admin interface remains performant is
>> important for all users.
>>
>> We believe these questions can help further refine the feature and ensure
>> it meets the needs of the wider Django community. Once again, thank you for
>> your contribution. We look forward to your responses and further discussion.
>>
>> Best regards,
>> [Faisal Mahmood]
>>
>> On Fri, May 24, 2024, 10:32 PM Mike Schem 
>> wrote:
>>
>>> Hey all,
>>>
>>> I’m seeking some support and feedback on my PR. I’ve added keyboard
>>> shortcuts to the Django admin for the save actions. We use it at my
>>> company, and it’s pretty helpful for power users. I’d love to hear what the
>>> community thinks.
>>>
>>> https://github.com/django/django/pull/17599
>>>
>>>
>>> Mike Schem
>>> Senior Software Engineer
>>> String King Lacrosse, LLC
>>> StringKing, Inc.
>>> 19100 South Vermont Avenue
>>> 
>>> Gardena, CA  90248
>>> 
>>> 310-699-7175 Mobile
>>>
>>> m...@stringking.com 
>>> StringKing.com  | uSTRING.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+unsubscr...@googlegroups.com.
>>> To view 

Re: Django Admin Shortcuts

2024-05-28 Thread Mike Schem
Hey Faisal,

Thanks for taking the time to read the PR and provide some feedback. I
copied all of your concerns here and responded to them accordingly. Please
let me know if you have any further questions!

1.
Have you considered including a section in the Django admin documentation
that outlines the new shortcuts and how to use them?

Yes, I absolutely will document this, I was thinking about adding it to the
"Other Topics" section here:
https://docs.djangoproject.com/en/5.0/ref/contrib/admin/#other-topics. What
do you think?

2.
 Are the keyboard shortcuts configurable?

Not yet, but I would be open to doing this as a future PR.

3.
Have you tested the keyboard shortcuts across different browsers and
operating systems to ensure consistent behavior?

 Any specific browsers or versions where you faced issues?

Yes, we've tested on pretty much all major OSs and browsers and have seen
consistent behavior.  I've been running this in my company for over a year
now. It's been great!

4.
What considerations have been made regarding accessibility?

I'd say this is largely an accessibility feature since it would allow for
the visually impaired to save without needing to see the save buttons,
which is great!

5.
How does the implementation handle potential conflicts with existing
browser or system shortcuts?

There is an existing ctrl + S for saving browser pages as HTML, frakely, I
don't think that should be the default for users. When saving the page, the
action should not be to save it as html, but instead save the content of
the admin.

6.
Have you noticed any performance impacts with the addition of these
shortcuts? Ensuring that the admin interface remains performant is
important for all users.

No, no performance issues. It's a very simple code change without much
impact.

On Sat, May 25, 2024 at 7:25 AM Faisal Mahmood 
wrote:

> Hi *Mike Schem,
>
> Thank you for reaching out and for your work on adding keyboard shortcuts
> to the Django admin. This is a valuable feature that can greatly enhance
> productivity for many users. We appreciate your contribution and the effort
> you've put into this PR.
>
> We have reviewed your pull request and are excited about its potential.
> Here are some thoughts and questions we have:
>
> 1.
> Have you considered including a section in the Django admin documentation
> that outlines the new shortcuts and how to use them?
>
> 2.
>  Are the keyboard shortcuts configurable?
>
> 3.
> Have you tested the keyboard shortcuts across different browsers and
> operating systems to ensure consistent behavior?
>
>  Any specific browsers or versions where you faced issues?
>
> 4.
> What considerations have been made regarding accessibility?
>
> 5.
> How does the implementation handle potential conflicts with existing
> browser or system shortcuts?
>
> 6.
> Have you noticed any performance impacts with the addition of these
> shortcuts? Ensuring that the admin interface remains performant is
> important for all users.
>
> We believe these questions can help further refine the feature and ensure
> it meets the needs of the wider Django community. Once again, thank you for
> your contribution. We look forward to your responses and further discussion.
>
> Best regards,
> [Faisal Mahmood]
>
> On Fri, May 24, 2024, 10:32 PM Mike Schem 
> wrote:
>
>> Hey all,
>>
>> I’m seeking some support and feedback on my PR. I’ve added keyboard
>> shortcuts to the Django admin for the save actions. We use it at my
>> company, and it’s pretty helpful for power users. I’d love to hear what the
>> community thinks.
>>
>> https://github.com/django/django/pull/17599
>>
>>
>> Mike Schem
>> Senior Software Engineer
>> String King Lacrosse, LLC
>> StringKing, Inc.
>> 19100 South Vermont Avenue
>> 
>> Gardena, CA  90248
>> 
>> 310-699-7175 Mobile
>>
>> m...@stringking.com 
>> StringKing.com  | uSTRING.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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CALUzFO1GyhQct422sU6WDRC3ksYf-qg8qgtR%2BwXGOwrjWDn2_A%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> 

Re: Django Admin Shortcuts

2024-05-25 Thread Faisal Mahmood
Hi *Mike Schem,

Thank you for reaching out and for your work on adding keyboard shortcuts
to the Django admin. This is a valuable feature that can greatly enhance
productivity for many users. We appreciate your contribution and the effort
you've put into this PR.

We have reviewed your pull request and are excited about its potential.
Here are some thoughts and questions we have:

1.
Have you considered including a section in the Django admin documentation
that outlines the new shortcuts and how to use them?

2.
 Are the keyboard shortcuts configurable?

3.
Have you tested the keyboard shortcuts across different browsers and
operating systems to ensure consistent behavior?

 Any specific browsers or versions where you faced issues?

4.
What considerations have been made regarding accessibility?

5.
How does the implementation handle potential conflicts with existing
browser or system shortcuts?

6.
Have you noticed any performance impacts with the addition of these
shortcuts? Ensuring that the admin interface remains performant is
important for all users.

We believe these questions can help further refine the feature and ensure
it meets the needs of the wider Django community. Once again, thank you for
your contribution. We look forward to your responses and further discussion.

Best regards,
[Faisal Mahmood]

On Fri, May 24, 2024, 10:32 PM Mike Schem  wrote:

> Hey all,
>
> I’m seeking some support and feedback on my PR. I’ve added keyboard
> shortcuts to the Django admin for the save actions. We use it at my
> company, and it’s pretty helpful for power users. I’d love to hear what the
> community thinks.
>
> https://github.com/django/django/pull/17599
>
>
> Mike Schem
> Senior Software Engineer
> String King Lacrosse, LLC
> StringKing, Inc.
> 19100 South Vermont Avenue
> 
> Gardena, CA  90248
> 
> 310-699-7175 Mobile
>
> m...@stringking.com 
> StringKing.com  | uSTRING.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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALUzFO1GyhQct422sU6WDRC3ksYf-qg8qgtR%2BwXGOwrjWDn2_A%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP3eejy%3DHWk82qHU5uNaWAYDTRC1-N1A9fUVkc%2B_avj5FmUYQA%40mail.gmail.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-25 Thread utibe solomon
I'm interested with as low pay as possible I want to gain experience


On Wed, May 22, 2024, 11:12 PM Amen Guda  wrote:

> hey
>
>
> On Thu, May 9, 2024 at 9:01 PM Hussain Ezzi 
> wrote:
>
>> i am interested , with only 10 dollars per hour, i just want to hone my
>> skills again
>>
>> On Tuesday, May 7, 2024 at 2:22:56 PM UTC+5 Satyajit Barik wrote:
>>
>>> I’m interested
>>>
>>> On Sat, 4 May 2024 at 10:04 PM, Bethuel Thipe 
>>> wrote:
>>>
 I am interested


 Sent from Yahoo Mail for iPad
 

 On Friday, May 3, 2024, 3:15 PM, Raunak Ron  wrote:

 I am Interested.

 On Monday 29 April 2024 at 19:45:53 UTC+5:30 Pankaj Saini wrote:

 I am interested in this position.

 I have an experience in Django Development with strong Python.

 On Tue, Apr 2, 2024, 10:49 PM Abhishek J 
 wrote:

 Dear Developers,

 I need to build an android and IOS phone dialer similar to Truecaller.

 We are seeking experienced and dedicated candidates who are proficient
 in Django and possess a keen interest in contributing to this impactful
 initiative.

 We look forward to the opportunity to collaborate with talented
 individuals who are passionate about creating innovative solutions in the
 education sector.

 Thank you for considering this opportunity.

 --

 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/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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...@googlegroups.com.
 To view this discussion on the web visit

 https://groups.google.com/d/msgid/django-users/b0b71507-abfb-4c45-8701-92ef9f972affn%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.

>>> To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/1405926229.10663276.1714800213056%40mail.yahoo.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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/348e9152-385d-45d9-af85-3c161b5e21afn%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJ8cwduO6WSwHosB%3D8%3Dx28VPtk%3Dwo2pSApwOTbST86YR%2BMvW7g%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJkiqy7wFCD9HYO8LLV_L_FP%3D%2BNWzR9OD%2BX42RB1R_rgkUquSQ%40mail.gmail.com.


Re: Increasing iteration count for the PBKDF2 password hasher

2024-05-23 Thread Mike Dewhirst

On 23/05/2024 6:12 pm, Shaheed Haque wrote:

Hi,

As happens from time-to-time, I see the 5.1 alpha recently announced 
has increased the iteration count for the PBKDF2 password hasher (from 
720k to 870k), and the putative release notes for 5.2 mention a 
further increase (to 1M).


I assume this iteration count has something to do with the noticeable 
time it takes to run User.set_password()? Is there something that can 
be done to mitigate any further increase in the execution time of 
.set_password(), or am I barking up the wrong tree?


My understanding is the intention is to make brute force attacks more 
expensive for the attacker.


Don't know whether there might be a better way.



Thanks, Shaheed
--
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 web visit 
https://groups.google.com/d/msgid/django-users/CAHAc2jcETxAtMbHfnD1GQFVgWwR8ABOAy%3DjaRuhRW7mQhnOxeQ%40mail.gmail.com 
.



--
We recommend signal.org

Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Your
email software can handle signing.

--
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 web visit 
https://groups.google.com/d/msgid/django-users/9c7c7294-08fd-4a6a-91de-e99ab27d4a61%40dewhirst.com.au.


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-22 Thread Amen Guda
hey


On Thu, May 9, 2024 at 9:01 PM Hussain Ezzi  wrote:

> i am interested , with only 10 dollars per hour, i just want to hone my
> skills again
>
> On Tuesday, May 7, 2024 at 2:22:56 PM UTC+5 Satyajit Barik wrote:
>
>> I’m interested
>>
>> On Sat, 4 May 2024 at 10:04 PM, Bethuel Thipe 
>> wrote:
>>
>>> I am interested
>>>
>>>
>>> Sent from Yahoo Mail for iPad
>>> 
>>>
>>> On Friday, May 3, 2024, 3:15 PM, Raunak Ron  wrote:
>>>
>>> I am Interested.
>>>
>>> On Monday 29 April 2024 at 19:45:53 UTC+5:30 Pankaj Saini wrote:
>>>
>>> I am interested in this position.
>>>
>>> I have an experience in Django Development with strong Python.
>>>
>>> On Tue, Apr 2, 2024, 10:49 PM Abhishek J 
>>> wrote:
>>>
>>> Dear Developers,
>>>
>>> I need to build an android and IOS phone dialer similar to Truecaller.
>>>
>>> We are seeking experienced and dedicated candidates who are proficient
>>> in Django and possess a keen interest in contributing to this impactful
>>> initiative.
>>>
>>> We look forward to the opportunity to collaborate with talented
>>> individuals who are passionate about creating innovative solutions in the
>>> education sector.
>>>
>>> Thank you for considering this opportunity.
>>>
>>> --
>>>
>>> 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/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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...@googlegroups.com.
>>> To view this discussion on the web visit
>>>
>>> https://groups.google.com/d/msgid/django-users/b0b71507-abfb-4c45-8701-92ef9f972affn%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.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/1405926229.10663276.1714800213056%40mail.yahoo.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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/348e9152-385d-45d9-af85-3c161b5e21afn%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJ8cwduO6WSwHosB%3D8%3Dx28VPtk%3Dwo2pSApwOTbST86YR%2BMvW7g%40mail.gmail.com.


Re: Creating live streaming app

2024-05-22 Thread Raize Studio
You can probably be fine with just websockets. But a more robust solution 
for heavy usage is to use nginx-rmtp module .

Le mercredi 15 mai 2024 à 20:58:56 UTC+2, Anshuman Thakur a écrit :

> Hi Teams,
>
> how can we create live streaming application when we are using react.js in 
> frontend and django rest framework in baackend
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/803c9abc-03f7-497f-bcce-00020607761dn%40googlegroups.com.


Re: Django 5.1 alpha 1 released

2024-05-22 Thread Natraj Kavander
Thank you

On Wed, May 22, 2024, 10:26 PM Natalia Bidart 
wrote:

> Details are available on the Django project weblog:
>
>
> https://www.djangoproject.com/weblog/2024/may/22/django-51-alpha-1-released/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/CA%2BfOnFam%3Dn8bL6hpPzB3NsumaC7OXVsOnMEM5GRncPKJpC0qdA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHZhoBPadR6yy%2B77E_hszdcW1AF9uXq6oJCjKrm_909mh5gVmA%40mail.gmail.com.


Re: Changing my github django simple ecommerce to use drf and and react native frotend

2024-05-20 Thread Natraj Kavander
Thank you

On Mon, May 20, 2024, 7:31 AM De Ras  wrote:

> Hey would am changing my django ecomerce site in github from traditional
> views and fprms to use django rest framework and react native as its backed
> greater support appreciated for any support. There is the link to my repo
> https://github.com/D3ras/eccommerce-django
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAEGH1-0knziC8jhdWqn5_oi1WixF9PrVOTEeOTmW8QTD3M7QdA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHZhoBMudmOQFoUfujSLihAO67gze9pEfXUfFQs-28k%2BrqiWVw%40mail.gmail.com.


Re: Displaying contrast of a queryset

2024-05-20 Thread Natraj Kavander
Thank you

On Sun, May 19, 2024, 11:24 PM Abdou KARAMBIZI 
wrote:

>   Hello,
> *I have 2 models :*
>
> class Product(models.Model):
> product_id = models.AutoField(primary_key=True)
> product_name = models.CharField(max_length=200)
> price = models.IntegerField()
> image =
> models.ImageField(upload_to='images/products_images/',null=True,blank=True)
>
>
> def __str__(self):
> return self.product_name
>
>
> class Task(models.Model):
> task_id = models.AutoField(primary_key=True)
> user = models.ForeignKey(User,on_delete = models.CASCADE)
> product = models.ForeignKey(Product,on_delete=models.CASCADE)
> performed_at = models.DateTimeField(auto_now_add=True)
>
> def __int__(self):
> return self.task_id
>
> * I want all products that a user logged in didn't send in task model*
> The following query is working but  when a user logs in should get all
> products he/she didn't send in task model
>
> product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True,
> blank=True)
> tasks = Task.objects.filter(product__isnull=True)
>
>
> On Fri, May 3, 2024 at 9:52 AM Abdou KARAMBIZI 
> wrote:
>
>>
>> ThanksKelvin Macharia
>>
>> Now it is working properly
>>
>> On Wed, May 1, 2024 at 9:24 PM Kelvin Macharia 
>> wrote:
>>
>>> Actually:
>>> Query for tasks without relations to Product
>>>
>>> tasks = Task.objects.filter(product__isnull=True)
>>>
>>> after setting product field optional in as follows:
>>>
>>> product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True,
>>> blank=True)
>>>
>>> On Wednesday, May 1, 2024 at 4:59:46 PM UTC+3 Ryan Nowakowski wrote:
>>>
 Products.objects.filter(task_set__isnull=True)


 On April 28, 2024 8:57:57 AM CDT, manohar chundru <
 chundrumanoh...@gmail.com> wrote:

> print(p)
>
> On Sun, Apr 28, 2024 at 12:25 AM Abdou KARAMBIZI 
> wrote:
>
>> Hello friends,
>>
>> products = Task.objects.select_related().all()
>> for p in products:
>> print(p.product.product_name)
>>
>> This gives product that has relation in Task model but *I need
>> product which doesn't have relation in Task *
>>
>> *Means we have products have relations in Task model and others with
>> no relation in Task model and I need a queryset to display those with no
>> relations in Task *
>>
>>
>>
>>
>> On Sat, Apr 27, 2024 at 4:57 PM Kelvin Macharia 
>> wrote:
>>
>>> Before I share my thoughts here is a question for you. Where do you
>>> expect your product to be printed out?
>>>
>>> Here is what I think you should try out.
>>>
>>> First, the source code looks correct to me. Your view only get
>>> triggered when you access the routes(url) pointing to this view via the
>>> browser and this doesn't rerun server to print result on your console so
>>> you won't see anything get printed on the console. I presume you could 
>>> be
>>> thinking of running a django app like you do with ordinary python 
>>> scripts,
>>> your right but django is a python framework which requires specifics
>>> configurations to get results.
>>>
>>> To test your code and see products get printed out try this:
>>>
>>> 1. Use a template. Modify your view as follows:
>>>
>>> def product_task(request):
>>> products = Task.objects.select_related().all()
>>> context = {'products': products}
>>>
>>> return render(request, 'product-task.html', context)
>>>
>>> Create the template, configure routes in urls.py to point to this
>>> view and access through browser. Remember to add dummy data in your db
>>>
>>> 2. To print out your products using a for loop, use the django shell
>>> using '*python manage.py shell*'
>>>
>>> e.g.
>>> (.venv)
>>> python manage.py shell
>>> Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC
>>> v.1937 64 bit (AMD64)] on win32
>>> Type "help", "copyright", "credits" or "license" for more
>>> information.
>>> (InteractiveConsole)
>>> >>> from stores.models import Task, Product
>>> >>> products = Task.objects.select_related().all()
>>> >>> for p in products:
>>> ... print(p.product.product_name)
>>> ...
>>> Coffee
>>> Banana Bread
>>>
>>> Note:
>>> 1. Stores refers to a dummy app I have created to host models.py.
>>> 2. Coffee and Banana Bread are just products I have added as dummy
>>> data.
>>>
>>> Hopes this help or atleast gives a guide somehow
>>>
>>> On Friday, April 26, 2024 at 5:22:26 PM UTC+3 Muhammad Juwaini Abdul
>>> Rahman wrote:
>>>
 You're looking for `product`, but the model that you queried is
 `Task`.

 On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI 
 wrote:

> Hello,
> *I have 2 models :*
>
> class 

Re: Reactive frontend + Session Authentication (+ csrf ?)

2024-05-20 Thread Natraj Kavander
Thank you 

On Mon, May 20, 2024, 8:40 PM zvo...@seznam.cz  wrote:

> With traditional frontend (like realized with Django templates), the user
> will GET the login form and in this step Django sends csrf token. Later, in
> 2nd step, you send credential and the csrf token to the server.
>
> But in Django + Reactive frontend (Svelte in my case, but it is not
> important at all) solution, the Login form is created by Svelte. Them
> submission: not the real submission, but under the Submit button Svelte
> sends credentials to Django using FetchAPI. Maybe this submission is the
> 1st communication to Django server and so we haven't the csrf token yet (?!)
>
> So I have realized the Session Authentication without any regard to
> csrftoken cookie. My login view is wrapped by csrf_exempt. Svelte form
> sends credentials, Django makes login() and sends sessionid cookie back. It
> works.
>
> Now my question is: Is this solution safe enough? Or is it danger and I
> should first get the csrftoken cookie from server in some earlier request
> and add the header with csrftoken?
>
> It is pain to have such question.
> AI cannot answer it, instead it will write lot of text and code examples,
> without answering YES or NO, without understanding what I am asking.
> Find other sources is difficult (StackOverflow) is difficult too. On one
> side many people say Session Authentication is safe for browsers, JWT is
> not safe at all (because the token is saved in LocalStorage, not KeyChain).
> On other side, it looks like almost nobody uses Session Authentication and
> in problems many people say: Just go to JWT.
> That are reasons why it is difficult to realize the Session
> Authentication. But once realized, it is supereasy - no code, just the
> built-in cookie mechanism.
>
> So what do you mean?
> Or can you recommend some source which describes reactive frontend +
> sessionid & csrftoken cookies?
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/e8d3658a-0e28-468d-a6f6-10e058217605n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHZhoBOcw6xmCbekDmOuBMpt29ic_WUtCO5zUWBN--gE-i9%3D0A%40mail.gmail.com.


Re: why get_object_or_404 error is not using translation?

2024-05-19 Thread Natraj Kavander
Thank you

On Sun, May 19, 2024, 1:48 AM Hossein Mahdavipour 
wrote:

> Hi.
> I am using DRF with django. In views  I use get_object_or_404. When I get
> a 404, the exception detail is "No %s matches the given query."
> You can see the code here:
> https://github.com/django/django/blob/8f205acea94e93a463109e08814f78c09307f2b9/django/shortcuts.py#L88
> My question is why it does not use translation? I searched the web but I
> found nothing on why it does not use translation.
> Also I like to know, how can I use a workaround to get a translated error
> when getting 404 without try except in all views.
>
> Thanks in advanced.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/d1b93300-9f52-4c24-9ab9-dcfc5038200bn%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHZhoBOGYXm6qdKJRtpWFVHPdods3FQDQotbJMdY7A-9KudMsA%40mail.gmail.com.


Re: Displaying contrast of a queryset

2024-05-19 Thread Abdou KARAMBIZI
  Hello,
*I have 2 models :*

class Product(models.Model):
product_id = models.AutoField(primary_key=True)
product_name = models.CharField(max_length=200)
price = models.IntegerField()
image =
models.ImageField(upload_to='images/products_images/',null=True,blank=True)


def __str__(self):
return self.product_name


class Task(models.Model):
task_id = models.AutoField(primary_key=True)
user = models.ForeignKey(User,on_delete = models.CASCADE)
product = models.ForeignKey(Product,on_delete=models.CASCADE)
performed_at = models.DateTimeField(auto_now_add=True)

def __int__(self):
return self.task_id

* I want all products that a user logged in didn't send in task model*
The following query is working but  when a user logs in should get all
products he/she didn't send in task model

product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True,
blank=True)
tasks = Task.objects.filter(product__isnull=True)


On Fri, May 3, 2024 at 9:52 AM Abdou KARAMBIZI 
wrote:

>
> ThanksKelvin Macharia
>
> Now it is working properly
>
> On Wed, May 1, 2024 at 9:24 PM Kelvin Macharia 
> wrote:
>
>> Actually:
>> Query for tasks without relations to Product
>>
>> tasks = Task.objects.filter(product__isnull=True)
>>
>> after setting product field optional in as follows:
>>
>> product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True,
>> blank=True)
>>
>> On Wednesday, May 1, 2024 at 4:59:46 PM UTC+3 Ryan Nowakowski wrote:
>>
>>> Products.objects.filter(task_set__isnull=True)
>>>
>>>
>>> On April 28, 2024 8:57:57 AM CDT, manohar chundru <
>>> chundrumanoh...@gmail.com> wrote:
>>>
 print(p)

 On Sun, Apr 28, 2024 at 12:25 AM Abdou KARAMBIZI 
 wrote:

> Hello friends,
>
> products = Task.objects.select_related().all()
> for p in products:
> print(p.product.product_name)
>
> This gives product that has relation in Task model but *I need
> product which doesn't have relation in Task *
>
> *Means we have products have relations in Task model and others with
> no relation in Task model and I need a queryset to display those with no
> relations in Task *
>
>
>
>
> On Sat, Apr 27, 2024 at 4:57 PM Kelvin Macharia 
> wrote:
>
>> Before I share my thoughts here is a question for you. Where do you
>> expect your product to be printed out?
>>
>> Here is what I think you should try out.
>>
>> First, the source code looks correct to me. Your view only get
>> triggered when you access the routes(url) pointing to this view via the
>> browser and this doesn't rerun server to print result on your console so
>> you won't see anything get printed on the console. I presume you could be
>> thinking of running a django app like you do with ordinary python 
>> scripts,
>> your right but django is a python framework which requires specifics
>> configurations to get results.
>>
>> To test your code and see products get printed out try this:
>>
>> 1. Use a template. Modify your view as follows:
>>
>> def product_task(request):
>> products = Task.objects.select_related().all()
>> context = {'products': products}
>>
>> return render(request, 'product-task.html', context)
>>
>> Create the template, configure routes in urls.py to point to this
>> view and access through browser. Remember to add dummy data in your db
>>
>> 2. To print out your products using a for loop, use the django shell
>> using '*python manage.py shell*'
>>
>> e.g.
>> (.venv)
>> python manage.py shell
>> Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC
>> v.1937 64 bit (AMD64)] on win32
>> Type "help", "copyright", "credits" or "license" for more information.
>> (InteractiveConsole)
>> >>> from stores.models import Task, Product
>> >>> products = Task.objects.select_related().all()
>> >>> for p in products:
>> ... print(p.product.product_name)
>> ...
>> Coffee
>> Banana Bread
>>
>> Note:
>> 1. Stores refers to a dummy app I have created to host models.py.
>> 2. Coffee and Banana Bread are just products I have added as dummy
>> data.
>>
>> Hopes this help or atleast gives a guide somehow
>>
>> On Friday, April 26, 2024 at 5:22:26 PM UTC+3 Muhammad Juwaini Abdul
>> Rahman wrote:
>>
>>> You're looking for `product`, but the model that you queried is
>>> `Task`.
>>>
>>> On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI 
>>> wrote:
>>>
 Hello,
 *I have 2 models :*

 class Product(models.Model):
 product_id = models.AutoField(primary_key=True)
 product_name = models.CharField(max_length=200)
 price = models.IntegerField()
 image =
 

Re: View "functions" that are callables?

2024-05-16 Thread Anthony Flury
I can't see why not - as far as Python is concerned a callable is a
callable.

There is a deep in the weeds way for a caller to determine if a callable is
a __call__ method on a class, but I really doubt Django does anything close
to that - what would be the benefit.

On Wed, May 15, 2024 at 8:39 PM Christophe Pettus  wrote:

> Hi,
>
> I'm surprised I don't know this, but: Can a view "function" in a urlconf
> be a callable that is not actually a function, such as a class with a
> __call__ method?
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/F70DCB4E-1307-42C2-AC62-CA2DC98DCD5B%40thebuild.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN0Bb7fx5t1FC5WKRwkE31%3DYvnTVRoSi_hYqDB%2B%3DZG2-7zonzg%40mail.gmail.com.


Re: View "functions" that are callables?

2024-05-15 Thread Faisal Mahmood
Yes, in Django, a view function in a URLconf can indeed be a callable that
is not necessarily a function. You can use classes with a `__call__` method
as views, often referred to as class-based views (CBVs).

Class-based views offer more flexibility and organization than
function-based views in some cases. They allow you to group related
functionality together more easily, provide better code reuse through
inheritance, and offer built-in methods for common HTTP operations like
GET, POST, PUT, etc.

Here's a basic example of a class-based view:

```python
from django.http import HttpResponse
from django.views import View

class MyView(View):
def get(self, request, *args, **kwargs):
return HttpResponse("This is a GET request")

def post(self, request, *args, **kwargs):
return HttpResponse("This is a POST request")
```

You can then include this class-based view in your URLconf like this:

```python
from django.urls import path
from .views import MyView

urlpatterns = [
path('myview/', MyView.as_view(), name='my-view'),
]
```

In this example, `MyView` is a class-based view with `get()` and `post()`
methods, which handle GET and POST requests, respectively. When included in
the URLconf using `.as_view()`, Django will internally call the `__call__`
method of the class to handle the request.

On Thu, May 16, 2024, 12:38 AM Christophe Pettus  wrote:

> Hi,
>
> I'm surprised I don't know this, but: Can a view "function" in a urlconf
> be a callable that is not actually a function, such as a class with a
> __call__ method?
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/F70DCB4E-1307-42C2-AC62-CA2DC98DCD5B%40thebuild.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAP3eejziJxgJR6UQZ4%2B7pUH_12rwez7yJYEp%3DwjD2%3D%3DXvhdGzw%40mail.gmail.com.


Re: View "functions" that are callables?

2024-05-15 Thread Abdulfarid Olakunle
Yes, in Django, a view function in a URLconf can indeed be a callable that
is not necessarily a function. It can be a class-based view where the class
has a `__call__` method, effectively making it callable. This is a common
practice and allows for more flexibility and organization in your code.


On Wed, May 15, 2024 at 20:39 Christophe Pettus  wrote:

> Hi,
>
> I'm surprised I don't know this, but: Can a view "function" in a urlconf
> be a callable that is not actually a function, such as a class with a
> __call__ method?
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/F70DCB4E-1307-42C2-AC62-CA2DC98DCD5B%40thebuild.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BccuR3mM0-Q9MUk8h0jck4%3DNr2YyovWWFVDPMO6mGtFYpx0-g%40mail.gmail.com.


Re: Account verification

2024-05-13 Thread Anthony Flury
Your register view is setting is_active to True - regardless of email
verification.

Remember that the email confirmation will happen asynchronously to the
registration.

What I do is have a separate table that records that a user needs to
complete the verification process.
So registration sends the email (with a link) to the user and adds a record
to the verification pending table.

I then have the verification view which sets the user to be Active and
deleted the record in the pending table.



On Mon, May 13, 2024 at 1:27 PM Kennedy Akogo 
wrote:

> I'm attempting to implement a registration system with email verification.
> While the email verification functionality is working - sending an email to
> the user for verification - I'm encountering an issue where users are able
> to log in even without verifying their email addresses.
>
> My goal is to restrict login functionality for users who haven't verified
> their email addresses. In other words, users should only be able to log in
> if they have completed the email verification process.
>
> Please advise ,I have attached images of the login and register view
>
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAJBDwusqGZXgHHg55uOvh_9h1VB8D3o1pxfLPcaJTJHViXrwZg%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN0Bb7eQQ76s_VL2z%2BSc%3DEfHH%3DxqRePsp9Ph8teC2KN2ZqjF2w%40mail.gmail.com.


Re: very urgent

2024-05-13 Thread Babatunde Mabinuori
Good day,
The error occurs because "usagers/login.html" doesn't exist in your 
template file or wasn't properly referenced. Kindly check the filename 
properly to see if it exist, the filename is correctly spelt and well 
referenced.
On Sunday, May 12, 2024 at 4:03:41 PM UTC+1 Yann wrote:

> Please does somoene can help me with this:
> [image: Capture d'écran 2024-05-12 091648.png]
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/ed4dc3aa-03fa-4589-b148-c881e216a4c3n%40googlegroups.com.


Re: very urgent

2024-05-13 Thread Agar Joshua
whats the folder structure for your templates?

On Sun, May 12, 2024 at 6:03 PM Yann  wrote:

> Please does somoene can help me with this:
> [image: Capture d'écran 2024-05-12 091648.png]
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/8b6516df-3fa8-47a6-813f-8fb3c786a639n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALHJg5LP4TcO0ct%2BT6-%3D%2B1ckLd%3Dg7e8sC7g%3DmBPUf0OX5wKMrg%40mail.gmail.com.


Re: Call for Testing: Connection Pooling PR for Django Oracle

2024-05-09 Thread Benjamini Athanas
thanks

On Mon, 6 May 2024 at 22:41, suraj shaw  wrote:

> Dear Django Users,
>
>
> I hope this email finds you well.
>
>
> We're reaching out to the Django community today with an exciting
> opportunity to test a significant enhancement for the Oracle database
> backend: connection pooling functionality.
>
>
> A pull request has been submitted that introduces connection pooling to
> Django's Oracle backend. This enhancement promises to bring notable
> improvements in performance and scalability, particularly for applications
> handling heavy database traffic.
>
> We're inviting members of the Django community to participate in testing
> this PR.
>
>
> Your feedback and testing are invaluable in ensuring the reliability,
> efficiency, and compatibility of this feature across various Django
> projects and environments. By participating, you not only contribute to the
> enhancement of Django but also ensure that this crucial functionality meets
> the diverse needs of our community.
>
>
> *How You Can Help:*
>
>1. *Testing*: Deploy the PR in your development or testing environment
>and run your Django applications with Oracle backend. Observe its behavior,
>performance, and compatibility with your existing codebase.
>2. *Bug Reporting*: If you encounter any issues, whether they're
>related to functionality, performance, or compatibility, please report them
>promptly. Detailed bug reports with steps to reproduce are immensely
>helpful for the developers.
>3. *Feedback*: Share your thoughts, suggestions, and experiences with
>the community. Your feedback will aid in refining and improving the feature
>before it's merged into the main Django codebase.
>
>
> Testing Environment - Use python-oracledb (thin mode)
>
> Link - https://python-oracledb.readthedocs.io/en/latest/index.html
>
>
> *PR Link:* https://github.com/django/django/pull/17834
>
>
> Your contributions to this testing effort will play a crucial role in
> expediting the merging process. We highly appreciate your time and effort
> in helping make Django even better.
>
>
>
> Thank you for your support and dedication to the Django community.
>
>
> Best regards,
>
> Suraj Kumar Shaw
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAAUoqBHSZros2LGk9r2BeLYgm54LtCdTN_QURkGcTU-G9CFxwQ%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPRT2e5FDk6MJf8X%3D_iFOUkcyPBP3Sc-%3DH4KpSRNtbDo-3%3DY%2Bg%40mail.gmail.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-09 Thread Hussain Ezzi
i am interested , with only 10 dollars per hour, i just want to hone my 
skills again

On Tuesday, May 7, 2024 at 2:22:56 PM UTC+5 Satyajit Barik wrote:

> I’m interested 
>
> On Sat, 4 May 2024 at 10:04 PM, Bethuel Thipe  wrote:
>
>> I am interested 
>>
>>
>> Sent from Yahoo Mail for iPad 
>> 
>>
>> On Friday, May 3, 2024, 3:15 PM, Raunak Ron  wrote:
>>
>> I am Interested.
>>
>> On Monday 29 April 2024 at 19:45:53 UTC+5:30 Pankaj Saini wrote:
>>
>> I am interested in this position.
>>
>> I have an experience in Django Development with strong Python.
>>
>> On Tue, Apr 2, 2024, 10:49 PM Abhishek J  
>> wrote:
>>
>> Dear Developers,
>>
>> I need to build an android and IOS phone dialer similar to Truecaller.
>>
>> We are seeking experienced and dedicated candidates who are proficient in 
>> Django and possess a keen interest in contributing to this impactful 
>> initiative.
>>
>> We look forward to the opportunity to collaborate with talented 
>> individuals who are passionate about creating innovative solutions in the 
>> education sector.
>>
>> Thank you for considering this opportunity.
>>
>> -- 
>>
>> 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/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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...@googlegroups.com.
>> To view this discussion on the web visit 
>>
>> https://groups.google.com/d/msgid/django-users/b0b71507-abfb-4c45-8701-92ef9f972affn%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.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/1405926229.10663276.1714800213056%40mail.yahoo.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/348e9152-385d-45d9-af85-3c161b5e21afn%40googlegroups.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-07 Thread Satyajit Barik
I’m interested

On Sat, 4 May 2024 at 10:04 PM, Bethuel Thipe 
wrote:

> I am interested
>
>
> Sent from Yahoo Mail for iPad
> 
>
> On Friday, May 3, 2024, 3:15 PM, Raunak Ron  wrote:
>
> I am Interested.
>
> On Monday 29 April 2024 at 19:45:53 UTC+5:30 Pankaj Saini wrote:
>
> I am interested in this position.
>
> I have an experience in Django Development with strong Python.
>
> On Tue, Apr 2, 2024, 10:49 PM Abhishek J 
> wrote:
>
> Dear Developers,
>
> I need to build an android and IOS phone dialer similar to Truecaller.
>
> We are seeking experienced and dedicated candidates who are proficient in
> Django and possess a keen interest in contributing to this impactful
> initiative.
>
> We look forward to the opportunity to collaborate with talented
> individuals who are passionate about creating innovative solutions in the
> education sector.
>
> Thank you for considering this opportunity.
>
> --
>
> 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/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
>
> https://groups.google.com/d/msgid/django-users/b0b71507-abfb-4c45-8701-92ef9f972affn%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1405926229.10663276.1714800213056%40mail.yahoo.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANd-%2BoBKK8c83c%3Dz%2Bp%3DS8Yvem9Rm-a_3iMqd-49Ru%2B0PXxsW%3DA%40mail.gmail.com.


Re: E-comm live project

2024-05-06 Thread Dean Mahori
Add me
+263786881635

Sent from Outlook for Android<https://aka.ms/AAb9ysg>

From: django-users@googlegroups.com  on behalf 
of amruth bitla 
Sent: Monday, May 6, 2024 6:23:52 PM
To: Django users 
Subject: Re: E-comm live project

Hi  1001_prabhjot Singh,

I am interested, check out my GitHuB<http://github.com/bitlaa1> Page for Django 
Project, Please Email<http://amruthbitl...@gmail.com> me.

On Monday, May 6, 2024 at 12:13:13 PM UTC-4 avdesh sharma wrote:
I am interested, +91-9650031844

On Mon, Mar 18, 2024 at 10:56 PM 1001_prabhjot Singh  
wrote:
so i am working on a full stack e-comm website and this project is really very 
big for me because it's a live project am using django for backend interested 
one's can send there number for WhatsApp group

--
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/1101d563-726a-458e-ad9f-4b91bebf3132n%40googlegroups.com<https://groups.google.com/d/msgid/django-users/1101d563-726a-458e-ad9f-4b91bebf3132n%40googlegroups.com?utm_medium=email_source=footer>.


--
Warm Regards,
Avdesh Kumar Sharma
9650031844

--
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<mailto:django-users+unsubscr...@googlegroups.com>.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a84f1fdf-36de-4a79-b628-b2a50c576f3an%40googlegroups.com<https://groups.google.com/d/msgid/django-users/a84f1fdf-36de-4a79-b628-b2a50c576f3an%40googlegroups.com?utm_medium=email_source=footer>.

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/PAXP193MB2202C8F3EC53FC22B974B0D0FF1C2%40PAXP193MB2202.EURP193.PROD.OUTLOOK.COM.


Re: E-comm live project

2024-05-06 Thread amruth bitla
Hi  1001_prabhjot Singh, 

I am interested, check out my *GitHuB*  Page for 
*Django 
Project*, Please *Email*  me.

On Monday, May 6, 2024 at 12:13:13 PM UTC-4 avdesh sharma wrote:

> I am interested, +91-9650031844 <+91%2096500%2031844>
>
> On Mon, Mar 18, 2024 at 10:56 PM 1001_prabhjot Singh  
> wrote:
>
>> so i am working on a full stack e-comm website and this project is really 
>> very big for me because it's a live project am using django for backend 
>> interested one's can send there number for WhatsApp group  
>>
>> -- 
>> 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/1101d563-726a-458e-ad9f-4b91bebf3132n%40googlegroups.com
>>  
>> 
>> .
>>
>
>
> -- 
> Warm Regards,
> Avdesh Kumar Sharma
> 9650031844
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/a84f1fdf-36de-4a79-b628-b2a50c576f3an%40googlegroups.com.


Re: E-comm live project

2024-05-06 Thread avdesh sharma
I am interested, +91-9650031844

On Mon, Mar 18, 2024 at 10:56 PM 1001_prabhjot Singh <
prabhjotbal...@gmail.com> wrote:

> so i am working on a full stack e-comm website and this project is really
> very big for me because it's a live project am using django for backend
> interested one's can send there number for WhatsApp group
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/1101d563-726a-458e-ad9f-4b91bebf3132n%40googlegroups.com
> 
> .
>


-- 
Warm Regards,
Avdesh Kumar Sharma
9650031844

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAF5Nfo6d%3DOi7ywzo8uYd5Zd5OzkdhbYoF4uEC-uspP5OZ0b0sg%40mail.gmail.com.


Re: E-comm live project.

2024-05-06 Thread Daouda Sagno
Salut,
Mon numéro WhatsApp est +2250749741167

Le lun. 6 mai 2024 à 13:14, ankit lodhi  a écrit :

>
> Hi there,
> I have worked on multi-vendor E-Commerce apps,
> e-comm apps and on e-mart apps.
> You can consider me.
>
> My WhatsApp no. : +919165805819
> On Monday, May 6, 2024 at 6:00:16 PM UTC+5:30 M.VIKRAMAN ROMAN_VIKI wrote:
>
>> Lets do this guys. This is my whatsapp number : *+919514531375
>> <+91%2095145%2031375>*
>>
>> On Monday 18 March, 2024 at 11:04:22 pm UTC+5:30 Sang wrote:
>>
>>> Looks interesting. I'm on WhatsApp @ 9937826218. Please let's catch up
>>> there.
>>>
>>
>>> On Mon, Mar 18, 2024, 22:56 1001_prabhjot Singh 
>>> wrote:
>>>
 so i am working on a full stack e-comm website and this project is
 really very big for me because it's a live project am using django for
 backend interested one's can send there number for WhatsApp group

 --
 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/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/722ffbfd-fcd4-49fd-b671-b8f536181643n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHOT321AoRPNmaWiNMn9bfRHOXwwyCnGUCvuYSsqJo_Tcaes9w%40mail.gmail.com.


Re: E-comm live project

2024-05-06 Thread Montego King
I'm a novice, and wish to follow and learn
whatsapp:+237651802010

On Monday, March 18, 2024 at 6:26:50 PM UTC+1 1001_prabhjot Singh wrote:

> so i am working on a full stack e-comm website and this project is really 
> very big for me because it's a live project am using django for backend 
> interested one's can send there number for WhatsApp group  
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/13a4b441-24d7-41c3-a8b1-61e00b4f457dn%40googlegroups.com.


Re: E-comm live project.

2024-05-06 Thread Ibrahim Olayiwola
+1 201 852 7823

On Monday, May 6, 2024 at 8:30:16 AM UTC-4 M.VIKRAMAN ROMAN_VIKI wrote:

> Lets do this guys. This is my whatsapp number : *+919514531375 
> <+91%2095145%2031375>*
>
> On Monday 18 March, 2024 at 11:04:22 pm UTC+5:30 Sang wrote:
>
>> Looks interesting. I'm on WhatsApp @ 9937826218. Please let's catch up 
>> there. 
>>
>
>> On Mon, Mar 18, 2024, 22:56 1001_prabhjot Singh  
>> wrote:
>>
>>> so i am working on a full stack e-comm website and this project is 
>>> really very big for me because it's a live project am using django for 
>>> backend interested one's can send there number for WhatsApp group  
>>>
>>> -- 
>>> 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/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c171f588-7400-428e-bf4f-221e7f9e77c6n%40googlegroups.com.


Re: E-comm live project.

2024-05-06 Thread ankit lodhi

Hi there,
I have worked on multi-vendor E-Commerce apps,
e-comm apps and on e-mart apps.
You can consider me.

My WhatsApp no. : +919165805819
On Monday, May 6, 2024 at 6:00:16 PM UTC+5:30 M.VIKRAMAN ROMAN_VIKI wrote:

> Lets do this guys. This is my whatsapp number : *+919514531375 
> <+91%2095145%2031375>*
>
> On Monday 18 March, 2024 at 11:04:22 pm UTC+5:30 Sang wrote:
>
>> Looks interesting. I'm on WhatsApp @ 9937826218. Please let's catch up 
>> there. 
>>
>
>> On Mon, Mar 18, 2024, 22:56 1001_prabhjot Singh  
>> wrote:
>>
>>> so i am working on a full stack e-comm website and this project is 
>>> really very big for me because it's a live project am using django for 
>>> backend interested one's can send there number for WhatsApp group  
>>>
>>> -- 
>>> 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/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/722ffbfd-fcd4-49fd-b671-b8f536181643n%40googlegroups.com.


Re: E-comm live project.

2024-05-06 Thread M.VIKRAMAN ROMAN_VIKI
Lets do this guys. This is my whatsapp number : *+919514531375*

On Monday 18 March, 2024 at 11:04:22 pm UTC+5:30 Sang wrote:

> Looks interesting. I'm on WhatsApp @ 9937826218. Please let's catch up 
> there. 
>
> On Mon, Mar 18, 2024, 22:56 1001_prabhjot Singh  
> wrote:
>
>> so i am working on a full stack e-comm website and this project is really 
>> very big for me because it's a live project am using django for backend 
>> interested one's can send there number for WhatsApp group  
>>
>> -- 
>> 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/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5cf1ad21-ff34-42d7-a438-88b9cfddaecdn%40googlegroups.com.


Re: E-comm live project

2024-05-04 Thread Samwel Omolo
Hi Dean,

I hope this message finds you well. I'm Samwel Omolo, and I came across
your request to be added to the WhatsApp group for the full stack e-comm
website project using Django for the backend. I'm definitely interested in
joining the group and contributing to the project.

Please add me to the WhatsApp group. You can reach me at +254745721005.

Looking forward to collaborating with you and the rest of the team on this
exciting project.

Best regards,
Samwel


On Sat, May 4, 2024 at 7:34 PM Dean Mahori  wrote:

> add me +263786881635
>
>
> On Tue, Apr 30, 2024 at 3:23 PM Kintu Peter  wrote:
>
>> Watsap +256789746493
>>
>>
>> On Monday, March 18, 2024 at 8:26:50 PM UTC+3 1001_prabhjot Singh wrote:
>>
>>> so i am working on a full stack e-comm website and this project is
>>> really very big for me because it's a live project am using django for
>>> backend interested one's can send there number for WhatsApp group
>>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/133bfa88-4044-4bdc-9602-9c3a5ec276b7n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAOxCe%3DS22%3DXqpQOP9gPAqTR4%2B1xHhMNoCacMMOsMPNa7Kvuhbw%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJpp-5QytDuLfo%3DapRQKkDhBXjZAnt3TNGEhhtiK8HXx_y9ojw%40mail.gmail.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-04 Thread Bethuel Thipe
I am interested 


Sent from Yahoo Mail for iPad


On Friday, May 3, 2024, 3:15 PM, Raunak Ron  wrote:

I am Interested.
On Monday 29 April 2024 at 19:45:53 UTC+5:30 Pankaj Saini wrote:

I am interested in this position.
I have an experience in Django Development with strong Python.
On Tue, Apr 2, 2024, 10:49 PM Abhishek J  wrote:

Dear Developers,

I need to build an android and IOS phone dialer similar to Truecaller.
We are seeking experienced and dedicated candidates who are proficient in 
Django and possess a keen interest in contributing to this impactful initiative.

We look forward to the opportunity to collaborate with talented individuals who 
are passionate about creating innovative solutions in the education sector.

Thank you for considering this opportunity.




-- 


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/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b0b71507-abfb-4c45-8701-92ef9f972affn%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1405926229.10663276.1714800213056%40mail.yahoo.com.


Re: E-comm live project

2024-05-04 Thread Dean Mahori
add me +263786881635


On Tue, Apr 30, 2024 at 3:23 PM Kintu Peter  wrote:

> Watsap +256789746493
>
>
> On Monday, March 18, 2024 at 8:26:50 PM UTC+3 1001_prabhjot Singh wrote:
>
>> so i am working on a full stack e-comm website and this project is really
>> very big for me because it's a live project am using django for backend
>> interested one's can send there number for WhatsApp group
>>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/133bfa88-4044-4bdc-9602-9c3a5ec276b7n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOxCe%3DS22%3DXqpQOP9gPAqTR4%2B1xHhMNoCacMMOsMPNa7Kvuhbw%40mail.gmail.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-05-03 Thread Raunak Ron
I am Interested.

On Monday 29 April 2024 at 19:45:53 UTC+5:30 Pankaj Saini wrote:

> I am interested in this position.
>
> I have an experience in Django Development with strong Python.
>
> On Tue, Apr 2, 2024, 10:49 PM Abhishek J  
> wrote:
>
>> Dear Developers,
>>
>> I need to build an android and IOS phone dialer similar to Truecaller.
>>
>> We are seeking experienced and dedicated candidates who are proficient in 
>> Django and possess a keen interest in contributing to this impactful 
>> initiative.
>>
>> We look forward to the opportunity to collaborate with talented 
>> individuals who are passionate about creating innovative solutions in the 
>> education sector.
>>
>> Thank you for considering this opportunity.
>>
>> -- 
>>
> 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/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b0b71507-abfb-4c45-8701-92ef9f972affn%40googlegroups.com.


Re: Displaying contrast of a queryset

2024-05-03 Thread Abdou KARAMBIZI
ThanksKelvin Macharia

Now it is working properly

On Wed, May 1, 2024 at 9:24 PM Kelvin Macharia 
wrote:

> Actually:
> Query for tasks without relations to Product
>
> tasks = Task.objects.filter(product__isnull=True)
>
> after setting product field optional in as follows:
>
> product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True,
> blank=True)
>
> On Wednesday, May 1, 2024 at 4:59:46 PM UTC+3 Ryan Nowakowski wrote:
>
>> Products.objects.filter(task_set__isnull=True)
>>
>>
>> On April 28, 2024 8:57:57 AM CDT, manohar chundru <
>> chundrumanoh...@gmail.com> wrote:
>>
>>> print(p)
>>>
>>> On Sun, Apr 28, 2024 at 12:25 AM Abdou KARAMBIZI 
>>> wrote:
>>>
 Hello friends,

 products = Task.objects.select_related().all()
 for p in products:
 print(p.product.product_name)

 This gives product that has relation in Task model but *I need product
 which doesn't have relation in Task *

 *Means we have products have relations in Task model and others with no
 relation in Task model and I need a queryset to display those with no
 relations in Task *




 On Sat, Apr 27, 2024 at 4:57 PM Kelvin Macharia 
 wrote:

> Before I share my thoughts here is a question for you. Where do you
> expect your product to be printed out?
>
> Here is what I think you should try out.
>
> First, the source code looks correct to me. Your view only get
> triggered when you access the routes(url) pointing to this view via the
> browser and this doesn't rerun server to print result on your console so
> you won't see anything get printed on the console. I presume you could be
> thinking of running a django app like you do with ordinary python scripts,
> your right but django is a python framework which requires specifics
> configurations to get results.
>
> To test your code and see products get printed out try this:
>
> 1. Use a template. Modify your view as follows:
>
> def product_task(request):
> products = Task.objects.select_related().all()
> context = {'products': products}
>
> return render(request, 'product-task.html', context)
>
> Create the template, configure routes in urls.py to point to this view
> and access through browser. Remember to add dummy data in your db
>
> 2. To print out your products using a for loop, use the django shell
> using '*python manage.py shell*'
>
> e.g.
> (.venv)
> python manage.py shell
> Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC
> v.1937 64 bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> (InteractiveConsole)
> >>> from stores.models import Task, Product
> >>> products = Task.objects.select_related().all()
> >>> for p in products:
> ... print(p.product.product_name)
> ...
> Coffee
> Banana Bread
>
> Note:
> 1. Stores refers to a dummy app I have created to host models.py.
> 2. Coffee and Banana Bread are just products I have added as dummy
> data.
>
> Hopes this help or atleast gives a guide somehow
>
> On Friday, April 26, 2024 at 5:22:26 PM UTC+3 Muhammad Juwaini Abdul
> Rahman wrote:
>
>> You're looking for `product`, but the model that you queried is
>> `Task`.
>>
>> On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI 
>> wrote:
>>
>>> Hello,
>>> *I have 2 models :*
>>>
>>> class Product(models.Model):
>>> product_id = models.AutoField(primary_key=True)
>>> product_name = models.CharField(max_length=200)
>>> price = models.IntegerField()
>>> image =
>>> models.ImageField(upload_to='images/products_images/',null=True,blank=True)
>>>
>>>
>>> def __str__(self):
>>> return self.product_name
>>>
>>>
>>> class Task(models.Model):
>>> task_id = models.AutoField(primary_key=True)
>>> user = models.ForeignKey(User,on_delete = models.CASCADE)
>>> product = models.ForeignKey(Product,on_delete=models.CASCADE)
>>> performed_at = models.DateTimeField(auto_now_add=True)
>>>
>>> def __int__(self):
>>> return self.task_id
>>>
>>> *and I have following view with queryset  :*
>>>
>>> def product_task (request):
>>> product = Task.objects.select_related().all()
>>> for p in product:
>>> print(p.product.product_name)
>>>
>>>
>>> *I want to get products don't appear in task model*
>>>
>>>
>>> --
>>> 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
>>> 

Re: Displaying contrast of a queryset

2024-05-01 Thread Kelvin Macharia
Actually:
Query for tasks without relations to Product

tasks = Task.objects.filter(product__isnull=True)

after setting product field optional in as follows:

product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True, 
blank=True)

On Wednesday, May 1, 2024 at 4:59:46 PM UTC+3 Ryan Nowakowski wrote:

> Products.objects.filter(task_set__isnull=True)
>
>
> On April 28, 2024 8:57:57 AM CDT, manohar chundru <
> chundrumanoh...@gmail.com> wrote:
>
>> print(p)
>>
>> On Sun, Apr 28, 2024 at 12:25 AM Abdou KARAMBIZI  
>> wrote:
>>
>>> Hello friends,
>>>
>>> products = Task.objects.select_related().all()
>>> for p in products:  
>>> print(p.product.product_name)
>>>
>>> This gives product that has relation in Task model but *I need product 
>>> which doesn't have relation in Task *
>>>
>>> *Means we have products have relations in Task model and others with no 
>>> relation in Task model and I need a queryset to display those with no 
>>> relations in Task *
>>>
>>>
>>>
>>>
>>> On Sat, Apr 27, 2024 at 4:57 PM Kelvin Macharia  
>>> wrote:
>>>
 Before I share my thoughts here is a question for you. Where do you 
 expect your product to be printed out? 

 Here is what I think you should try out.

 First, the source code looks correct to me. Your view only get 
 triggered when you access the routes(url) pointing to this view via the 
 browser and this doesn't rerun server to print result on your console so 
 you won't see anything get printed on the console. I presume you could be 
 thinking of running a django app like you do with ordinary python scripts, 
 your right but django is a python framework which requires specifics 
 configurations to get results.

 To test your code and see products get printed out try this:

 1. Use a template. Modify your view as follows:

 def product_task(request):
 products = Task.objects.select_related().all()
 context = {'products': products}

 return render(request, 'product-task.html', context)

 Create the template, configure routes in urls.py to point to this view 
 and access through browser. Remember to add dummy data in your db

 2. To print out your products using a for loop, use the django shell 
 using '*python manage.py shell*'

 e.g.
 (.venv) 
 python manage.py shell
 Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 
 64 bit (AMD64)] on win32
 Type "help", "copyright", "credits" or "license" for more information.
 (InteractiveConsole)
 >>> from stores.models import Task, Product 
 >>> products = Task.objects.select_related().all()
 >>> for p in products:   
 ... print(p.product.product_name)
 ... 
 Coffee
 Banana Bread

 Note: 
 1. Stores refers to a dummy app I have created to host models.py. 
 2. Coffee and Banana Bread are just products I have added as dummy data.

 Hopes this help or atleast gives a guide somehow

 On Friday, April 26, 2024 at 5:22:26 PM UTC+3 Muhammad Juwaini Abdul 
 Rahman wrote:

> You're looking for `product`, but the model that you queried is `Task`.
>
> On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI  
> wrote:
>
>> Hello,
>> *I have 2 models :*
>>
>> class Product(models.Model):
>> product_id = models.AutoField(primary_key=True)
>> product_name = models.CharField(max_length=200)
>> price = models.IntegerField()
>> image = 
>> models.ImageField(upload_to='images/products_images/',null=True,blank=True)
>>   
>>
>> def __str__(self):
>> return self.product_name
>> 
>>
>> class Task(models.Model):
>> task_id = models.AutoField(primary_key=True)
>> user = models.ForeignKey(User,on_delete = models.CASCADE)
>> product = models.ForeignKey(Product,on_delete=models.CASCADE)
>> performed_at = models.DateTimeField(auto_now_add=True)
>>
>> def __int__(self):
>> return self.task_id
>>
>> *and I have following view with queryset  :*
>>
>> def product_task (request):
>> product = Task.objects.select_related().all()
>> for p in product:
>> print(p.product.product_name)
>>
>>
>> *I want to get products don't appear in task model*
>>
>>
>> -- 
>> 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/CABnE44ztqCOVMkfDXHMVDAA0b3DpiyuSDKbQw7SNR9ybUvVLhA%40mail.gmail.com
>>  
>> 

Re: Displaying contrast of a queryset

2024-05-01 Thread Kelvin Macharia
Hi  Abdou KARAMBIZI,

Have you tried to make the product field in the Task model optional?

Like:

product = models.ForeignKey(Product, on_delete=models.CASCADE, null=True, 
blank=True)

On Saturday, April 27, 2024 at 9:55:56 PM UTC+3 Abdou KARAMBIZI wrote:

> Hello friends,
>
> products = Task.objects.select_related().all()
> for p in products:  
> print(p.product.product_name)
>
> This gives product that has relation in Task model but *I need product 
> which doesn't have relation in Task *
>
> *Means we have products have relations in Task model and others with no 
> relation in Task model and I need a queryset to display those with no 
> relations in Task *
>
>
>
>
> On Sat, Apr 27, 2024 at 4:57 PM Kelvin Macharia  
> wrote:
>
>> Before I share my thoughts here is a question for you. Where do you 
>> expect your product to be printed out? 
>>
>> Here is what I think you should try out.
>>
>> First, the source code looks correct to me. Your view only get triggered 
>> when you access the routes(url) pointing to this view via the browser and 
>> this doesn't rerun server to print result on your console so you won't see 
>> anything get printed on the console. I presume you could be thinking of 
>> running a django app like you do with ordinary python scripts, your right 
>> but django is a python framework which requires specifics configurations to 
>> get results.
>>
>> To test your code and see products get printed out try this:
>>
>> 1. Use a template. Modify your view as follows:
>>
>> def product_task(request):
>> products = Task.objects.select_related().all()
>> context = {'products': products}
>>
>> return render(request, 'product-task.html', context)
>>
>> Create the template, configure routes in urls.py to point to this view 
>> and access through browser. Remember to add dummy data in your db
>>
>> 2. To print out your products using a for loop, use the django shell 
>> using '*python manage.py shell*'
>>
>> e.g.
>> (.venv) 
>> python manage.py shell
>> Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 
>> 64 bit (AMD64)] on win32
>> Type "help", "copyright", "credits" or "license" for more information.
>> (InteractiveConsole)
>> >>> from stores.models import Task, Product 
>> >>> products = Task.objects.select_related().all()
>> >>> for p in products:   
>> ... print(p.product.product_name)
>> ... 
>> Coffee
>> Banana Bread
>>
>> Note: 
>> 1. Stores refers to a dummy app I have created to host models.py. 
>> 2. Coffee and Banana Bread are just products I have added as dummy data.
>>
>> Hopes this help or atleast gives a guide somehow
>>
>> On Friday, April 26, 2024 at 5:22:26 PM UTC+3 Muhammad Juwaini Abdul 
>> Rahman wrote:
>>
>>> You're looking for `product`, but the model that you queried is `Task`.
>>>
>>> On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI  
>>> wrote:
>>>
 Hello,
 *I have 2 models :*

 class Product(models.Model):
 product_id = models.AutoField(primary_key=True)
 product_name = models.CharField(max_length=200)
 price = models.IntegerField()
 image = 
 models.ImageField(upload_to='images/products_images/',null=True,blank=True)
   

 def __str__(self):
 return self.product_name
 

 class Task(models.Model):
 task_id = models.AutoField(primary_key=True)
 user = models.ForeignKey(User,on_delete = models.CASCADE)
 product = models.ForeignKey(Product,on_delete=models.CASCADE)
 performed_at = models.DateTimeField(auto_now_add=True)

 def __int__(self):
 return self.task_id

 *and I have following view with queryset  :*

 def product_task (request):
 product = Task.objects.select_related().all()
 for p in product:
 print(p.product.product_name)


 *I want to get products don't appear in task model*


 -- 
 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/CABnE44ztqCOVMkfDXHMVDAA0b3DpiyuSDKbQw7SNR9ybUvVLhA%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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/4d216a44-5a21-4f3d-aae5-c02553561074n%40googlegroups.com
>>  
>> 

Re: E-comm live project

2024-04-30 Thread Kintu Peter
Watsap +256789746493


On Monday, March 18, 2024 at 8:26:50 PM UTC+3 1001_prabhjot Singh wrote:

> so i am working on a full stack e-comm website and this project is really 
> very big for me because it's a live project am using django for backend 
> interested one's can send there number for WhatsApp group  
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/133bfa88-4044-4bdc-9602-9c3a5ec276b7n%40googlegroups.com.


Re: E-comm live project

2024-04-30 Thread FIRDOUS BHAT
HI there,
I've worked on multi-vendor E-Commerce apps,
EdTech apps and on Real Estate apps.
You can consider me.

My WhatsApp no. : +918553332955

On Tue, Apr 30, 2024 at 4:03 PM shubham joshi 
wrote:

> Hello @prabhjotbal...@gmail.com  and team,
>
> Please consider me for e-comm project
> +91 8390246938 is my whpp number
>
>
>
> Thanks,
> shubham
> --
> *From:* django-users@googlegroups.com  on
> behalf of 1001_prabhjot Singh 
> *Sent:* Monday, March 18, 2024 10:45 PM
> *To:* Django users 
> *Subject:* E-comm live project
>
> so i am working on a full stack e-comm website and this project is really
> very big for me because it's a live project am using django for backend
> interested one's can send there number for WhatsApp group
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/PA6PR02MB10563542210EEEF5E72D7EDA7FA1A2%40PA6PR02MB10563.eurprd02.prod.outlook.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFB6YJrNz5FzFKbJ0ntsSHfmj4Ca6%3DuzuFzE0cm8VxXZsE9Vkw%40mail.gmail.com.


Re: E-comm live project

2024-04-30 Thread shubham joshi
Hello @prabhjotbal...@gmail.com and team,

Please consider me for e-comm project
+91 8390246938 is my whpp number



Thanks,
shubham

From: django-users@googlegroups.com  on behalf 
of 1001_prabhjot Singh 
Sent: Monday, March 18, 2024 10:45 PM
To: Django users 
Subject: E-comm live project

so i am working on a full stack e-comm website and this project is really very 
big for me because it's a live project am using django for backend interested 
one's can send there number for WhatsApp group

--
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 web visit 
https://groups.google.com/d/msgid/django-users/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/PA6PR02MB10563542210EEEF5E72D7EDA7FA1A2%40PA6PR02MB10563.eurprd02.prod.outlook.com.


Re: E-comm live project

2024-04-30 Thread shubham joshi

+91 8390246938

From: django-users@googlegroups.com  on behalf 
of 1001_prabhjot Singh 
Sent: Monday, March 18, 2024 10:45 PM
To: Django users 
Subject: E-comm live project

so i am working on a full stack e-comm website and this project is really very 
big for me because it's a live project am using django for backend interested 
one's can send there number for WhatsApp group

--
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 web visit 
https://groups.google.com/d/msgid/django-users/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/PA6PR02MB105632690565185A90842E807FA1A2%40PA6PR02MB10563.eurprd02.prod.outlook.com.


Re: E-comm live project

2024-04-29 Thread kumbhaj shukla
Looking for remote opportunities, anyone is there who have link or looking
for a co founder>.
Mail are always open just write your proposal , and let's build something
and make some impact with similar thought.kumbha...@gmail.com


*Best regards,*
*Kumbhaj shukla*
https://www.linkedin.com/in/kumbhaj/


On Mon, 29 Apr 2024 at 19:54, rahul sharma  wrote:

> 7899403562
>
> On Mon, Apr 29, 2024, 19:45 Pankaj Saini 
> wrote:
>
>> Please share WhatsApp Group Link.
>>
>> On Mon, Mar 18, 2024, 10:56 PM 1001_prabhjot Singh <
>> prabhjotbal...@gmail.com> wrote:
>>
>>> so i am working on a full stack e-comm website and this project is
>>> really very big for me because it's a live project am using django for
>>> backend interested one's can send there number for WhatsApp group
>>>
>>> --
>>> 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 web visit
>>> https://groups.google.com/d/msgid/django-users/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAG2-KSOVN8eNaK9coRa-n0ZBhYMRUqMUuh2h_1fH2W-i15fFRQ%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CACvpWirsi%2BRWLYJ%3Dmon0XK%3D7moT_mAKNnFWcsZMbS%2BrTeTvUfg%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPjc%3DUViXfv3PQO0%3DVKa3f6Ta%3D-gwzmGTTyLVx08uKPYqJLDPw%40mail.gmail.com.


Re: E-comm live project

2024-04-29 Thread rahul sharma
7899403562

On Mon, Apr 29, 2024, 19:45 Pankaj Saini  wrote:

> Please share WhatsApp Group Link.
>
> On Mon, Mar 18, 2024, 10:56 PM 1001_prabhjot Singh <
> prabhjotbal...@gmail.com> wrote:
>
>> so i am working on a full stack e-comm website and this project is really
>> very big for me because it's a live project am using django for backend
>> interested one's can send there number for WhatsApp group
>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAG2-KSOVN8eNaK9coRa-n0ZBhYMRUqMUuh2h_1fH2W-i15fFRQ%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACvpWirsi%2BRWLYJ%3Dmon0XK%3D7moT_mAKNnFWcsZMbS%2BrTeTvUfg%40mail.gmail.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-04-29 Thread Pankaj Saini
I am interested in this position.

I have an experience in Django Development with strong Python.

On Tue, Apr 2, 2024, 10:49 PM Abhishek J 
wrote:

> Dear Developers,
>
> I need to build an android and IOS phone dialer similar to Truecaller.
>
> We are seeking experienced and dedicated candidates who are proficient in
> Django and possess a keen interest in contributing to this impactful
> initiative.
>
> We look forward to the opportunity to collaborate with talented
> individuals who are passionate about creating innovative solutions in the
> education sector.
>
> Thank you for considering this opportunity.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG2-KSPujUv9HANXppeT0063Tb%2BmMTk0K4gJ0LCjSsX_9Krn_Q%40mail.gmail.com.


Re: E-comm live project

2024-04-29 Thread Pankaj Saini
Please share WhatsApp Group Link.

On Mon, Mar 18, 2024, 10:56 PM 1001_prabhjot Singh 
wrote:

> so i am working on a full stack e-comm website and this project is really
> very big for me because it's a live project am using django for backend
> interested one's can send there number for WhatsApp group
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/1101d563-726a-458e-ad9f-4b91bebf3132n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG2-KSOVN8eNaK9coRa-n0ZBhYMRUqMUuh2h_1fH2W-i15fFRQ%40mail.gmail.com.


Re: Displaying contrast of a queryset

2024-04-28 Thread manohar chundru
print(p)

On Sun, Apr 28, 2024 at 12:25 AM Abdou KARAMBIZI 
wrote:

> Hello friends,
>
> products = Task.objects.select_related().all()
> for p in products:
> print(p.product.product_name)
>
> This gives product that has relation in Task model but *I need product
> which doesn't have relation in Task *
>
> *Means we have products have relations in Task model and others with no
> relation in Task model and I need a queryset to display those with no
> relations in Task *
>
>
>
>
> On Sat, Apr 27, 2024 at 4:57 PM Kelvin Macharia 
> wrote:
>
>> Before I share my thoughts here is a question for you. Where do you
>> expect your product to be printed out?
>>
>> Here is what I think you should try out.
>>
>> First, the source code looks correct to me. Your view only get triggered
>> when you access the routes(url) pointing to this view via the browser and
>> this doesn't rerun server to print result on your console so you won't see
>> anything get printed on the console. I presume you could be thinking of
>> running a django app like you do with ordinary python scripts, your right
>> but django is a python framework which requires specifics configurations to
>> get results.
>>
>> To test your code and see products get printed out try this:
>>
>> 1. Use a template. Modify your view as follows:
>>
>> def product_task(request):
>> products = Task.objects.select_related().all()
>> context = {'products': products}
>>
>> return render(request, 'product-task.html', context)
>>
>> Create the template, configure routes in urls.py to point to this view
>> and access through browser. Remember to add dummy data in your db
>>
>> 2. To print out your products using a for loop, use the django shell
>> using '*python manage.py shell*'
>>
>> e.g.
>> (.venv)
>> python manage.py shell
>> Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937
>> 64 bit (AMD64)] on win32
>> Type "help", "copyright", "credits" or "license" for more information.
>> (InteractiveConsole)
>> >>> from stores.models import Task, Product
>> >>> products = Task.objects.select_related().all()
>> >>> for p in products:
>> ... print(p.product.product_name)
>> ...
>> Coffee
>> Banana Bread
>>
>> Note:
>> 1. Stores refers to a dummy app I have created to host models.py.
>> 2. Coffee and Banana Bread are just products I have added as dummy data.
>>
>> Hopes this help or atleast gives a guide somehow
>>
>> On Friday, April 26, 2024 at 5:22:26 PM UTC+3 Muhammad Juwaini Abdul
>> Rahman wrote:
>>
>>> You're looking for `product`, but the model that you queried is `Task`.
>>>
>>> On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI 
>>> wrote:
>>>
 Hello,
 *I have 2 models :*

 class Product(models.Model):
 product_id = models.AutoField(primary_key=True)
 product_name = models.CharField(max_length=200)
 price = models.IntegerField()
 image =
 models.ImageField(upload_to='images/products_images/',null=True,blank=True)


 def __str__(self):
 return self.product_name


 class Task(models.Model):
 task_id = models.AutoField(primary_key=True)
 user = models.ForeignKey(User,on_delete = models.CASCADE)
 product = models.ForeignKey(Product,on_delete=models.CASCADE)
 performed_at = models.DateTimeField(auto_now_add=True)

 def __int__(self):
 return self.task_id

 *and I have following view with queryset  :*

 def product_task (request):
 product = Task.objects.select_related().all()
 for p in product:
 print(p.product.product_name)


 *I want to get products don't appear in task model*


 --
 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/CABnE44ztqCOVMkfDXHMVDAA0b3DpiyuSDKbQw7SNR9ybUvVLhA%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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/4d216a44-5a21-4f3d-aae5-c02553561074n%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 

Re: Displaying contrast of a queryset

2024-04-27 Thread Abdou KARAMBIZI
Hello friends,

products = Task.objects.select_related().all()
for p in products:
print(p.product.product_name)

This gives product that has relation in Task model but *I need product
which doesn't have relation in Task *

*Means we have products have relations in Task model and others with no
relation in Task model and I need a queryset to display those with no
relations in Task *




On Sat, Apr 27, 2024 at 4:57 PM Kelvin Macharia 
wrote:

> Before I share my thoughts here is a question for you. Where do you expect
> your product to be printed out?
>
> Here is what I think you should try out.
>
> First, the source code looks correct to me. Your view only get triggered
> when you access the routes(url) pointing to this view via the browser and
> this doesn't rerun server to print result on your console so you won't see
> anything get printed on the console. I presume you could be thinking of
> running a django app like you do with ordinary python scripts, your right
> but django is a python framework which requires specifics configurations to
> get results.
>
> To test your code and see products get printed out try this:
>
> 1. Use a template. Modify your view as follows:
>
> def product_task(request):
> products = Task.objects.select_related().all()
> context = {'products': products}
>
> return render(request, 'product-task.html', context)
>
> Create the template, configure routes in urls.py to point to this view and
> access through browser. Remember to add dummy data in your db
>
> 2. To print out your products using a for loop, use the django shell using
> '*python manage.py shell*'
>
> e.g.
> (.venv)
> python manage.py shell
> Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 64
> bit (AMD64)] on win32
> Type "help", "copyright", "credits" or "license" for more information.
> (InteractiveConsole)
> >>> from stores.models import Task, Product
> >>> products = Task.objects.select_related().all()
> >>> for p in products:
> ... print(p.product.product_name)
> ...
> Coffee
> Banana Bread
>
> Note:
> 1. Stores refers to a dummy app I have created to host models.py.
> 2. Coffee and Banana Bread are just products I have added as dummy data.
>
> Hopes this help or atleast gives a guide somehow
>
> On Friday, April 26, 2024 at 5:22:26 PM UTC+3 Muhammad Juwaini Abdul
> Rahman wrote:
>
>> You're looking for `product`, but the model that you queried is `Task`.
>>
>> On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI 
>> wrote:
>>
>>> Hello,
>>> *I have 2 models :*
>>>
>>> class Product(models.Model):
>>> product_id = models.AutoField(primary_key=True)
>>> product_name = models.CharField(max_length=200)
>>> price = models.IntegerField()
>>> image =
>>> models.ImageField(upload_to='images/products_images/',null=True,blank=True)
>>>
>>>
>>> def __str__(self):
>>> return self.product_name
>>>
>>>
>>> class Task(models.Model):
>>> task_id = models.AutoField(primary_key=True)
>>> user = models.ForeignKey(User,on_delete = models.CASCADE)
>>> product = models.ForeignKey(Product,on_delete=models.CASCADE)
>>> performed_at = models.DateTimeField(auto_now_add=True)
>>>
>>> def __int__(self):
>>> return self.task_id
>>>
>>> *and I have following view with queryset  :*
>>>
>>> def product_task (request):
>>> product = Task.objects.select_related().all()
>>> for p in product:
>>> print(p.product.product_name)
>>>
>>>
>>> *I want to get products don't appear in task model*
>>>
>>>
>>> --
>>> 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/CABnE44ztqCOVMkfDXHMVDAA0b3DpiyuSDKbQw7SNR9ybUvVLhA%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4d216a44-5a21-4f3d-aae5-c02553561074n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABnE44yO89B2srRGoyzoFgXUbpPSki-mxamXo4GwGYs4zMGugA%40mail.gmail.com.


Re: Displaying contrast of a queryset

2024-04-27 Thread Kelvin Macharia
Before I share my thoughts here is a question for you. Where do you expect 
your product to be printed out? 

Here is what I think you should try out.

First, the source code looks correct to me. Your view only get triggered 
when you access the routes(url) pointing to this view via the browser and 
this doesn't rerun server to print result on your console so you won't see 
anything get printed on the console. I presume you could be thinking of 
running a django app like you do with ordinary python scripts, your right 
but django is a python framework which requires specifics configurations to 
get results.

To test your code and see products get printed out try this:

1. Use a template. Modify your view as follows:

def product_task(request):
products = Task.objects.select_related().all()
context = {'products': products}

return render(request, 'product-task.html', context)

Create the template, configure routes in urls.py to point to this view and 
access through browser. Remember to add dummy data in your db

2. To print out your products using a for loop, use the django shell using 
'*python 
manage.py shell*'

e.g.
(.venv) 
python manage.py shell
Python 3.12.2 (tags/v3.12.2:6abddd9, Feb  6 2024, 21:26:36) [MSC v.1937 64 
bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> from stores.models import Task, Product 
>>> products = Task.objects.select_related().all()
>>> for p in products:   
... print(p.product.product_name)
... 
Coffee
Banana Bread

Note: 
1. Stores refers to a dummy app I have created to host models.py. 
2. Coffee and Banana Bread are just products I have added as dummy data.

Hopes this help or atleast gives a guide somehow

On Friday, April 26, 2024 at 5:22:26 PM UTC+3 Muhammad Juwaini Abdul Rahman 
wrote:

> You're looking for `product`, but the model that you queried is `Task`.
>
> On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI  
> wrote:
>
>> Hello,
>> *I have 2 models :*
>>
>> class Product(models.Model):
>> product_id = models.AutoField(primary_key=True)
>> product_name = models.CharField(max_length=200)
>> price = models.IntegerField()
>> image = 
>> models.ImageField(upload_to='images/products_images/',null=True,blank=True)
>>   
>>
>> def __str__(self):
>> return self.product_name
>> 
>>
>> class Task(models.Model):
>> task_id = models.AutoField(primary_key=True)
>> user = models.ForeignKey(User,on_delete = models.CASCADE)
>> product = models.ForeignKey(Product,on_delete=models.CASCADE)
>> performed_at = models.DateTimeField(auto_now_add=True)
>>
>> def __int__(self):
>> return self.task_id
>>
>> *and I have following view with queryset  :*
>>
>> def product_task (request):
>> product = Task.objects.select_related().all()
>> for p in product:
>> print(p.product.product_name)
>>
>>
>> *I want to get products don't appear in task model*
>>
>>
>> -- 
>> 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/CABnE44ztqCOVMkfDXHMVDAA0b3DpiyuSDKbQw7SNR9ybUvVLhA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4d216a44-5a21-4f3d-aae5-c02553561074n%40googlegroups.com.


Re: Displaying contrast of a queryset

2024-04-26 Thread Muhammad Juwaini Abdul Rahman
You're looking for `product`, but the model that you queried is `Task`.

On Fri, 26 Apr 2024 at 17:40, Abdou KARAMBIZI 
wrote:

> Hello,
> *I have 2 models :*
>
> class Product(models.Model):
> product_id = models.AutoField(primary_key=True)
> product_name = models.CharField(max_length=200)
> price = models.IntegerField()
> image =
> models.ImageField(upload_to='images/products_images/',null=True,blank=True)
>
>
> def __str__(self):
> return self.product_name
>
>
> class Task(models.Model):
> task_id = models.AutoField(primary_key=True)
> user = models.ForeignKey(User,on_delete = models.CASCADE)
> product = models.ForeignKey(Product,on_delete=models.CASCADE)
> performed_at = models.DateTimeField(auto_now_add=True)
>
> def __int__(self):
> return self.task_id
>
> *and I have following view with queryset  :*
>
> def product_task (request):
> product = Task.objects.select_related().all()
> for p in product:
> print(p.product.product_name)
>
>
> *I want to get products don't appear in task model*
>
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CABnE44ztqCOVMkfDXHMVDAA0b3DpiyuSDKbQw7SNR9ybUvVLhA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFKhtoQjP901DjuG0_2ULS4GeO8dBa-1RjC9_Ccj8hUWDq2weQ%40mail.gmail.com.


Re: Problem to style form fields with error

2024-04-25 Thread Guido Luis Dalla Vecchia
Here I attach the relevant parts of the files "views.py", "index.html" and 
"forms.py" so you can check them out.

Thanks!

El jueves, 25 de abril de 2024 a las 11:36:03 UTC-3, Ryan Nowakowski 
escribió:

> Can you share some code snippets?
>
>
> On April 24, 2024 6:28:18 PM CDT, Guido Luis Dalla Vecchia <
> gld...@gmail.com> wrote:
>
>> Hello! I'm building my first website with Django and I've been stuck for 
>> the past two months with a problem I can't figure out.
>> My website has a form with three fields that allow the user to input his 
>> first name, last name and email.
>> In my "forms.py" file, I've declared "clean" methods for each field, that 
>> add the "error" class to them if they don't pass the validation.
>> In my CSS file, I declared a rule that applies the "background-color: 
>> lightcoral" to all elements with the class ".error".
>> The problem is that, when I fill in the "last name" field with invalid 
>> data, the "first name" field gets marked as invalid too.
>> I've tried everything I could think of, and nothing has worked. It's 
>> driving me crazy!! Has anyone ever seen something like this?
>>
>> Pleas help!!!
>>
>>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/0e076efc-5da3-4020-8b80-d9a9b7b4b861n%40googlegroups.com.
from django.shortcuts import render
from .forms import AppointmentForm

def home(request):

if request.method == "POST":
form = AppointmentForm(request.POST)

if form.is_valid():
form.save()
return render(request, "home/index2.html", {"form": form})
   

else:

form = AppointmentForm()

return render(request, "home/index2.html", {"form": form})

{% csrf_token %}

{{ form.non_field_errors }}
   



{{ form.name }}



{{ form.last_name }}



{{ form.email }}


from django import forms
from .models import Appointment

class AppointmentForm(forms.ModelForm):

class Meta:
model = Appointment
fields = ['name', 'last_name', 'email']
widgets = {
"name": forms.TextInput(attrs={"class": "form-control"}),
"last_name": forms.TextInput(attrs={"class": "form-control"}),
"email": forms.EmailInput(attrs={"class": "form-control"}),
}

def clean_name(self):
name = self.cleaned_data['name']

if not name.isalpha():
self.fields['name'].widget.attrs['class'] += ' error'
raise forms.ValidationError("Please, input only letters", code="carac_esp")


return name

def clean_last_name(self):
last_name = self.cleaned_data["last_name"]

if not last_name.isalpha():
self.fields['last_name'].widget.attrs['class'] += ' error'
raise forms.ValidationError("Please, input only letters", code="carac_esp")

return last_name

def clean_email(self):
email = self.cleaned_data["email"]
allowed_domains = ['gmail.com', 'hotmail.com', 'yahoo.com']

if not any(email.endswith(dominio) for dominio in allowed_domains):
self.fields['email'].widget.attrs['class'] += ' error'
raise forms.ValidationError("Please, input a valid email address", code="invalid_email")

return email


Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-24 Thread villeantropist
I am in sir
+2348158951292

On Friday, March 15, 2024 at 8:49:19 PM UTC+1 Jorge Bueno wrote:

> Good evening everyone, I need help in my personal project to create an 
> agricultural and livestock marketplace and an agricultural and livestock 
> social network as a whole.Longer explanation:Farmers and ranchers leave 
> their products in our logistics centers and we publish on the web the 
> products they have brought us, then the customer orders the products with a 
> minimum purchase value to make it profitable and I take care of the 
> storage, packaging and shipping to customers. That is the part of getting 
> the products to the customer. In addition, we also have the part where the 
> producers can talk about the whole process behind it, the tasks they 
> perform daily, anecdotes and they can do it in video format apart from the 
> message if they wish. Currently, the project is in its initial phase. I 
> have created a detailed backlog and configured the repositories for the 
> backend and frontend. Here are the links to the repositories:
>
> Backend: https://github.com/Programacionpuntera/Marketplace-again
>
> Frontend: https://github.com/Programacionpuntera/Marketplace-Frontend
>
> In addition, I have created a WhatsApp group for the project where we are 
> discussing ideas and coordinating efforts. We currently have backend 
> developers and are looking for frontend developers as well, but the more 
> developers we have, the better.
>
> However, I am facing a challenge: I have no programming experience. I am 
> looking for someone who is willing to collaborate on this project, using 
> Python and Django for the backend, and Next.js and React for the frontend.
>
> Please feel free to take a look at the repositories and backlog. Any 
> comments, suggestions or contributions will be greatly appreciated.
>
> Thanks for your time and I look forward to working with you on this 
> exciting project!
> PS: I've had people say they will collaborate on the project but then they 
> don't collaborate on the project, please don't be that kind of person.
>
> Best regards,
>
> Jorge
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/e817173f-3cf9-4553-a1ae-c0ad9ec61df9n%40googlegroups.com.


Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-23 Thread 1001_prabhjot Singh
Intrested 9877199920

On Sat, Mar 16, 2024, 1:19 AM Jorge Bueno 
wrote:

> Good evening everyone, I need help in my personal project to create an
> agricultural and livestock marketplace and an agricultural and livestock
> social network as a whole.Longer explanation:Farmers and ranchers leave
> their products in our logistics centers and we publish on the web the
> products they have brought us, then the customer orders the products with a
> minimum purchase value to make it profitable and I take care of the
> storage, packaging and shipping to customers. That is the part of getting
> the products to the customer. In addition, we also have the part where the
> producers can talk about the whole process behind it, the tasks they
> perform daily, anecdotes and they can do it in video format apart from the
> message if they wish. Currently, the project is in its initial phase. I
> have created a detailed backlog and configured the repositories for the
> backend and frontend. Here are the links to the repositories:
>
> Backend: https://github.com/Programacionpuntera/Marketplace-again
>
> Frontend: https://github.com/Programacionpuntera/Marketplace-Frontend
>
> In addition, I have created a WhatsApp group for the project where we are
> discussing ideas and coordinating efforts. We currently have backend
> developers and are looking for frontend developers as well, but the more
> developers we have, the better.
>
> However, I am facing a challenge: I have no programming experience. I am
> looking for someone who is willing to collaborate on this project, using
> Python and Django for the backend, and Next.js and React for the frontend.
>
> Please feel free to take a look at the repositories and backlog. Any
> comments, suggestions or contributions will be greatly appreciated.
>
> Thanks for your time and I look forward to working with you on this
> exciting project!
> PS: I've had people say they will collaborate on the project but then they
> don't collaborate on the project, please don't be that kind of person.
>
> Best regards,
>
> Jorge
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/d160dccf-6582-4b1e-b9fe-186e10342b13n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMCYDrgFS1OVUc4kxaHW9C%3DFenbC143f1kFdP6Fy%3DQ3fEOGJVg%40mail.gmail.com.


Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-23 Thread Sujata Aghor
BTW your github pages are not accessible (giving #404 error) - Both links
frontend and backend.



On Tue, Apr 23, 2024 at 3:24 PM Sujata Aghor 
wrote:

> Hello
> I am interested in Python Django work.
> Whatsapp : 9881301878
>
>
>> On Saturday, March 16, 2024 at 1:19:19 AM UTC+5:30 Jorge Bueno wrote:
>>
>>> Good evening everyone, I need help in my personal project to create an
>>> agricultural and livestock marketplace and an agricultural and livestock
>>> social network as a whole.Longer explanation:Farmers and ranchers leave
>>> their products in our logistics centers and we publish on the web the
>>> products they have brought us, then the customer orders the products with a
>>> minimum purchase value to make it profitable and I take care of the
>>> storage, packaging and shipping to customers. That is the part of getting
>>> the products to the customer. In addition, we also have the part where the
>>> producers can talk about the whole process behind it, the tasks they
>>> perform daily, anecdotes and they can do it in video format apart from the
>>> message if they wish. Currently, the project is in its initial phase. I
>>> have created a detailed backlog and configured the repositories for the
>>> backend and frontend. Here are the links to the repositories:
>>>
>>> Backend: https://github.com/Programacionpuntera/Marketplace-again
>>>
>>> Frontend: https://github.com/Programacionpuntera/Marketplace-Frontend
>>>
>>> In addition, I have created a WhatsApp group for the project where we
>>> are discussing ideas and coordinating efforts. We currently have backend
>>> developers and are looking for frontend developers as well, but the more
>>> developers we have, the better.
>>>
>>> However, I am facing a challenge: I have no programming experience. I am
>>> looking for someone who is willing to collaborate on this project, using
>>> Python and Django for the backend, and Next.js and React for the frontend.
>>>
>>> Please feel free to take a look at the repositories and backlog. Any
>>> comments, suggestions or contributions will be greatly appreciated.
>>>
>>> Thanks for your time and I look forward to working with you on this
>>> exciting project!
>>> PS: I've had people say they will collaborate on the project but then
>>> they don't collaborate on the project, please don't be that kind of person.
>>>
>>> Best regards,
>>>
>>> Jorge
>>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/36da31c9-307c-4aeb-b17e-3a37c3b18ab8n%40googlegroups.com
>> 
>> .
>>
>
>
> --
>
> Thanks & Regards!
> Sujata S. Aghor
>
>

-- 

Thanks & Regards!
Sujata S. Aghor

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAJCP8KAMSSs9gjuc3j7oYwrm4YZ3BjpLNUW8OuRxaVhqv4hFHA%40mail.gmail.com.


Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-23 Thread Sujata Aghor
Hello
I am interested in Python Django work.
Whatsapp : 9881301878


> On Saturday, March 16, 2024 at 1:19:19 AM UTC+5:30 Jorge Bueno wrote:
>
>> Good evening everyone, I need help in my personal project to create an
>> agricultural and livestock marketplace and an agricultural and livestock
>> social network as a whole.Longer explanation:Farmers and ranchers leave
>> their products in our logistics centers and we publish on the web the
>> products they have brought us, then the customer orders the products with a
>> minimum purchase value to make it profitable and I take care of the
>> storage, packaging and shipping to customers. That is the part of getting
>> the products to the customer. In addition, we also have the part where the
>> producers can talk about the whole process behind it, the tasks they
>> perform daily, anecdotes and they can do it in video format apart from the
>> message if they wish. Currently, the project is in its initial phase. I
>> have created a detailed backlog and configured the repositories for the
>> backend and frontend. Here are the links to the repositories:
>>
>> Backend: https://github.com/Programacionpuntera/Marketplace-again
>>
>> Frontend: https://github.com/Programacionpuntera/Marketplace-Frontend
>>
>> In addition, I have created a WhatsApp group for the project where we are
>> discussing ideas and coordinating efforts. We currently have backend
>> developers and are looking for frontend developers as well, but the more
>> developers we have, the better.
>>
>> However, I am facing a challenge: I have no programming experience. I am
>> looking for someone who is willing to collaborate on this project, using
>> Python and Django for the backend, and Next.js and React for the frontend.
>>
>> Please feel free to take a look at the repositories and backlog. Any
>> comments, suggestions or contributions will be greatly appreciated.
>>
>> Thanks for your time and I look forward to working with you on this
>> exciting project!
>> PS: I've had people say they will collaborate on the project but then
>> they don't collaborate on the project, please don't be that kind of person.
>>
>> Best regards,
>>
>> Jorge
>>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/36da31c9-307c-4aeb-b17e-3a37c3b18ab8n%40googlegroups.com
> 
> .
>


-- 

Thanks & Regards!
Sujata S. Aghor

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAJCP8KA5wrFF2%3DRuavsOBi%2B%2BhJyN8M2YJkrLA-jBs1OqnMEEmQ%40mail.gmail.com.


Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-21 Thread Ankit Patne
I can work with Python and Django part. Whatsapp : +91 9373579749

On Saturday, March 16, 2024 at 1:19:19 AM UTC+5:30 Jorge Bueno wrote:

> Good evening everyone, I need help in my personal project to create an 
> agricultural and livestock marketplace and an agricultural and livestock 
> social network as a whole.Longer explanation:Farmers and ranchers leave 
> their products in our logistics centers and we publish on the web the 
> products they have brought us, then the customer orders the products with a 
> minimum purchase value to make it profitable and I take care of the 
> storage, packaging and shipping to customers. That is the part of getting 
> the products to the customer. In addition, we also have the part where the 
> producers can talk about the whole process behind it, the tasks they 
> perform daily, anecdotes and they can do it in video format apart from the 
> message if they wish. Currently, the project is in its initial phase. I 
> have created a detailed backlog and configured the repositories for the 
> backend and frontend. Here are the links to the repositories:
>
> Backend: https://github.com/Programacionpuntera/Marketplace-again
>
> Frontend: https://github.com/Programacionpuntera/Marketplace-Frontend
>
> In addition, I have created a WhatsApp group for the project where we are 
> discussing ideas and coordinating efforts. We currently have backend 
> developers and are looking for frontend developers as well, but the more 
> developers we have, the better.
>
> However, I am facing a challenge: I have no programming experience. I am 
> looking for someone who is willing to collaborate on this project, using 
> Python and Django for the backend, and Next.js and React for the frontend.
>
> Please feel free to take a look at the repositories and backlog. Any 
> comments, suggestions or contributions will be greatly appreciated.
>
> Thanks for your time and I look forward to working with you on this 
> exciting project!
> PS: I've had people say they will collaborate on the project but then they 
> don't collaborate on the project, please don't be that kind of person.
>
> Best regards,
>
> Jorge
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/36da31c9-307c-4aeb-b17e-3a37c3b18ab8n%40googlegroups.com.


Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-21 Thread Collins Emmanuel
Count me in  +254714411940

On Sun 21. Apr 2024 at 19:13, Michael Onuekwusi 
wrote:

> Interested please, 8072094026 whatsapp
>
> On Fri, Mar 15, 2024, 8:49 PM Jorge Bueno 
> wrote:
>
>> Good evening everyone, I need help in my personal project to create an
>> agricultural and livestock marketplace and an agricultural and livestock
>> social network as a whole.Longer explanation:Farmers and ranchers leave
>> their products in our logistics centers and we publish on the web the
>> products they have brought us, then the customer orders the products with a
>> minimum purchase value to make it profitable and I take care of the
>> storage, packaging and shipping to customers. That is the part of getting
>> the products to the customer. In addition, we also have the part where the
>> producers can talk about the whole process behind it, the tasks they
>> perform daily, anecdotes and they can do it in video format apart from the
>> message if they wish. Currently, the project is in its initial phase. I
>> have created a detailed backlog and configured the repositories for the
>> backend and frontend. Here are the links to the repositories:
>>
>> Backend: https://github.com/Programacionpuntera/Marketplace-again
>>
>> Frontend: https://github.com/Programacionpuntera/Marketplace-Frontend
>>
>> In addition, I have created a WhatsApp group for the project where we are
>> discussing ideas and coordinating efforts. We currently have backend
>> developers and are looking for frontend developers as well, but the more
>> developers we have, the better.
>>
>> However, I am facing a challenge: I have no programming experience. I am
>> looking for someone who is willing to collaborate on this project, using
>> Python and Django for the backend, and Next.js and React for the frontend.
>>
>> Please feel free to take a look at the repositories and backlog. Any
>> comments, suggestions or contributions will be greatly appreciated.
>>
>> Thanks for your time and I look forward to working with you on this
>> exciting project!
>> PS: I've had people say they will collaborate on the project but then
>> they don't collaborate on the project, please don't be that kind of person.
>>
>> Best regards,
>>
>> Jorge
>
>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/d160dccf-6582-4b1e-b9fe-186e10342b13n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPbPfKVfU3sZwH9D7L4K6oGDcqrRRcybzXnRPV0%3DtQ-jXe1odw%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABHPbCE26esZGrAaVt%2BatUcTWEKV_8TDBtcMdi6viqphjP_8vg%40mail.gmail.com.


Re: Agricultural and livestock marketplace plus social network as a whole

2024-04-21 Thread Michael Onuekwusi
Interested please, 8072094026 whatsapp

On Fri, Mar 15, 2024, 8:49 PM Jorge Bueno 
wrote:

> Good evening everyone, I need help in my personal project to create an
> agricultural and livestock marketplace and an agricultural and livestock
> social network as a whole.Longer explanation:Farmers and ranchers leave
> their products in our logistics centers and we publish on the web the
> products they have brought us, then the customer orders the products with a
> minimum purchase value to make it profitable and I take care of the
> storage, packaging and shipping to customers. That is the part of getting
> the products to the customer. In addition, we also have the part where the
> producers can talk about the whole process behind it, the tasks they
> perform daily, anecdotes and they can do it in video format apart from the
> message if they wish. Currently, the project is in its initial phase. I
> have created a detailed backlog and configured the repositories for the
> backend and frontend. Here are the links to the repositories:
>
> Backend: https://github.com/Programacionpuntera/Marketplace-again
>
> Frontend: https://github.com/Programacionpuntera/Marketplace-Frontend
>
> In addition, I have created a WhatsApp group for the project where we are
> discussing ideas and coordinating efforts. We currently have backend
> developers and are looking for frontend developers as well, but the more
> developers we have, the better.
>
> However, I am facing a challenge: I have no programming experience. I am
> looking for someone who is willing to collaborate on this project, using
> Python and Django for the backend, and Next.js and React for the frontend.
>
> Please feel free to take a look at the repositories and backlog. Any
> comments, suggestions or contributions will be greatly appreciated.
>
> Thanks for your time and I look forward to working with you on this
> exciting project!
> PS: I've had people say they will collaborate on the project but then they
> don't collaborate on the project, please don't be that kind of person.
>
> Best regards,
>
> Jorge
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/d160dccf-6582-4b1e-b9fe-186e10342b13n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPbPfKVfU3sZwH9D7L4K6oGDcqrRRcybzXnRPV0%3DtQ-jXe1odw%40mail.gmail.com.


Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
from django.urls import path
from . import views

urlpatterns = [
path('login/', views.login_user, name='login'),
path('logout/', views.logout_request, name='logout'),
path('register/', views.registration, name='registration'),
]

On Wed, Apr 17, 2024 at 5:16 PM Ana Jiménez  wrote:

> the file that says i have wrong is this one:
> djangoapp/urls.py
> # Uncomment the required imports before adding the code
>
> from django.shortcuts import render
> from django.http import HttpResponseRedirect, HttpResponse
> from django.contrib.auth.models import User
> from django.shortcuts import get_object_or_404, render, redirect
> from django.contrib.auth import logout
> from django.contrib import messages
> from datetime import datetime
>
> from django.http import JsonResponse
> from django.contrib.auth import login, authenticate
> import logging
> import json
> from django.views.decorators.csrf import csrf_exempt
> from .populate import initiate
>
>
> # Get an instance of a logger
> logger = logging.getLogger(__name__)
>
>
> # Create your views here.
>
> # Create a `login_request` view to handle sign in request
> @csrf_exempt
> def login_user(request):
> # Get username and password from request.POST dictionary
> data = json.loads(request.body)
> username = data['userName']
> password = data['password']
> # Try to check if provide credential can be authenticated
> user = authenticate(username=username, password=password)
> data = {"userName": username}
> if user is not None:
> # If user is valid, call login method to login current user
> login(request, user)
> data = {"userName": username, "status": "Authenticated"}
> return JsonResponse(data)
>
> # Create a `logout_request` view to handle sign out request
> def logout_request(request):
> logout(request)
> data = {"userName": "", "status": "Logged out"}
> return JsonResponse(data)
> # ...
>
> # Create a `registration` view to handle sign up request
> @csrf_exempt
> def registration(request):
> context = {}
>
> data = json.loads(request.body)
> username = data['userName']
> password = data['password']
> first_name = data['firstName']
> last_name = data['lastName']
> email = data['email']
> username_exist = False
> email_exist = False
> try:
> # check if user already exists
> User.objects.get(username=username)
> username_exist = True
> except:
> #If not, simply log this is a new user
> logger.debug("{} is a new user".format(username))
>
> #If it is a new user, create a new user
> if not username_exist:
> #Create user in auth_user table
> user = User.objects.create_user(username=username, 
> first_name=first_name,
> last_name=last_name, email=email, password=password)
> #Login user and redirect to list page
> login(request, user)
> data = {"userName":username,"status": "Authenticated"}
> return JsonResponse(data)
> else :
> data = {"userName":username, "error":"Already exists"}
> return JsonResponse(data)
> # ...
>
> # # Update the `get_dealerships` view to render the index page with
> # a list of dealerships
> # def get_dealerships(request):
> # ...
>
> # Create a `get_dealer_reviews` view to render the reviews of a dealer
> # def get_dealer_reviews(request,dealer_id):
> # ...
>
> # Create a `get_dealer_details` view to render the dealer details
> # def get_dealer_details(request, dealer_id):
> # ...
>
> # Create a `add_review` view to submit a review
> # def add_review(request):
> # ...
>
> After that I added this urlpatterns
> from django.urls import path from . import views urlpatterns = [ path(
> 'login/', views.login_user, name='login'), path('logout/',
> views.logout_request, name='logout'), path('register/',
> views.registration, name='registration'),
> and i still got the following error :(
> Traceback (most recent call last):
>   File "manage.py", line 22, in 
> main()
>   File "manage.py", line 18, in main
> execute_from_command_line(sys.argv)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/__init__.py",
> line 442, in execute_from_command_line
> utility.execute()
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/__init__.py",
> line 436, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/base.py",
> line 412, in run_from_argv
> self.execute(*args, **cmd_options)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/base.py",
> line 453, in execute
> self.check()
>   File
> 

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread Ana Jiménez
the file that says i have wrong is this one: 
djangoapp/urls.py
# Uncomment the required imports before adding the code

from django.shortcuts import render
from django.http import HttpResponseRedirect, HttpResponse
from django.contrib.auth.models import User
from django.shortcuts import get_object_or_404, render, redirect
from django.contrib.auth import logout
from django.contrib import messages
from datetime import datetime

from django.http import JsonResponse
from django.contrib.auth import login, authenticate
import logging
import json
from django.views.decorators.csrf import csrf_exempt
from .populate import initiate


# Get an instance of a logger
logger = logging.getLogger(__name__)


# Create your views here.

# Create a `login_request` view to handle sign in request
@csrf_exempt
def login_user(request):
# Get username and password from request.POST dictionary
data = json.loads(request.body)
username = data['userName']
password = data['password']
# Try to check if provide credential can be authenticated
user = authenticate(username=username, password=password)
data = {"userName": username}
if user is not None:
# If user is valid, call login method to login current user
login(request, user)
data = {"userName": username, "status": "Authenticated"}
return JsonResponse(data)

# Create a `logout_request` view to handle sign out request
def logout_request(request):
logout(request)
data = {"userName": "", "status": "Logged out"}
return JsonResponse(data)
# ...

# Create a `registration` view to handle sign up request
@csrf_exempt
def registration(request):
context = {}

data = json.loads(request.body)
username = data['userName']
password = data['password']
first_name = data['firstName']
last_name = data['lastName']
email = data['email']
username_exist = False
email_exist = False
try:
# check if user already exists
User.objects.get(username=username)
username_exist = True
except:
#If not, simply log this is a new user
logger.debug("{} is a new user".format(username))

#If it is a new user, create a new user
if not username_exist:
#Create user in auth_user table
user = User.objects.create_user(username=username, 
first_name=first_name, 
last_name=last_name, email=email, password=password)
#Login user and redirect to list page
login(request, user)
data = {"userName":username,"status": "Authenticated"}
return JsonResponse(data)
else : 
data = {"userName":username, "error":"Already exists"}
return JsonResponse(data)
# ...

# # Update the `get_dealerships` view to render the index page with
# a list of dealerships
# def get_dealerships(request):
# ...

# Create a `get_dealer_reviews` view to render the reviews of a dealer
# def get_dealer_reviews(request,dealer_id):
# ...

# Create a `get_dealer_details` view to render the dealer details
# def get_dealer_details(request, dealer_id):
# ...

# Create a `add_review` view to submit a review
# def add_review(request):
# ...

After that I added this urlpatterns
from django.urls import path from . import views urlpatterns = [ path(
'login/', views.login_user, name='login'), path('logout/', 
views.logout_request, name='logout'), path('register/', views.registration, 
name='registration'), 
and i still got the following error :( 
Traceback (most recent call last):
  File "manage.py", line 22, in 
main()
  File "manage.py", line 18, in main
execute_from_command_line(sys.argv)
  File 
"/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/__init__.py",
 
line 442, in execute_from_command_line
utility.execute()
  File 
"/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/__init__.py",
 
line 436, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/base.py",
 
line 412, in run_from_argv
self.execute(*args, **cmd_options)
  File 
"/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/base.py",
 
line 453, in execute
self.check()
  File 
"/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/base.py",
 
line 485, in check
all_issues = checks.run_checks(
  File 
"/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/checks/registry.py",
 
line 88, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
  File 
"/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/checks/urls.py",
 
line 14, in 

Re: problem when i perform " python3 manage.py makemigrations"

2024-04-17 Thread ASAMOAH EMMANUEL
check your urls.py file to make sure you haven't imported circularly. or
better still, paste your urls.py here

On Wed, Apr 17, 2024 at 4:47 PM Ana Jiménez  wrote:

> hi guys, so i'm doing a project and there's a part that says i need to do
> the migrations but when i do that i get this error
> "Traceback (most recent call last):
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/urls/resolvers.py",
> line 717, in url_patterns
> iter(patterns)
> TypeError: 'module' object is not iterable
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File "manage.py", line 22, in 
> main()
>   File "manage.py", line 18, in main
> execute_from_command_line(sys.argv)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/__init__.py",
> line 442, in execute_from_command_line
> utility.execute()
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/__init__.py",
> line 436, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/base.py",
> line 412, in run_from_argv
> self.execute(*args, **cmd_options)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/base.py",
> line 453, in execute
> self.check()
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/management/base.py",
> line 485, in check
> all_issues = checks.run_checks(
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/checks/registry.py",
> line 88, in run_checks
> new_errors = check(app_configs=app_configs, databases=databases)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/checks/urls.py",
> line 14, in check_url_config
> return check_resolver(resolver)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/checks/urls.py",
> line 24, in check_resolver
> return check_method()
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/urls/resolvers.py",
> line 495, in check
> messages.extend(check_resolver(pattern))
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/core/checks/urls.py",
> line 24, in check_resolver
> return check_method()
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/urls/resolvers.py",
> line 494, in check
> for pattern in self.url_patterns:
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/utils/functional.py",
> line 57, in __get__
> res = instance.__dict__[self.name] = self.func(instance)
>   File
> "/home/project/xrwvm-fullstack_developer_capstone/server/djangoenv/lib/python3.8/site-packages/django/urls/resolvers.py",
> line 725, in url_patterns
> raise ImproperlyConfigured(msg.format(name=self.urlconf_name)) from e
> django.core.exceptions.ImproperlyConfigured: The included URLconf ' 'djangoapp.urls' from
> '/home/project/xrwvm-fullstack_developer_capstone/server/djangoapp/urls.py'>'
> does not appear to have any patterns in it. If you see the 'urlpatterns'
> variable with valid patterns in the file then the issue is probably caused
> by a circular import. "
>
> and i don't know how to solve it :( i'm a beginner in django i need helppp
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/f0b7aa30-2094-47ba-a93f-ed49b506e2ccn%40googlegroups.com
> 
> .
>


-- 
I don't stop when I'm tired, I only stop when the job is done.

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CABFHQYzEBjdmvmrePg2YYuT%2BfJdYtXrxm6qhrpebH8CP4_z3_Q%40mail.gmail.com.


Re: ModuleNotFoundError: No module named 'mysite'

2024-04-14 Thread Ahmad Irfan
have you checked your virtual env?

On Sun, 14 Apr 2024 at 5:38 AM, hikinthru  wrote:

> I am a new Django user and am setting up my first site on a local MAMP
> server. Django is running, but when I run `python manage.py makemigrations`
> I get the following error:
>
> ---
>
> Traceback (most recent call last):
>
>   File "/Applications/MAMP/htdocs/flashcards/manage.py", line 22, in
> 
>
> main()
>
>   File "/Applications/MAMP/htdocs/flashcards/manage.py", line 18, in main
>
> execute_from_command_line(sys.argv)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/core/management/__init__.py",
> line 446, in execute_from_command_line
>
> utility.execute()
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/core/management/__init__.py",
> line 440, in execute
>
> self.fetch_command(subcommand).run_from_argv(self.argv)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/core/management/base.py",
> line 427, in run_from_argv
>
> connections.close_all()
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/db/utils.py",
> line 212, in close_all
>
> for alias in self:
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/utils/connection.py",
> line 73, in __iter__
>
> return iter(self.settings)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/utils/functional.py",
> line 49, in __get__
>
> res = instance.__dict__[self.name] = self.func(instance)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/utils/connection.py",
> line 45, in settings
>
> self._settings = self.configure_settings(self._settings)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/db/utils.py",
> line 148, in configure_settings
>
> databases = super().configure_settings(databases)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/utils/connection.py",
> line 50, in configure_settings
>
> settings = getattr(django_settings, self.settings_name)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/conf/__init__.py",
> line 87, in __getattr__
>
> self._setup(name)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/conf/__init__.py",
> line 74, in _setup
>
> self._wrapped = Settings(settings_module)
>
>   File
> "/Applications/MAMP/htdocs/flashcards/flenv/lib/python3.9/site-packages/django/conf/__init__.py",
> line 183, in __init__
>
> mod = importlib.import_module(self.SETTINGS_MODULE)
>
>   File 
> "/opt/homebrew/Cellar/python@3.9/3.9.18_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/importlib/__init__.py",
> line 127, in import_module
>
> return _bootstrap._gcd_import(name[level:], package, level)
>
>   File "", line 1030, in _gcd_import
>
>   File "", line 1007, in _find_and_load
>
>   File "", line 972, in
> _find_and_load_unlocked
>
>   File "", line 228, in
> _call_with_frames_removed
>
>   File "", line 1030, in _gcd_import
>
>   File "", line 1007, in _find_and_load
>
>   File "", line 984, in
> _find_and_load_unlocked
>
> ModuleNotFoundError: No module named 'mysite'
>
> --
>
> This is my wsgi.py file:
> """
> WSGI config for flashcards project.
>
> It exposes the WSGI callable as a module-level variable named
> ``application``.
>
> For more information on this file, see
> https://docs.djangoproject.com/en/4.0/howto/deployment/wsgi/
> """
>
> import os
> import sys
>
> from django.core.wsgi import get_wsgi_application
>
> path = '/Applications/MAMP/htdocs/flashcards/flashcards'
>
> if path not in sys.path:
> sys.path.insert(0,path)
>
> BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
> sys.path.append(BASE_DIR)
> os.environ['DJANGO_SETTINGS_MODULE'] = 'flashcards.settings'
> os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'flashcards.settings')
>
> application = get_wsgi_application()
>
>
> I have searched my entire hard drive for a related config file referencing
> "mysite" and cannot find one. I'm unable to find anything online that
> points to where the error is coming from. The words, "mysite" do not exist
> on my hard drive except in some very old and archived php files in a
> completely different directory area.
>
> Does anyone have any ideas?
>
> Thanks so much,
>
> Sherrie
>
> --
> 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 web visit
> 

Re: How to effectively use PUT and DELETE HTTP methods in Django Class-Based Views?

2024-04-12 Thread Luis Zárate
Also a recomendation, see that `dispatch` method call the view as

handler(request, *args, **kwargs)

So maybe is a good idea do something like:

class MyView(view):
 def put(self, request, *args, **kwargs):
...


Regards,

El vie, 12 abr 2024 a las 16:13, Luis Zárate ()
escribió:

> See
> https://docs.djangoproject.com/en/5.0/topics/class-based-views/#supporting-other-http-methods
> Also on view you have a variable called, where you can limit the available
> methods.
>
> http_method_names
>
>
> El vie, 12 abr 2024 a las 7:20, Mamadou Alpha Bah (<
> mamadoualphabah...@gmail.com>) escribió:
>
>> 
>>
>> I'm setting up a CRUD system with Django, using Class-Based Views.
>> Currently I'm trying to figure out how to handle HTTP PUT and DELETE
>> requests in my application. Despite searching the Django documentation
>> extensively, I'm having trouble finding concrete examples and clear
>> explanations of how to submit these types of queries to a class-based view.
>>
>> I created a view class named CategoryView, extending from:
>> django.views.View, in which I implemented the get and post methods
>> successfully. And I want to build my urls like this:
>>
>>1. New Category: 127.0.0.1:8000/backendapp/categories/create
>>2. List all Category: 127.0.0.1:8000/backendapp/categories/
>>3. Retrieve only one Category: 127.0.0.1:8000/backendapp/categories/1
>>4. Etc...
>>
>> However, when I try to implement the put and delete methods, I get stuck.
>>
>> For example :
>> from django.views import View
>>
>> class CategoryView(View):
>>  template_name = 'backendapp/pages/category/categories.html'
>>
>>  def get(self, request):
>>   categories = Category.objects.all()
>>   context = { 'categories': categories }
>>   return render(request, self.template_name, context)
>>
>>  def post(self, request):
>>   return
>>
>>  def delete(self, request, pk):
>>   return
>>
>>  def put(self, request):
>>   return
>>
>> I read through the Django documentation and found that Class-Based Views
>> support HTTP requests: ["get", "post", "put", "patch", "delete", "head ",
>> "options", "trace"].
>>
>> link:
>> https://docs.djangoproject.com/en/5.0/ref/class-based-views/base/#django.views.generic.base.View
>> 
>>
>> Despite this, I can't figure out how to do it.
>>
>> So I'm asking for your help to unblock me.
>>
>> I looked at the Django documentation and searched online for examples and
>> tutorials on handling HTTP requests in class-based views. I also tried
>> experimenting with adding the put and delete methods to my CategoryView
>> view class, but without success. I expected to find resources that clearly
>> explain how to integrate these queries into my Django application, as well
>> as practical examples demonstrating their use. However, I haven't found a
>> working solution and am now seeking help from the community to overcome
>> this difficulty.
>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/b1ecd4a7-5946-4da5-80ae-5923b6648a70n%40googlegroups.com
>> 
>> .
>>
>
>
> --
> "La utopía sirve para caminar" Fernando Birri
>
>
>

-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyNQtHhV3TPMtB4qLyipdjcnZBZA8_mwf-1_j2F%2B_sER5g%40mail.gmail.com.


Re: How to effectively use PUT and DELETE HTTP methods in Django Class-Based Views?

2024-04-12 Thread Luis Zárate
See
https://docs.djangoproject.com/en/5.0/topics/class-based-views/#supporting-other-http-methods
Also on view you have a variable called, where you can limit the available
methods.

http_method_names


El vie, 12 abr 2024 a las 7:20, Mamadou Alpha Bah (<
mamadoualphabah...@gmail.com>) escribió:

> 
>
> I'm setting up a CRUD system with Django, using Class-Based Views.
> Currently I'm trying to figure out how to handle HTTP PUT and DELETE
> requests in my application. Despite searching the Django documentation
> extensively, I'm having trouble finding concrete examples and clear
> explanations of how to submit these types of queries to a class-based view.
>
> I created a view class named CategoryView, extending from:
> django.views.View, in which I implemented the get and post methods
> successfully. And I want to build my urls like this:
>
>1. New Category: 127.0.0.1:8000/backendapp/categories/create
>2. List all Category: 127.0.0.1:8000/backendapp/categories/
>3. Retrieve only one Category: 127.0.0.1:8000/backendapp/categories/1
>4. Etc...
>
> However, when I try to implement the put and delete methods, I get stuck.
>
> For example :
> from django.views import View
>
> class CategoryView(View):
>  template_name = 'backendapp/pages/category/categories.html'
>
>  def get(self, request):
>   categories = Category.objects.all()
>   context = { 'categories': categories }
>   return render(request, self.template_name, context)
>
>  def post(self, request):
>   return
>
>  def delete(self, request, pk):
>   return
>
>  def put(self, request):
>   return
>
> I read through the Django documentation and found that Class-Based Views
> support HTTP requests: ["get", "post", "put", "patch", "delete", "head ",
> "options", "trace"].
>
> link:
> https://docs.djangoproject.com/en/5.0/ref/class-based-views/base/#django.views.generic.base.View
> 
>
> Despite this, I can't figure out how to do it.
>
> So I'm asking for your help to unblock me.
>
> I looked at the Django documentation and searched online for examples and
> tutorials on handling HTTP requests in class-based views. I also tried
> experimenting with adding the put and delete methods to my CategoryView
> view class, but without success. I expected to find resources that clearly
> explain how to integrate these queries into my Django application, as well
> as practical examples demonstrating their use. However, I haven't found a
> working solution and am now seeking help from the community to overcome
> this difficulty.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/b1ecd4a7-5946-4da5-80ae-5923b6648a70n%40googlegroups.com
> 
> .
>


-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyNsQdYWD4W_Mfr%3DMfdP-DrbYeWf0qAgWDEN6TDbVOpR7A%40mail.gmail.com.


Re: DRF Trailing Slah

2024-04-12 Thread Luis Zárate
Check your URL.py and append the slash, also take a look of
https://docs.djangoproject.com/en/5.0/ref/settings/#append-slash


El vie, 12 abr 2024 a las 15:40, MISHEL HANNA ()
escribió:

> Hello
> i have endpoint when add / to the end of it i can not send request it
> return this
> Not Found: /api/v1/properties/user/
> [12/Apr/2024 20:19:03] "GET /api/v1/properties/user/ HTTP/1.1" 404 23
>
> but when remove / from the end of it return success
> [12/Apr/2024 20:19:09] "GET /api/v1/properties/user HTTP/1.1" 200 635
>
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/d5b533b0-e482-4db5-8a4d-ce925aefcbf4n%40googlegroups.com
> 
> .
>


-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyNc9sNk_6qBoF9X7wMbEYtoLmj_Qo-9mXdHyHNSAkTWVQ%40mail.gmail.com.


Re: Help on Creating a Superuser account on render.

2024-04-11 Thread ALINDA Fortunate
Thanks so much for your assistance indeed the issue was I had failed to
visualise my data on railway since I am using an external database. A
friend helped understand that and now I am able to access my admin panel.

Thanks everyone.

On Wed, 10 Apr 2024, 19:59 Luis Zárate,  wrote:

> Maybe something like
>
> python manage.py shell -c "from django.contrib.auth.hashers import
> make_password;from django.contrib.auth.models import User; admin =
> User(username='username', email='exam...@example.com',
> password=make_password('password'),
> is_superuser=True,is_staff=True);admin.save()"
>
>
>
> El dom, 7 abr 2024 a las 2:13, ALINDA Fortunate (<
> alindafortuna...@gmail.com>) escribió:
>
>> It's my external database is postgres on railway.
>>
>> Let me try your opinion and I see.
>>
>> On Sat, 6 Apr 2024, 20:33 Aniket Raj Singh, 
>> wrote:
>>
>>> So you have used render to host your application, you might have
>>> connected an external database (postgreSQL or any other) you might have
>>> used the environment setup to set the database up with the postgreSQL
>>> hosted either on render itself or on a different server, just connect the
>>> database with your application on your local host and create a super user
>>> since the database is same on the render's server's application the
>>> superuser will be same as the superuser you created on the local server
>>> thus you can access the admin panel
>>>
>>>
>>> On Saturday 6 April, 2024 at 9:58:00 pm UTC+5:30 ALINDA Fortunate wrote:
>>>
 Hello I have successfully a django project on render but i have failed
 to access the admin panel

 Any idea on how to create a superuser account on a free tier of render

 Below is my build.sh file
 #!/usr/bin/env bash
 # Exit on error
 set -o errexit



 # Modify this line as needed for your package manager (pip, poetry,
 etc.)
 pip install -r requirements.txt

 # Convert static asset files
 python manage.py collectstatic --no-input

 # Apply any outstanding database migrations
 python manage.py migrate

 if [[ $CREATE_SUPERUSER ]];
 then
   python world_champ_2022/manage.py createsuperuser --no-input
 fi






 --
 ALINDA Fortunate
 Graduate Of Computer Science
 Gulu University
 Passionate about Software Development in Python
 If you can't explain it simply, you don't understand it well enough.
 alindafo...@gmail.com.
 +256 774339676 <+256%20774%20339676> / +256 702910041
 <+256%20702%20910041>
 Kagadi.

>>> --
>>> 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 web visit
>>> https://groups.google.com/d/msgid/django-users/9dabff6a-7f5a-4d30-a097-a128f68a6feen%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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAPifpCsa%2BrmS3OWiycH_309ROvMcazv2Z_E76UcZiZKEb%3D3YPg%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> "La utopía sirve para caminar" Fernando Birri
>
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAG%2B5VyOcJ%2BeL3dTgVHfgW1tjH5p6-qHUzKq83t3z8xK7iNFGdQ%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPifpCtM6bEOREKdmzD5-XOS7PZ4p6C9KTeMKt04FzS3yNZ8cw%40mail.gmail.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-04-11 Thread Clinton Paul
hello is the position still available?

On Tue, Apr 2, 2024 at 8:19 PM Abhishek J 
wrote:

> Dear Developers,
>
> I need to build an android and IOS phone dialer similar to Truecaller.
>
> We are seeking experienced and dedicated candidates who are proficient in
> Django and possess a keen interest in contributing to this impactful
> initiative.
>
> We look forward to the opportunity to collaborate with talented
> individuals who are passionate about creating innovative solutions in the
> education sector.
>
> Thank you for considering this opportunity.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABA3NGW%3DABUCrr0WFw7kPqsCAyYb3Qj7bnPA6%3D908am0GkuM7g%40mail.gmail.com.


Re: Help on Creating a Superuser account on render.

2024-04-10 Thread Luis Zárate
Maybe something like

python manage.py shell -c "from django.contrib.auth.hashers import
make_password;from django.contrib.auth.models import User; admin =
User(username='username', email='exam...@example.com',
password=make_password('password'),
is_superuser=True,is_staff=True);admin.save()"



El dom, 7 abr 2024 a las 2:13, ALINDA Fortunate ()
escribió:

> It's my external database is postgres on railway.
>
> Let me try your opinion and I see.
>
> On Sat, 6 Apr 2024, 20:33 Aniket Raj Singh, 
> wrote:
>
>> So you have used render to host your application, you might have
>> connected an external database (postgreSQL or any other) you might have
>> used the environment setup to set the database up with the postgreSQL
>> hosted either on render itself or on a different server, just connect the
>> database with your application on your local host and create a super user
>> since the database is same on the render's server's application the
>> superuser will be same as the superuser you created on the local server
>> thus you can access the admin panel
>>
>>
>> On Saturday 6 April, 2024 at 9:58:00 pm UTC+5:30 ALINDA Fortunate wrote:
>>
>>> Hello I have successfully a django project on render but i have failed
>>> to access the admin panel
>>>
>>> Any idea on how to create a superuser account on a free tier of render
>>>
>>> Below is my build.sh file
>>> #!/usr/bin/env bash
>>> # Exit on error
>>> set -o errexit
>>>
>>>
>>>
>>> # Modify this line as needed for your package manager (pip, poetry, etc.)
>>> pip install -r requirements.txt
>>>
>>> # Convert static asset files
>>> python manage.py collectstatic --no-input
>>>
>>> # Apply any outstanding database migrations
>>> python manage.py migrate
>>>
>>> if [[ $CREATE_SUPERUSER ]];
>>> then
>>>   python world_champ_2022/manage.py createsuperuser --no-input
>>> fi
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> ALINDA Fortunate
>>> Graduate Of Computer Science
>>> Gulu University
>>> Passionate about Software Development in Python
>>> If you can't explain it simply, you don't understand it well enough.
>>> alindafo...@gmail.com.
>>> +256 774339676 <+256%20774%20339676> / +256 702910041
>>> <+256%20702%20910041>
>>> Kagadi.
>>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/9dabff6a-7f5a-4d30-a097-a128f68a6feen%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAPifpCsa%2BrmS3OWiycH_309ROvMcazv2Z_E76UcZiZKEb%3D3YPg%40mail.gmail.com
> 
> .
>


-- 
"La utopía sirve para caminar" Fernando Birri

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/CAG%2B5VyOcJ%2BeL3dTgVHfgW1tjH5p6-qHUzKq83t3z8xK7iNFGdQ%40mail.gmail.com.


Re: Challenge hosting a django project on render

2024-04-07 Thread manohar chundru
can

On Thu, 4 Apr 2024, 9:12 pm ALINDA Fortunate, 
wrote:

> Hello team I am finding challenges in hosting my project on render it
> shows the webservice is live and it brings this error any help
>
> Error during template rendering
>
> In template /opt/render/project/src/templates/home.html, error at line *9*
> relation "pages_landingpage" does not exist LINE 1: ...velopment",
> "pages_landingpage"."philosophy" FROM "pages_lan... ^
> 1 
> 2 {% extends "_base.html" %}
> 3 {% load static %}
> 4
> 5 {% block title %}Home{% endblock title %}
> 6
> 7 {% block content %}
> 8 
> 9 {% for landingpage in homepage_list %}
> 10 
> 11 {{landingpage.title}}
> 12 
> 13
> 14 {% if user.is_authenticated %}
> 15 Hi {{ user.email }}! Your most welcome.
> 16 {% else %}
> 17 You are not logged in
> 18 Log In
> 19 {% endif %}
>
> But locally its running well
>
> ALINDA Fortunate
> Graduate Of Computer Science
> Gulu University
> Passionate about Software Development in Python
> If you can't explain it simply, you don't understand it well enough.
> alindafortuna...@gmail.com .
> +256 774339676 / +256 702910041
> Kagadi.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAPifpCv1kncia2sv%2BCa3wGfnOa6WWxor-XMishcLRCn8TaGcCg%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAH2L_yV%2BmOqax%3Di2cUUw97UEPt22rE62mp8H7MDsYp5PF4Hg-g%40mail.gmail.com.


Re: Help on Creating a Superuser account on render.

2024-04-07 Thread ALINDA Fortunate
It's my external database is postgres on railway.

Let me try your opinion and I see.

On Sat, 6 Apr 2024, 20:33 Aniket Raj Singh, 
wrote:

> So you have used render to host your application, you might have connected
> an external database (postgreSQL or any other) you might have used the
> environment setup to set the database up with the postgreSQL hosted either
> on render itself or on a different server, just connect the database with
> your application on your local host and create a super user since the
> database is same on the render's server's application the superuser will be
> same as the superuser you created on the local server thus you can access
> the admin panel
>
>
> On Saturday 6 April, 2024 at 9:58:00 pm UTC+5:30 ALINDA Fortunate wrote:
>
>> Hello I have successfully a django project on render but i have failed to
>> access the admin panel
>>
>> Any idea on how to create a superuser account on a free tier of render
>>
>> Below is my build.sh file
>> #!/usr/bin/env bash
>> # Exit on error
>> set -o errexit
>>
>>
>>
>> # Modify this line as needed for your package manager (pip, poetry, etc.)
>> pip install -r requirements.txt
>>
>> # Convert static asset files
>> python manage.py collectstatic --no-input
>>
>> # Apply any outstanding database migrations
>> python manage.py migrate
>>
>> if [[ $CREATE_SUPERUSER ]];
>> then
>>   python world_champ_2022/manage.py createsuperuser --no-input
>> fi
>>
>>
>>
>>
>>
>>
>> --
>> ALINDA Fortunate
>> Graduate Of Computer Science
>> Gulu University
>> Passionate about Software Development in Python
>> If you can't explain it simply, you don't understand it well enough.
>> alindafo...@gmail.com.
>> +256 774339676 <+256%20774%20339676> / +256 702910041
>> <+256%20702%20910041>
>> Kagadi.
>>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/9dabff6a-7f5a-4d30-a097-a128f68a6feen%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPifpCsa%2BrmS3OWiycH_309ROvMcazv2Z_E76UcZiZKEb%3D3YPg%40mail.gmail.com.


Re: Help on Creating a Superuser account on render.

2024-04-06 Thread Aniket Raj Singh
So you have used render to host your application, you might have connected 
an external database (postgreSQL or any other) you might have used the 
environment setup to set the database up with the postgreSQL hosted either 
on render itself or on a different server, just connect the database with 
your application on your local host and create a super user since the 
database is same on the render's server's application the superuser will be 
same as the superuser you created on the local server thus you can access 
the admin panel


On Saturday 6 April, 2024 at 9:58:00 pm UTC+5:30 ALINDA Fortunate wrote:

> Hello I have successfully a django project on render but i have failed to 
> access the admin panel 
>
> Any idea on how to create a superuser account on a free tier of render
>
> Below is my build.sh file
> #!/usr/bin/env bash
> # Exit on error
> set -o errexit
>
>
>
> # Modify this line as needed for your package manager (pip, poetry, etc.)
> pip install -r requirements.txt
>
> # Convert static asset files
> python manage.py collectstatic --no-input
>
> # Apply any outstanding database migrations
> python manage.py migrate
>
> if [[ $CREATE_SUPERUSER ]];
> then
>   python world_champ_2022/manage.py createsuperuser --no-input
> fi
>
>
>
>
>
>
> -- 
> ALINDA Fortunate
> Graduate Of Computer Science
> Gulu University
> Passionate about Software Development in Python
> If you can't explain it simply, you don't understand it well enough.
> alindafo...@gmail.com.
> +256 774339676 <+256%20774%20339676> / +256 702910041 
> <+256%20702%20910041>
> Kagadi.
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/9dabff6a-7f5a-4d30-a097-a128f68a6feen%40googlegroups.com.


Re: Challenge hosting a django project on render

2024-04-05 Thread ALINDA Fortunate
Thanks so much everyone it was rectified indeed the issue was with
migrations.

On Fri, 5 Apr 2024, 15:58 Franky Bonanno,  wrote:

> Makemigrations then migrate
>
> Il ven 5 apr 2024, 10:24 Luciano Martins (luxu)  ha
> scritto:
>
>> Did you run the migrations?
>>
>> Em quinta-feira, 4 de abril de 2024 às 12:43:02 UTC-3, ALINDA Fortunate
>> escreveu:
>>
>>> Hello team I am finding challenges in hosting my project on render it
>>> shows the webservice is live and it brings this error any help
>>>
>>> Error during template rendering
>>>
>>> In template /opt/render/project/src/templates/home.html, error at line
>>> *9*
>>> relation "pages_landingpage" does not exist LINE 1: ...velopment",
>>> "pages_landingpage"."philosophy" FROM "pages_lan... ^
>>> 1 
>>> 2 {% extends "_base.html" %}
>>> 3 {% load static %}
>>> 4
>>> 5 {% block title %}Home{% endblock title %}
>>> 6
>>> 7 {% block content %}
>>> 8 
>>> 9 {% for landingpage in homepage_list %}
>>> 10 
>>> 11 {{landingpage.title}}
>>> 12 
>>> 13
>>> 14 {% if user.is_authenticated %}
>>> 15 Hi {{ user.email }}! Your most welcome.
>>> 16 {% else %}
>>> 17 You are not logged in
>>> 18 Log In
>>> 19 {% endif %}
>>>
>>> But locally its running well
>>>
>>> ALINDA Fortunate
>>> Graduate Of Computer Science
>>> Gulu University
>>> Passionate about Software Development in Python
>>> If you can't explain it simply, you don't understand it well enough.
>>> alindafo...@gmail.com.
>>> +256 774339676 <+256%20774%20339676> / +256 702910041
>>> <+256%20702%20910041>
>>> Kagadi.
>>>
>> --
>> 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 web visit
>> https://groups.google.com/d/msgid/django-users/e2f1866e-70c2-4cf3-a9cb-af9f2eb7ddc1n%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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD0KF_K6iV8dWd-JE1a84zyDwYVPKvQXxPWJQ5Ec31YTTLra1A%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAPifpCuhW%3DGC%3DRyo4K2A0vK9JfbmqBUkXMa%3DifNvqB%3DrBkAuSQ%40mail.gmail.com.


Re: Challenge hosting a django project on render

2024-04-05 Thread Franky Bonanno
Makemigrations then migrate

Il ven 5 apr 2024, 10:24 Luciano Martins (luxu)  ha
scritto:

> Did you run the migrations?
>
> Em quinta-feira, 4 de abril de 2024 às 12:43:02 UTC-3, ALINDA Fortunate
> escreveu:
>
>> Hello team I am finding challenges in hosting my project on render it
>> shows the webservice is live and it brings this error any help
>>
>> Error during template rendering
>>
>> In template /opt/render/project/src/templates/home.html, error at line
>> *9*
>> relation "pages_landingpage" does not exist LINE 1: ...velopment",
>> "pages_landingpage"."philosophy" FROM "pages_lan... ^
>> 1 
>> 2 {% extends "_base.html" %}
>> 3 {% load static %}
>> 4
>> 5 {% block title %}Home{% endblock title %}
>> 6
>> 7 {% block content %}
>> 8 
>> 9 {% for landingpage in homepage_list %}
>> 10 
>> 11 {{landingpage.title}}
>> 12 
>> 13
>> 14 {% if user.is_authenticated %}
>> 15 Hi {{ user.email }}! Your most welcome.
>> 16 {% else %}
>> 17 You are not logged in
>> 18 Log In
>> 19 {% endif %}
>>
>> But locally its running well
>>
>> ALINDA Fortunate
>> Graduate Of Computer Science
>> Gulu University
>> Passionate about Software Development in Python
>> If you can't explain it simply, you don't understand it well enough.
>> alindafo...@gmail.com.
>> +256 774339676 <+256%20774%20339676> / +256 702910041
>> <+256%20702%20910041>
>> Kagadi.
>>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/e2f1866e-70c2-4cf3-a9cb-af9f2eb7ddc1n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAD0KF_K6iV8dWd-JE1a84zyDwYVPKvQXxPWJQ5Ec31YTTLra1A%40mail.gmail.com.


Re: Finding a job

2024-04-05 Thread Pearson Tech
I'm sorry to inform you but I'm not recruiting, I don't have open projects
and I'm not looking for developers, even so I appreciate it.

On Wed, Apr 3, 2024 at 12:38 PM Ganilson Garcia 
wrote:

> Dear recruiters!
>
> I hope this message finds you well. I am reaching out to express my
> interest in job opportunities in the Fullstack development field,
> particularly those that may align with my experience in Python, ExpressJs,
> and Django Rest Framework.
>
> With over 20 years of age and extensive experience in web development, I
> have acquired solid skills in both back-end and front-end development. My
> experience includes building scalable and high-quality web applications
> using modern technologies and best software engineering practices.
>
> My experience with Django Rest Framework has provided me with a deep
> understanding of RESTful API development, while my experience with
> ExpressJs complements this skill within the JavaScript ecosystem. I am
> confident in my ability to significantly contribute to challenging
> projects, delivering robust and efficient solutions.
>
> In addition to my technical skills, I am known for my friendliness and
> ability to work well in teams. My effective communication and willingness
> to collaborate have made me a valuable member of previous development teams.
>
> While my English is intermediate, I am committed to improving it and am
> willing to dedicate myself to courses and training to enhance my language
> skills.
>
> I am looking forward to discussing any potential opportunities you may
> have available and would greatly appreciate the opportunity to demonstrate
> how my skills and experience can benefit your clients or your company. I am
> available for interviews at any time convenient for you.
>
> Thank you in advance for your consideration. Please feel free to contact
> me via email or phone to discuss any potential opportunities.
>
> Sincerely, Ganilson Garcia. Tel: +244 946808054
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/a64a05b9-78c4-4acb-9063-eb37411c9c64n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2Bpcz3XEi8ANS3Y01Wet61Bq%2Bj_h-5GfY1GELGg7c_F%2BM332XA%40mail.gmail.com.


Re: Django Developer with Prior Experience developing a dialer required

2024-04-05 Thread Abdulrahman Abbas
Hi I'm very much interested to contribute to this project below is my CV


On Wed, Apr 3, 2024, 14:11 Abhishek J  wrote:

> Dear Developers,
>
> I need to build an android and IOS phone dialer similar to Truecaller.
>
> We are seeking experienced and dedicated candidates who are proficient in
> Django and possess a keen interest in contributing to this impactful
> initiative.
>
> We look forward to the opportunity to collaborate with talented
> individuals who are passionate about creating innovative solutions in the
> education sector.
>
> Thank you for considering this opportunity.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAKkngwCYo%2By%2Bzq0ph%2B%3D4tPZ1%2BWM3uhTtAu63-jP0VNVQ6xkmHg%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAGGqo0PZkC%2BhjXDnTC6GuBwyZVqReVebaXHVvvY2Qn%3DDRy%3DMQg%40mail.gmail.com.


Abdulrahman Abbas CV (2).pdf
Description: Adobe PDF document


Re: Challenge hosting a django project on render

2024-04-05 Thread Luciano Martins (luxu)
Did you run the migrations?

Em quinta-feira, 4 de abril de 2024 às 12:43:02 UTC-3, ALINDA Fortunate 
escreveu:

> Hello team I am finding challenges in hosting my project on render it 
> shows the webservice is live and it brings this error any help
>
> Error during template rendering
>
> In template /opt/render/project/src/templates/home.html, error at line *9*
> relation "pages_landingpage" does not exist LINE 1: ...velopment", 
> "pages_landingpage"."philosophy" FROM "pages_lan... ^
> 1  
> 2 {% extends "_base.html" %} 
> 3 {% load static %} 
> 4 
> 5 {% block title %}Home{% endblock title %} 
> 6 
> 7 {% block content %} 
> 8  
> 9 {% for landingpage in homepage_list %} 
> 10  
> 11 {{landingpage.title}} 
> 12  
> 13 
> 14 {% if user.is_authenticated %} 
> 15 Hi {{ user.email }}! Your most welcome. 
> 16 {% else %} 
> 17 You are not logged in 
> 18 Log In 
> 19 {% endif %}
>
> But locally its running well
>
> ALINDA Fortunate
> Graduate Of Computer Science
> Gulu University
> Passionate about Software Development in Python
> If you can't explain it simply, you don't understand it well enough.
> alindafo...@gmail.com.
> +256 774339676 <+256%20774%20339676> / +256 702910041 
> <+256%20702%20910041>
> Kagadi.
>

-- 
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 web visit 
https://groups.google.com/d/msgid/django-users/e2f1866e-70c2-4cf3-a9cb-af9f2eb7ddc1n%40googlegroups.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-04-03 Thread SAHIL
hi there,
i am interested in this position. here is my github link
https://github.com/immodded

On Tue, 2 Apr 2024, 10:49 pm Abhishek J, 
wrote:

> Dear Developers,
>
> I need to build an android and IOS phone dialer similar to Truecaller.
>
> We are seeking experienced and dedicated candidates who are proficient in
> Django and possess a keen interest in contributing to this impactful
> initiative.
>
> We look forward to the opportunity to collaborate with talented
> individuals who are passionate about creating innovative solutions in the
> education sector.
>
> Thank you for considering this opportunity.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABfqMXDT6LndEKysb5eB_9DN_QPoTKGXbPu7C-HJ60OOtkw7fQ%40mail.gmail.com.


Re: Freelance Opportunity : Django Developer for building A Dialer

2024-04-03 Thread Ahmed Shrief
I am interested in this position

On Tue, Apr 2, 2024, 7:20 PM Abhishek J 
wrote:

> Dear Developers,
>
> I need to build an android and IOS phone dialer similar to Truecaller.
>
> We are seeking experienced and dedicated candidates who are proficient in
> Django and possess a keen interest in contributing to this impactful
> initiative.
>
> We look forward to the opportunity to collaborate with talented
> individuals who are passionate about creating innovative solutions in the
> education sector.
>
> Thank you for considering this opportunity.
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/CAKkngwDHBygGho4gkHRhNkpVJf_d2UOkHQ%3DemN3BtcFSVRU8sA%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHYa9ySSr1SBMXPkiSAZFqJFysPGk-_229DY_BVnH3HYi-xx4Q%40mail.gmail.com.


Re: ANYONE CAN HELP ME

2024-04-03 Thread Miroslav Milic
Hi,

Here is the link to the Django docs where it is explained how to handle
multiple file uploads with FileInput. Try to use the example from the docs
as a starting point.

https://docs.djangoproject.com/en/5.0/topics/http/file-uploads/#uploading-multiple-files

Best regards,
--
Miroslav Milic


On Tue, Apr 2, 2024 at 7:20 PM arts maxwell Anderson <
arts.mawellanderson@gmail.com> wrote:

> hello i have this error , i want to uppload multiple django image
> ValueError: FileInput doesn't support uploading multiple files.
> any one can help me
>
> class FormImages(ModelForm):
> multiple_image= forms.ImageField(widget=forms.FileInput(attrs= {
> 'multiple': True}))
>
> class Meta:
>
> model = Images
> fields=['multiple_image']
>
>
> #create prodcut in function
> def create_product(request):
> form_image = FormImages()
> form = FormCretaeProdcut()
>
> if request.method == 'POST':
> files = request.FILES.getlist('multiple_image')
> form = FormCretaeProdcut(request.POST, request.FILES)
> if form.is_valid():
> product = form.save(commit=False)
> product.save()
> product.user = request.user
> product.save()
> for file in files :
> Images.objects.create(product=product , images=file)
> else:
> form = FormCretaeProdcut()
> return render(request, 'create_product.html', {'form':form, 'i_form':
> form_image})
>
> --
> 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 web visit
> https://groups.google.com/d/msgid/django-users/c5cf6e10-68a1-4ceb-915d-df489db9b863n%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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEOWdJUwkZPdAAqAbayEp%3DWhY5i9vrDk6fVk5VEjkTxkegj-%2Bw%40mail.gmail.com.


  1   2   3   4   5   6   7   8   9   10   >