Re: Software Developer

2024-11-18 Thread Peter Kapena
a shot when you find something. You can limit your search to South Africa and use an api such as strapi for searching. Kapena Peter Lumumba 0812174767 From: django-users@googlegroups.com on behalf of kemo njie Sent: Monday, November 18, 2024 5:11:10 PM To

Re: Software Developer

2024-11-18 Thread Peter Lumumba
4d0n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- *Kapena Peter Lumumba * *+27 81 2174 767* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails f

Re: How To Avail Services From A CRM Software Development Company?

2024-10-27 Thread Peter Kapena
Good day. You can contact oceansofty and we’ll be happy to help. We specialise in many tech stacks ranging from mobile to DevOps and anything in your programming language. I’ll be happy to help you. Thanks Kapena Peter Lumumba 0812174767 From: django-users

Re: Ecommerce Store

2024-09-01 Thread Peter Kirieny
Hello I have one On Thu, 29 Aug 2024 at 23:05, Wajahat Murtaza wrote: > Im looking for the source code of an django ecommerce store anyone have? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop r

Online Course Website

2024-07-09 Thread Peter Kirieny
Anyone who can build a professional online course website, DM we talk -- 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

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 Whats

Re: Student Club Management Web App: Seeking Collaboration and Advice from Experts

2024-03-09 Thread Kintu Peter
am interested +256789746493 On Thu, 7 Mar 2024, 17:18 THE tech, wrote: > I will be happy to join you my friend +2347068821240 > > On Wed, Mar 6, 2024, 10:54 PM Ogunkoya Mayowa > wrote: > >> Add me +2349066713865 >> I also want to learn and contribute to the project. >> >> On Wed, Mar 6, 2024, 3

Re: Exciting Opportunity: Join Our Django WhatsApp Bulk Messaging Project!

2024-02-25 Thread Kintu Peter
I would wish to inform you that am intrested On Sun, 18 Feb 2024, 19:47 SURAJ TIWARI, wrote: > 🚀 Join Our Django WhatsApp Bulk Messaging Project! > > 👋 Hello everyone, > > Are you looking for an exciting opportunity to gain hands-on experience in > Django development? Do you want to work on a me

Re: Django Boston Reboot

2024-02-07 Thread Peter Pan
Okay Thanks From Austria! Best Regards Peter Pan Dave Nguyen schrieb am Mi., 7. Feb. 2024, 23:25: > Hello. > > For those in the Boston area, we are rebooting the Django Boston Meetup > group and will be having an in-person meetup next Thursday in Kendall > Square. We have an ex

Re: JOB

2023-10-15 Thread Peter Benjamin Ani
Join and participate in hackathon On Sun, 15 Oct 2023 at 19:42, Dev Femi Badmus wrote: > Eyaaa > > -- > 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: Help on Error while deploying a django app on render.

2023-08-25 Thread Peter Benjamin Ani
Where are you hosting? On Thu, 24 Aug 2023 at 22:37, ALINDA Fortunate wrote: > Hello family some help i have this error > > Aug 25 12:28:30 AM ImportError: Couldn't import Django. Are you sure it's > installed and available on your PYTHONPATH environment variable? Did you > forget to activate a

Re: i learnt django basics but i want to learn django for become a master in django where can i get resourse

2023-08-10 Thread Peter Benjamin Ani
234811513 that’s my WhatsApp On Thu, 10 Aug 2023 at 19:35, Chisom Iheanacho wrote: > hello chief.. I have Django 3 by example, can I follow the projects in it > too? > pls can I get your WhatsApp number too? > > On Thu, Aug 10, 2023, 6:05 PM Peter Benjamin Ani < > benj

Re: i learnt django basics but i want to learn django for become a master in django where can i get resourse

2023-08-10 Thread Peter Benjamin Ani
Try getting the ebook (Django 4 by example) and build projects in it, from there u are good to go On Thu, 10 Aug 2023 at 18:01, Basith wrote: > Any sample projects? any free resources? > > On Thursday, 10 August 2023 at 22:25:30 UTC+5:30 John Ayodele wrote: > >> Build a good portfolio and push t

Re: i learnt django basics but i want to learn django for become a master in django where can i get resourse

2023-08-10 Thread Peter Benjamin Ani
Build more projects On Thu, 10 Aug 2023 at 14:23, Peram Ashokkumar wrote: > i have been learning python fullstack since in the 3 months in our > institute that mentor tought only basic but i want to get job as > experience candidate because i have three years of gap please any respond > to t

Re: Problem with my website

2023-07-12 Thread Peter Benjamin Ani
Chat me up let’s look into it On Wed, 12 Jul 2023 at 21:20, Chetan Ganji wrote: > Have you set the default url for the website? > > Sharing your urls.py file will help someone guide you better. > > Regards, > Chetan Ganji > +91-900-483-4183 > ganji.che...@gmail.com > http://ryucoder.in > > > On

Re: Trainer Job

2023-06-30 Thread Peter Benjamin Ani
Check ur inbox On Fri, 30 Jun 2023 at 12:43, Srikanth K wrote: > Hi, Anybody here experienced in training Python, Machine learning, Django > etc. just reply back to this email. (srikopan...@gmail.com) with your CV > and contact details.This is a Full time job and we have an urgent > requirement.

Re: associate Developers for Google

2023-06-17 Thread Peter Benjamin Ani
I know it might be a scam normally, but am not dropping any confidential info On Sat, 17 Jun 2023 at 16:34, John Ayodele wrote: > Yes Muhammed! > I also thought of it. I think it's a scam. > > On Sat, Jun 17, 2023 at 4:30 PM Muhammad Juwaini Abdul Rahman < > juwa...@gmail.com> wrote: > >> Be care

Re: associate Developers for Google

2023-06-17 Thread Peter Benjamin Ani
Yes please, how can I hit you hit for the application please On Sat, 17 Jun 2023 at 15:11, Ashish Rawat wrote: > Yes i am looking > > On Sat, Jun 17, 2023, 7:39 PM Lucifer Black > wrote: > >> Is there anyone that wants a job at google developer at home looking for >> three people >> >> >> Get Ou

Re: Looking for a Learning Buddy

2023-06-16 Thread Peter Benjamin Ani
Have you tried working on a project? On Fri, 16 Jun 2023 at 23:00, John Ayodele wrote: > Hi! It's John. > > I am currently looking for a learning buddy💡, for Machine Learning. > I have little experience in Django🕸 and I code in Python🐍. > > The learning buddy would have one-on-one meetings with

Re: CSV file

2023-06-08 Thread Peter Benjamin Ani
Try using Python anywhere On Fri, 9 Jun 2023 at 07:15, Muhammad Juwaini Abdul Rahman < juwa...@gmail.com> wrote: > Probably you need to show the code snippet on where you generate the csv > file. > > On Fri, 9 Jun 2023 at 13:51, Percy Masekwameng < > percymasekwameng...@gmail.com> wrote: > >> It

Re: Setting recipient name in EmailMultiAlternatives

2023-03-27 Thread Peter Benjamin Ani
I don't fully understand the error, can you describe it more please On Mon, 27 Mar 2023, 13:54 Sylvain, wrote: > Hello, > > I’m using the following code to send mails to my users, with their name > appearing in the `To` header: > > msg = EmailMultiAlternatives(subject=subject, body=body, > to=f"

Re: If Statement django template

2023-01-12 Thread Peter Benjamin Ani
Have you figured out a solution to it? On Thu, 12 Jan 2023, 15:52 Namanya Daniel, wrote: > > Replace supplier with related_name > > On Thu, 12 Jan 2023 at 16:13, 'dtdave' via Django users < > django-users@googlegroups.com> wrote: > >> I have the following relationship in a model >> >> class Cont

Re: If Statement django template

2023-01-12 Thread Peter Benjamin Ani
why using a foreignkey then? what type of relationship is existing between the supplier and the On Thu, Jan 12, 2023 at 2:13 PM 'dtdave' via Django users < django-users@googlegroups.com> wrote: > I have the following relationship in a model > > class Contract(models.Model): > supplier = model

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread Peter Mwai
pes, sessions. Django version 4.1.3, using settings 'pyshop.settings' Starting development server at http://127.0.0.1:8000/ On Wed, 16 Nov 2022 at 16:10, Balogun Awwal wrote: > > What is the output given > Sent from awwal > > On 16 Nov 2022, at 1:23 PM, Peter Mwai wrote:

Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread Peter Mwai
incerely, > > Raúl Luján Delgado > > > > > > El mié, 16 nov 2022 a las 6:10, 'Kasper Laudrup' via Django users (< > django-users@googlegroups.com>) escribió: > >> On 15/11/2022 18.49, Peter Mwai wrote: >> > Hello experts, >> > I was

MANAGE.PY RUNSERVER ERROR

2022-11-15 Thread Peter Mwai
Hello experts, I was trying to start the server using 'python manage.py runserver' but encountered this error, Exception ignored in thread started by: .wrapper at 0x0202E609EDE0> Traceback (most recent call last): File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\si

Re: In need of a Technical Mentor

2022-10-28 Thread Peter Benjamin Ani
nt > help then write Back. Then you can get more experience. Also yoz should > make a upworks account as developer. On beginning with low hourly rate to > get good Reviews. And after a time you have more experience and get higher > hourly rates... > > Regards > > Peter Benj

Re: In need of a Technical Mentor

2022-10-27 Thread Peter Benjamin Ani
About internships, i have tried applying to some and haven't even reached interview stage, that's why i thought with a mentor to guide me, that would be more better On 10/27/22, Collins Emmanuel wrote: > Hello Peter, I’d advise you to seek for internship since you already know

Re: Resources to learn

2022-10-27 Thread Peter Benjamin Ani
Follow www.dj4e.com by Dr chucks On Thu, 27 Oct 2022, 02:56 Nitesh Mint, wrote: > I am new to Django and i have some basic knowledge of it. I completed a > book: Django for beginners. Now i need some help with resources to follow > and some great projects ideas to help me learn more. Please prov

In need of a Technical Mentor

2022-10-27 Thread Peter Benjamin Ani
Hi everyone, My name is Peter and am a computer science student, I have been coding for a while now, majorly in C and Python, and am desperately in need of a technical mentor to help me out on Django, I don't mind if he gives me projects and sets deadline for me, am ready for it, I need so

Mobile App

2022-09-04 Thread Peter Kirieny
Hello team Django, I have a fully functioning website how can I easily turn it into a mob app please ? -- 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-use

TemplateDoesNotExist at /

2022-06-04 Thread peter softy
TemplateDoesNotExist at /home.html Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 4.0.3 Exception Type: TemplateDoesNotExist Exception Value: home.html Exception Location: C:\Users\softy\AppData\Local\Programs\Python\Python310\lib\site-packages\django\template\loader.py,

Re: TypeError: metaclass conflict: the metaclass of a derived class must be a (non-strict) subclass of the metaclasses of all its bases

2021-11-20 Thread Peter of the Norse
CommentForm inherits from both ModelForm and “forms”. I don’t know what “forms” is, but PEP-8 says all classes should be capitalized. If forms is a base class that has already defined Meta, then you need to have CommentForm’s extend it. So change the line to class Meta(forms.Meta): > On Oct

Re: Question regarding organizing models

2021-11-14 Thread Peter of the Norse
You can put a string with the name of a class that is yet to be defined in the ForeignKey. https://docs.djangoproject.com/en/3.2/ref/models/fields/#foreignkey In this case you would do created_by_id = models.ForeignKey(

Re: Idea

2021-10-31 Thread Peter of the Norse
Most of the people that think switching to node.js only know PHP. That’s why it looks like a good idea. > On Sep 20, 2021, at 2:46 AM, David Nugent wrote: > > This is almost the same case that nodejs users have put forward since it was > invented - why learn 2 languages when 1 will do? node

Re: Idea

2021-10-31 Thread Peter of the Norse
I’m worried that you are getting on the wrong track here. All web development is necessarily client-server based. One of the signs of a poorly designed VB application is the way that you can put DB code in a button action. That isn't possible in a browser. Instead all it can do is contact th

Re: please help me todebug this code

2021-08-31 Thread &#x27;Peter van der Does' via Django users
You seem to be confused about who asked the question because it was not me who asked the question. On 8/31/21 6:58 AM, Munzir Abba Daneji wrote: > Hi peter The tag library you use is not correct use  > > {% load static %} > > again you html directory seems to be not organise try

Re: please help me todebug this code

2021-08-30 Thread &#x27;Peter van der Does' via Django users
Uh what question are you answering? On 8/30/21 12:55 PM, Munzir Abba Daneji wrote: > Peter Check your Template DIR you supposed to organize you folders > flow under your "first_project" folder create the template folder and > inser you html  > > On Mon, Aug 30, 2021, 5:

Re: please help me todebug this code

2021-08-30 Thread &#x27;Peter van der Does' via Django users
be one of: > >    1 : <!DOCTYPE html> >    2 :  {% load static "%}  -- *Peter van der Does o: ***410-584-2500 m: 732-425-3102 *ONeil Interactive, Inc * oneilinteractive.com <http://www.oneilinteractive.com/> ** -- You received this message because you are subscribed

Re: Encrypt A Table using Django Model

2021-08-13 Thread &#x27;Peter van der Does' via Django users
> <https://groups.google.com/d/msgid/django-users/de2075bf-be25-4c3b-b7fa-605b1fac2981n%40googlegroups.com?utm_medium=email&utm_source=footer>. -- *Peter van der Does o: ***410-584-2500 m: 732-425-3102 *ONeil Interactive, Inc * oneilinteractive.com <http://www.oneilinteractiv

building mobile app

2021-07-17 Thread Peter Kirieny
hello guys i have a functioning django website anyone with any easiest and cheapest idea on how to turn it into a mobile app please help you can contact me so that we work together -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe f

Re: Django help| Urgent | how to find the frequency of a string for each word using django admin?

2021-07-09 Thread &#x27;Peter van der Does' via Django users
sers+unsubscr...@googlegroups.com>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAKPY9pkPqSbN0OoxVyQ%2BYcfqq2fRX1NDWqpdyo-KmOG2X_vYeQ%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAKPY9pkPqSbN0OoxVyQ%2BYcfqq

Re: can Django replace PHP ?

2021-06-28 Thread &#x27;Peter van der Does' via Django users
s.google.com/d/msgid/django-users/CA%2BTqRsvXBgYjvpArmyCx4ANUHpm49jQBr9E5N1jD51EshA8Mkg%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CA%2BTqRsvXBgYjvpArmyCx4ANUHpm49jQBr9E5N1jD51EshA8Mkg%40mail.gmail.com?utm_medium=email&utm_source=footer>. -- *Peter van der Does o:

Re: Django 3.1 Makemigrations fails with FilePathField but succeeds with CharField

2021-06-22 Thread Peter of the Norse
I think you might be better off using https://docs.djangoproject.com/en/3.2/topics/migrations/#squashing-migrations than having it recreate all of them. > On Mar 18, 2021, at 8:28 AM, Olivier wrote: > > Hello, >

Django project(website) and cpane

2021-06-17 Thread Peter Kirieny
would somebody please help me with the procedure on how to upload my django website on cpanel i used: python, pycharm, django,html css and some javascript I've already bought a domain name and hosting and i can log into cpanel please help. -- You received this message because you are subscribed t

Re: django utils Integrity error

2021-05-21 Thread Peter Kirieny
cts.order_by('-category').filter(is_published=True) context = {'products': products, 'cartItems': cartItems, 'categories': categories} return render(request, 'store/store.html', context) On Fri, 21 May 2021 at 12:22, Peter Kirieny wrote:

Re: django utils Integrity error

2021-05-21 Thread Peter Kirieny
hanks but ita was already solved On Wed, 19 May 2021 at 15:52, Antonis Christofides < anto...@antonischristofides.com> wrote: > Could you show the full error message? > > Antonis Christofides > +30-6979924665 (mobile) > > On 19/05/2021 02.36, Peter Kirieny wrote: > &g

django utils Integrity error

2021-05-18 Thread Peter Kirieny
am adding class category in the models.py and adding it as a foreign key in the products model but i get this error while migrating somebody, please help here is the code class Category(models.Model): name = models.CharField(max_length=50) def __str__(self): return self.name cl

Re: Attribute error

2021-05-18 Thread Peter Kirieny
tanks for this, it was helpfull On Thu, 13 May 2021 at 15:31, Ryan Nowakowski wrote: > It's likely that your instance of OrderItem has a product field that's > null. > > On May 12, 2021 3:50:42 AM CDT, Peter Kirieny > wrote: > >can somebody help with this pleas

Attribute error

2021-05-12 Thread Peter Kirieny
can somebody help with this please, am building an ecommerce web and when i want to view my cart i get this error AttributeError: 'NoneType' object has no attribute 'price' here is my models.py class OrderItem(models.Model): product = models.ForeignKey(Product, on_delete=models.SET_NULL, null

Re: Question about models. test

2021-05-02 Thread Peter of the Norse
This kind of script can be dangerous. It’s possible for malicious websites to create a page that can use up too many resources or otherwise act strangely. URLValidator

Re: QuerySet performance on large datasets

2021-04-11 Thread Peter of the Norse
taff", "auth_user"."is_active", "auth_user"."date_joined" FROM "auth_user"; args=() (0.000) SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login", "auth_user&q

Re: What values is expected for CSRF_COOKIE_PATH ?

2021-03-08 Thread Peter of the Norse
Some sites have Django installed in a sub-path of their site, e.g. http://mydomain.com/django/. In that case, you can set it to “/django-project/“ or “/“. Since the default is / you don’t need to do anything. If you have two separate Django installations on one site, then you need to change

Re: setting up urls of many apps

2021-02-21 Thread Peter Kirieny
ect.com/en/3.1/ref/urls/#include >> >> On Thu, Feb 18, 2021 at 12:12 PM Peter Kirieny >> wrote: >> >>> if self.pattern.name is not None and ":" in self.pattern.name: >>> TypeError: argument of type 'type' is not iterable >>>

Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
if self.pattern.name is not None and ":" in self.pattern.name: TypeError: argument of type 'type' is not iterable that's the error On Thu, 18 Feb 2021 at 09:39, Peter Kirieny wrote: > thanks sir > that's done though the error still persists > > O

Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
best > > On Thu, Feb 18, 2021 at 11:56 AM Peter Kirieny > wrote: > >> in the projects urls.py >> >> from django.conf import settings >> from django.conf.urls.static import static >> from django.contrib import admin >> from django.urls import path,

Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
in the projects urls.py from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('accounts/', include('allauth.urls')), path('', include('cor

Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
comm\venv\lib\site-packages\django\urls\resolvers.py", line 335, in check warnings = self._check_pattern_name() File "C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\urls\resolvers.py", line 343, in _check_pattern_name if self.pattern.name is not None and &

setting up urls of many apps

2021-02-16 Thread Peter Kirieny
someone to help me to set up urls of two different apps in django project please, i keep on getting errors am new -- 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

maping url

2021-02-15 Thread Peter Kirieny
hi guys, i cloned a project from github and then added a new app into my project now am trying to map my app's url to my project but i get this error TypeError: argument of type 'type' is not iterable anyone with any idea kindly help -- You received this message because you are subscribed to th

Re: QuerySet performance on large datasets

2021-02-12 Thread Peter of the Norse
bool(qs) is recommended when the queryset has already been run. If you do something like val = qs.earliest(some_property) if bool(qs) else None then there isn’t a performance gain because it still has to run qs.exists() to even see if there is a value. Later things like that will be cach

Re: How to securely store passwords used in backend code

2021-01-10 Thread Peter of the Norse
I use multiple settings.py files to do this. Specifically, in my main one, I have what I consider the only acceptable instance of import *. import os if (os.getenv('PRODUCTION')): from .prod_settings import * else: from .dev_settings import * While dev_settings.py is in my repo, prod_se

Re: ForeignKey with different queryset from manager

2021-01-10 Thread Peter of the Norse
This is an interesting question. Thank you for asking it. I wasn’t able to find exactly what you are asking for. The closest I could find was https://docs.djangoproject.com/en/2.2/topics/db/queries/#using-a-custom-reverse-manager

Re: Conversion and import of a pre-existing database

2021-01-07 Thread &#x27;Peter van der Does' via Django users
Jérémy, It all depends on the Database which route to take. Is it one table, multiple tab;es, what are the relationship? My plan of attack would be: 1. Create all models in Django as you want them to be. Use the Django standards to name your new fields [1]. 2. Let Django handle the field n

Re: TemplateDoesNotExist

2020-12-21 Thread Peter T
nvm, I fixed it On Monday, December 21, 2020 at 11:06:31 AM UTC-5 Peter T wrote: > templatedoesnotexist. I keep getting this error how do I fix it > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

TemplateDoesNotExist

2020-12-21 Thread Peter T
templatedoesnotexist. I keep getting this error how do I fix it -- 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 vie

Re: Django/python free Training

2020-12-21 Thread Peter T
I'm interested. I think for a tutorial you should read and follow along with the django documentation but explain it in more depth On Friday, December 18, 2020 at 9:27:14 AM UTC-5 rampage...@gmail.com wrote: > Hi guys, > > I am manucho from Kenya and am good developer with django and python and

Re: Ongoing project

2020-12-18 Thread Peter Kirieny
I'm interested to work on it >> >> On Thu, Dec 17, 2020, 6:07 PM Zanii Mirzaa wrote: >> >>> i m intrested in this project..want to help and gain knowledge >>> >>> On Thu, 17 Dec 2020, 20:58 sakshi jain, wrote: >>> >>>> I'm

Ongoing project

2020-12-17 Thread Peter Kirieny
Hello team I have a project in django (developing an ecommerce website with some innovations) Using pycharm and python, am looking for a partner here Am a Kenyan, in Nairobi If interested please inbox for more information -- You received this message because you are subscribed to the Google Gr

Re: How can you do a for loop with a database?

2020-12-14 Thread Peter T
ll() >>> } >>> >>> Then in the template: >>> {% for item in items %} >>> {{ item.text }} >>> {% endfor %} >>> >>> Here ‘text’ is the property on the database model you want to display. >>> >>> >>> Regard

Re: How can you do a for loop with a database?

2020-12-14 Thread Peter T
: > {% for item in items %} > {{ item.text }} > {% endfor %} > > Here ‘text’ is the property on the database model you want to display. > > > Regards, > > > Andréas > > 12 dec. 2020 kl. 17:11 skrev Peter T : > > Example: > > context = (database model) &

Re: How to access using foreing key

2020-12-13 Thread Peter of the Norse
If you are looking for all of the Restaurants with a 5.0 rating, it looks like Restaurant.objects.filter(rating_restaurant__rating = 5.0) If you are looking for Restaurants with an average rating of 5.0, that’s a bit trickier. from django.db.models import Avg Restaurant.objects.annotate(avg_rat

How can you do a for loop with a database?

2020-12-12 Thread Peter T
Example: context = (database model) def index(request): render(index.html, context) HTML Template: {% for i in context %} { database.text } -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

type error

2020-08-14 Thread Peter Kirieny
hello, can somebody help with this please match = datetime_re.match(value) TypeError: expected string or bytes-like object I've made migrations but now i can't migrate, it brings the above error instead -- You received this message because you are subscribed to the Google Groups "Django us

[no subject]

2020-08-14 Thread Peter Kirieny
hello, my data from json file didn't load into the server, i can't see them in my admin interface anybody to assist please -- 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

Re: help

2020-06-24 Thread Peter Kirieny
ect in the left > corner of your terminal enclosed within () > 5. pip install > 6. make sure to create a requirements.txt file after finishing the project > so that you can Deploy and install the dependencies into the server as well > > thanks > > On Tue, 23 Jun 2020 at 17:05,

Re: help

2020-06-23 Thread Peter Kirieny
'USER': 'admin', > 'PASSWORD': 'mypassword', > 'HOST': 'localhost',} > > Otherwise > > 'USERNAME': 'admin', > > You can try both ! > > On Tue, Jun 23, 2020 at 2:21 PM Peter Kirieny >

Re: help

2020-06-23 Thread Peter Kirieny
yes, postgres On Mon, 22 Jun 2020 at 19:04, Jatin Agrawal wrote: > Are you using postgres? > > On Monday, June 22, 2020 at 8:34:55 PM UTC+5:30, Peter Kirieny wrote: >> >> can someone help with this please >> >> django.db.utils.OperationalError: FATAL: password

help

2020-06-22 Thread Peter Kirieny
can someone help with this please django.db.utils.OperationalError: FATAL: password authentication failed for user "Admin" -- 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 a

Re: configure nginx

2020-06-22 Thread &#x27;Peter van der Does' via Django users
l 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/CABO2r9fXi%3DLK0pRp5UQ%2B5r8mZeNYPwGr6TLwQLRZ%2BbZKMqt5ow%40mail.gmail.com > <https://gr

Re: someone to help in this please

2020-06-18 Thread Peter Kirieny
+256 781 493558.* > *Twiter: @RBalwane* > *WhatsApp: **+256 755 442248* > > > *Balwane Holding Inc.* > > > > > On Tue, 16 Jun 2020 at 18:11, Peter Kirieny > wrote: > >> am using Geodjango with postgresql db and i get this erro

Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
fortunately am in windows, once again thanks I'll let you know the proceeds On Wed, 17 Jun 2020 at 15:23, Kasper Laudrup wrote: > Hi Peter, > > On 17/06/2020 14.04, Peter Kirieny wrote: > > yea, I installed it with OSGEO4W > > > > So I assume you are on Windo

Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
; > *Mobiles:+256 755 442248, * > > * +256 781 493558.* > *Twiter: @RBalwane* > *WhatsApp: **+256 755 442248* > > > *Balwane Holding Inc.* > > > > > On Tue, 16 Jun 2020 at 18:11, Peter Kirieny > wrote: > &g

Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
yea, I installed it with OSGEO4W On Tue, 16 Jun 2020 at 18:14, Budi Hermansyah wrote: > Did you already install gdal n friends? > > > https://docs.djangoproject.com/en/3.0/ref/contrib/gis/install/geolibs/ > > > > On Tue, 16 Jun 2020 at 22.12 Peter Kirieny wrote: >

someone to help in this please

2020-06-16 Thread Peter Kirieny
am using Geodjango with postgresql db and i get this error while trying to run the server; raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: Could not find the GDAL library (tried "gdal204", "gdal203", "gdal202", "gdal201", "gdal20"). Is GDAL installed? If it i s, try set

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
again. :-) Peter -- 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 w

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
stion_id, xx): Den torsdag 7 maj 2020 kl. 12:40:06 UTC+2 skrev Ekberg Peter: > > I know something like this has been asked before but I never seen any > answer that I can understand or that works. But I am very new on Django so > maybe I could have missed it. But there must be

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
;EXTRA ARGUMENT" def result(request, question_id, xx): Thanks for your help, I appreciate it very much. Peter Den tors 7 maj 2020 kl 14:06 skrev Andréas Kühne : > Hi Peter, > > The thing is you need to handle this with your url files, your view > function (or class) and your reverse

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
>the detail page. In your example it seems going in wrong order from what I am asking for. You have the reverse last, but it is the reverse function that runs first. But I would appreciate very much if you can make an example from my code here. Thanks Peter -- You received this message

Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-07 Thread Ekberg Peter
I know something like this has been asked before but I never seen any answer that I can understand or that works. But I am very new on Django so maybe I could have missed it. But there must be an easy answer to my question. I am following the tutorial for Django and at section 4 they use the

Re: NoReverseMatch at /sitemap.xml

2020-03-04 Thread Peter of the Norse
You are using positional arguments when you should be using named args. Change the line to return reverse('blog-detail', kwargs = {‘slug’:item.slug, ‘year’:str(item.blog_published_at.year), ‘month’:str(item.blog_published_at.month), ‘day’:str(item.blog_published_at.day)}) > On Feb 22, 2020,

Re: How to express `foo = (bar < quox)` as a constraint

2020-01-28 Thread Peter Law
f that could be made to work - I think that a spelling like that would be even better than nested Q objects (even without ExpressionWrapper). Many thanks, Peter On Mon, 27 Jan 2020 at 20:24, Simon Charette wrote: > > I see, I think you'll need to wrap the inner Q in an

Re: How to express `foo = (bar < quox)` as a constraint

2020-01-27 Thread Peter Law
esn't work (see my response to Stephen's suggestion). Thanks, Peter On Monday, 27 January 2020 18:23:28 UTC, Simon Charette wrote: > > Did you try > > class Item(Model): > price = DecimalField() > full_price = DecimalField() > is_on_sa

Re: How to express `foo = (bar < quox)` as a constraint

2020-01-27 Thread Peter Law
more complicated (and thus where an annotation might be less desirable). I'm using Django 2.2 LTS (though I can't see anything to suggest this has changed in 3.0) but your suggested annotation unfortunately doesn't work -- I get `TypeError: unorderable types: F() < F()`. Thanks, Peter

How to express `foo = (bar < quox)` as a constraint

2020-01-27 Thread Peter Law
is trying to achieve. Is there a concise way to do this sort of constraint? If not, would it be possible for Django to add support for it? Thanks, Peter -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: I am Started Django Please help me

2019-12-30 Thread Peter juliano
What view in specific ?. If you refering to the "get_queryset" view if simple as. from django.views.generic import View Class get_queryset(View): def get(self, request): """ Return the last five published questions (not including those set to bepublished in the future)."""

Re: I am Started Django Please help me

2019-12-30 Thread Peter juliano
Hi. What is your specific problem ?. In the stackoverflow Q, there is already a code view based on CBV. On Mon, Dec 30, 2019 at 12:49 PM Moaaz Afzal wrote: > > https://stackoverflow.com/questions/59510325/is-there-is-any-way-to-convert-this-fbv-to-cbv-in-polls-tutorial-of-djangotutori/59510529

Re: Outsourcing of django code for new startup

2019-12-27 Thread &#x27;Peter van der Does' via Django users
n on the web visit > https://groups.google.com/d/msgid/django-users/65507c9b-fac7-4884-a9b5-f0334d77b7e9%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/65507c9b-fac7-4884-a9b5-f0334d77b7e9%40googlegroups.com?utm_medium=email&utm_source=footer>. -- *Peter van de

Re: Inventory management system

2019-11-22 Thread Peter Mudoko
Yes @Ben On Fri, 22 Nov 2019, 15:07 Ben Indangasy, wrote: > Peter this already running? > > Sent from my iPhone > > On Nov 22, 2019, at 7:23 AM, Peter Mudoko wrote: > >  > > > > if you want i can show you its ready made > > > > Systems develop

Re: https setup

2019-11-11 Thread Peter van der Does
ups.google.com/d/msgid/django-users/b8030e6a-e5a7-47fd-afcd-bc5a0c0ebc6b%40googlegroups.com?utm_medium=email&utm_source=footer>. -- *Peter van der Does o: ***410-584-2500 m: 732-425-3102 *ONeil Interactive, Inc * oneilinteractive.com <http://www.oneilinteractive.com/> ** -- You rec

  1   2   3   4   5   6   7   8   9   10   >