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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8epOJHc3Mk0iacuS97Afr_JjeN7vZWi5NBt9L_hu937uGA%40mail.gmail.com.


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-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8eqZap1_4kPKuMWovWWtPUVHZN7TFnLqgX7K3Om4cg8Npg%40mail.gmail.com.


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 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/CAL8t8eoA8e3otzQQVujA7uKVtUaNj26FPi_rNPmk3KrvgF%2BSHw%40mail.gmail.com.


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 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/CAL8t8eqJTRnRaZJo42U2EhiWpP6m_LLiwr1SK%3DQ35b6-BqkQpg%40mail.gmail.com.


Re: django utils Integrity error

2021-05-21 Thread Peter Kirieny
would you lhelp with this please
am trying to paginate but its not working and i think its because of the
warning
local variable 'products' is not used

def store(request):
category = request.GET.get('Category')
if category is None:
products =
Product.objects.order_by('-category').filter(is_published=True)
page_num = request.GET.get("page")
paginator = Paginator(products, 2)
try:
products = paginator.page(page_num)
except PageNotAnInteger:
products = paginator.page(1)
except EmptyPage:
products = paginator.page(paginator.num_pages)
else:
products = Product.objects.filter(category__name=category)

data = cartData(request)

cartItems = data['cartItems']

categories = Category.objects.all()

products = Product.objects.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:

> 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:
>>
>> 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
>>
>> class Product(models.Model):
>> name = models.CharField(max_length=200)
>> category = models.ForeignKey(Category, on_delete=models.CASCADE)
>> price = models.FloatField()
>> digital = models.BooleanField(default=False, null=True, blank=True)
>> image = models.ImageField(null=True, blank=True)
>>
>> def __str__(self):
>> return self.name
>>
>> --
>> 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/CAL8t8eqJsenwOmJA%3DO_pdcb8Vk4KnjSijoiUNe5H%3DRpPO6%3D32A%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAL8t8eqJsenwOmJA%3DO_pdcb8Vk4KnjSijoiUNe5H%3DRpPO6%3D32A%40mail.gmail.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/a3b0ab19-e675-fdeb-04f2-274f2018988b%40antonischristofides.com
>> <https://groups.google.com/d/msgid/django-users/a3b0ab19-e675-fdeb-04f2-274f2018988b%40antonischristofides.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/CAL8t8epdnDv0DnZ0qNDBi979qiC0zv8giJ0f6uoa0xDpQt3wFQ%40mail.gmail.com.


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:
>
> 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
>
> class Product(models.Model):
> name = models.CharField(max_length=200)
> category = models.ForeignKey(Category, on_delete=models.CASCADE)
> price = models.FloatField()
> digital = models.BooleanField(default=False, null=True, blank=True)
> image = models.ImageField(null=True, blank=True)
>
> def __str__(self):
> return self.name
>
> --
> 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/CAL8t8eqJsenwOmJA%3DO_pdcb8Vk4KnjSijoiUNe5H%3DRpPO6%3D32A%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAL8t8eqJsenwOmJA%3DO_pdcb8Vk4KnjSijoiUNe5H%3DRpPO6%3D32A%40mail.gmail.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/a3b0ab19-e675-fdeb-04f2-274f2018988b%40antonischristofides.com
> <https://groups.google.com/d/msgid/django-users/a3b0ab19-e675-fdeb-04f2-274f2018988b%40antonischristofides.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/CAL8t8erV8PfSa6VwWsZyJotcpPeWAwVZAhtU9YY%3DsnJsX%2B-uEA%40mail.gmail.com.


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


class Product(models.Model):
name = models.CharField(max_length=200)
category = models.ForeignKey(Category, on_delete=models.CASCADE)
price = models.FloatField()
digital = models.BooleanField(default=False, null=True, blank=True)
image = models.ImageField(null=True, blank=True)

def __str__(self):
return self.name

-- 
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/CAL8t8eqJsenwOmJA%3DO_pdcb8Vk4KnjSijoiUNe5H%3DRpPO6%3D32A%40mail.gmail.com.


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 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=True)
> > order = models.ForeignKey(Order, on_delete=models.SET_NULL, null=True)
> >quantity = models.IntegerField(default=0, null=True, blank=True)
> >date_added = models.DateTimeField(auto_now_add=True)
> >
> >@property
> >def get_total(self):
> >total = self.product.price * self.quantity
> >return total
> >
> >
> >
> >AttributeError at /cart/
> >
> >'NoneType' object has no attribute 'price'
> >
> >Request Method: GET
> >Request URL: http://127.0.0.1:8000/cart/
> >Django Version: 3.2
> >Exception Type: AttributeError
> >Exception Value:
> >
> >'NoneType' object has no attribute 'price'
> >
> >Exception Location:
> >C:\Users\Admin\PycharmProject\MyProject\Ecommerce\shop\models.py, line
> >71,
> >in get_total
> >Python Executable:
> >C:\Users\Admin\PycharmProject\MyProject\venv\Scripts\python.exe
> >Python Version: 3.8.2
> >Python Path:
> >
> >['C:\\Users\\Admin\\PycharmProject\\MyProject\\Ecommerce',
>
> >'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\python38.zip',
> > 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\DLLs',
> > 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\lib',
> > 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38',
> > 'C:\\Users\\Admin\\PycharmProject\\MyProject\\venv',
> >'C:\\Users\\Admin\\PycharmProject\\MyProject\\venv\\lib\\site-packages']
> >
> >Server time: Wed, 12 May 2021 08:44:09 +
>
> --
> 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/FDF6B1C2-9134-43D2-8057-EA3BCF14C2A1%40fattuba.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/CAL8t8eoTHsQh2Lu6oVWdF8sZvoBgTMTrEY4KFU__eepU0QP1uw%40mail.gmail.com.


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=True)
order = models.ForeignKey(Order, on_delete=models.SET_NULL, null=True)
quantity = models.IntegerField(default=0, null=True, blank=True)
date_added = models.DateTimeField(auto_now_add=True)

@property
def get_total(self):
total = self.product.price * self.quantity
return total



AttributeError at /cart/

'NoneType' object has no attribute 'price'

Request Method: GET
Request URL: http://127.0.0.1:8000/cart/
Django Version: 3.2
Exception Type: AttributeError
Exception Value:

'NoneType' object has no attribute 'price'

Exception Location:
C:\Users\Admin\PycharmProject\MyProject\Ecommerce\shop\models.py, line 71,
in get_total
Python Executable:
C:\Users\Admin\PycharmProject\MyProject\venv\Scripts\python.exe
Python Version: 3.8.2
Python Path:

['C:\\Users\\Admin\\PycharmProject\\MyProject\\Ecommerce',
 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\python38.zip',
 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\DLLs',
 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38\\lib',
 'C:\\Users\\Admin\\AppData\\Local\\Programs\\Python\\Python38',
 'C:\\Users\\Admin\\PycharmProject\\MyProject\\venv',
 'C:\\Users\\Admin\\PycharmProject\\MyProject\\venv\\lib\\site-packages']

Server time: Wed, 12 May 2021 08:44:09 +

-- 
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/CAL8t8eqL%3Dq6qMeBnk2Nq_TO%3D%3DivFvpuYuCR%3DkgtXv2H%3DHCkaQg%40mail.gmail.com.


Re: setting up urls of many apps

2021-02-21 Thread Peter Kirieny
Thanks Jorge
it was of great help


On Sat, 20 Feb 2021 at 20:33, Jorge Gimeno  wrote:

>
>
> On Wed, Feb 17, 2021 at 11:00 PM RANGA BHARATH JINKA <
> bharathjink...@gmail.com> wrote:
>
>> Hi,
>>
>> Please follow these docs
>> https://docs.djangoproject.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
>>>
>>> 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
>>>>
>>>> On Thu, 18 Feb 2021 at 09:32, RANGA BHARATH JINKA <
>>>> bharathjink...@gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Please check namespace='core' in project urls.py. For shops app also
>>>>> namespace is same. Please change this namesapce to Shops.
>>>>>
>>>>> All the 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, include
>>>>>>
>>>>>> urlpatterns = [
>>>>>> path('admin/', admin.site.urls),
>>>>>> path('accounts/', include('allauth.urls')),
>>>>>> path('', include('core.urls', namespace='core')),
>>>>>> path('Shops/', include('Shops.urls', namespace='core')),
>>>>>>
>>>>>> ]
>>>>>>
>>>>>> if settings.DEBUG:
>>>>>> import debug_toolbar
>>>>>> urlpatterns += [path('__debug__/', include(debug_toolbar.urls))]
>>>>>> urlpatterns += static(settings.MEDIA_URL,
>>>>>>   document_root=settings.MEDIA_ROOT)
>>>>>> urlpatterns += static(settings.STATIC_URL,
>>>>>>   document_root=settings.STATIC_ROOT)
>>>>>>
>>>>>>
>>>>>> in the app's urls.py
>>>>>>
>>>>>> from django.urls import path
>>>>>> from .views import ShopsView
>>>>>>
>>>>>> app_name = 'Shops'
>>>>>>
>>>>>> urlpatterns = [
>>>>>> path('Shops/', ShopsView.as_view(), name=ShopsView)
>>>>>>
>>>>>>
>>>>>> On Wed, 17 Feb 2021 at 17:52, Nicolas nasr  wrote:
>>>>>>
>>>>>>> Can  you please show your urls.py file
>>>>>>>
>>>>>>> On Wednesday, February 17, 2021 at 8:31:50 AM UTC+2
>>>>>>> kirien...@gmail.com wrote:
>>>>>>>
>>>>>>>> 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 django-users+unsubscr...@googlegroups.com.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/django-users/635506c8-35bc-4c76-a937-c992dd1312dbn%40googlegroups.com
>>>>>>> <https://groups.google.com/d/msgid/django-users/635506c8-35bc-4c76-a937-c992dd1312dbn%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 th

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
>
> On Thu, 18 Feb 2021 at 09:32, RANGA BHARATH JINKA <
> bharathjink...@gmail.com> wrote:
>
>> Hi,
>>
>> Please check namespace='core' in project urls.py. For shops app also
>> namespace is same. Please change this namesapce to Shops.
>>
>> All the 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, include
>>>
>>> urlpatterns = [
>>> path('admin/', admin.site.urls),
>>> path('accounts/', include('allauth.urls')),
>>> path('', include('core.urls', namespace='core')),
>>> path('Shops/', include('Shops.urls', namespace='core')),
>>>
>>> ]
>>>
>>> if settings.DEBUG:
>>> import debug_toolbar
>>> urlpatterns += [path('__debug__/', include(debug_toolbar.urls))]
>>> urlpatterns += static(settings.MEDIA_URL,
>>>   document_root=settings.MEDIA_ROOT)
>>> urlpatterns += static(settings.STATIC_URL,
>>>   document_root=settings.STATIC_ROOT)
>>>
>>>
>>> in the app's urls.py
>>>
>>> from django.urls import path
>>> from .views import ShopsView
>>>
>>> app_name = 'Shops'
>>>
>>> urlpatterns = [
>>> path('Shops/', ShopsView.as_view(), name=ShopsView)
>>>
>>>
>>> On Wed, 17 Feb 2021 at 17:52, Nicolas nasr  wrote:
>>>
>>>> Can  you please show your urls.py file
>>>>
>>>> On Wednesday, February 17, 2021 at 8:31:50 AM UTC+2 kirien...@gmail.com
>>>> wrote:
>>>>
>>>>> 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 django-users+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/django-users/635506c8-35bc-4c76-a937-c992dd1312dbn%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/635506c8-35bc-4c76-a937-c992dd1312dbn%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/CAL8t8eoNg68Qd%3DC3OYWonaLs%3DvAKcnzDFxxbrcNK65BJ%3DtnwnQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAL8t8eoNg68Qd%3DC3OYWonaLs%3DvAKcnzDFxxbrcNK65BJ%3DtnwnQ%40mail.gmail.com?utm_medium=email_source=footer>
>>> .
>>>
>>
>>
>> --
>> Thanks and Regards
>>
>> J. Ranga Bharath
>> cell: 9110334114
>>
>> --
>> 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/CAK5m316xfF43VCU%2B6NczvpHPxSKeRsg7XFQa3GpAfHKaf2JENg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAK5m316xfF43VCU%2B6NczvpHPxSKeRsg7XFQa3GpAfHKaf2JENg%40mail.gmail.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/CAL8t8epM3Y9_twr%2Bg83wkYXAaHCjD3MY03RY%2B28QS8BYO2DVEA%40mail.gmail.com.


Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
thanks sir
that's done though the error still persists

On Thu, 18 Feb 2021 at 09:32, RANGA BHARATH JINKA 
wrote:

> Hi,
>
> Please check namespace='core' in project urls.py. For shops app also
> namespace is same. Please change this namesapce to Shops.
>
> All the 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, include
>>
>> urlpatterns = [
>> path('admin/', admin.site.urls),
>> path('accounts/', include('allauth.urls')),
>> path('', include('core.urls', namespace='core')),
>> path('Shops/', include('Shops.urls', namespace='core')),
>>
>> ]
>>
>> if settings.DEBUG:
>> import debug_toolbar
>> urlpatterns += [path('__debug__/', include(debug_toolbar.urls))]
>> urlpatterns += static(settings.MEDIA_URL,
>>   document_root=settings.MEDIA_ROOT)
>> urlpatterns += static(settings.STATIC_URL,
>>   document_root=settings.STATIC_ROOT)
>>
>>
>> in the app's urls.py
>>
>> from django.urls import path
>> from .views import ShopsView
>>
>> app_name = 'Shops'
>>
>> urlpatterns = [
>> path('Shops/', ShopsView.as_view(), name=ShopsView)
>>
>>
>> On Wed, 17 Feb 2021 at 17:52, Nicolas nasr  wrote:
>>
>>> Can  you please show your urls.py file
>>>
>>> On Wednesday, February 17, 2021 at 8:31:50 AM UTC+2 kirien...@gmail.com
>>> wrote:
>>>
>>>> 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 django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/635506c8-35bc-4c76-a937-c992dd1312dbn%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/635506c8-35bc-4c76-a937-c992dd1312dbn%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/CAL8t8eoNg68Qd%3DC3OYWonaLs%3DvAKcnzDFxxbrcNK65BJ%3DtnwnQ%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAL8t8eoNg68Qd%3DC3OYWonaLs%3DvAKcnzDFxxbrcNK65BJ%3DtnwnQ%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>
>
> --
> Thanks and Regards
>
> J. Ranga Bharath
> cell: 9110334114
>
> --
> 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/CAK5m316xfF43VCU%2B6NczvpHPxSKeRsg7XFQa3GpAfHKaf2JENg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAK5m316xfF43VCU%2B6NczvpHPxSKeRsg7XFQa3GpAfHKaf2JENg%40mail.gmail.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/CAL8t8eqDJzHjbqSkO8CKT7oLyk0P587Fm0w1fZ0Y3cgPwj%3DZjA%40mail.gmail.com.


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('core.urls', namespace='core')),
path('Shops/', include('Shops.urls', namespace='core')),

]

if settings.DEBUG:
import debug_toolbar
urlpatterns += [path('__debug__/', include(debug_toolbar.urls))]
urlpatterns += static(settings.MEDIA_URL,
  document_root=settings.MEDIA_ROOT)
urlpatterns += static(settings.STATIC_URL,
  document_root=settings.STATIC_ROOT)


in the app's urls.py

from django.urls import path
from .views import ShopsView

app_name = 'Shops'

urlpatterns = [
path('Shops/', ShopsView.as_view(), name=ShopsView)


On Wed, 17 Feb 2021 at 17:52, Nicolas nasr  wrote:

> Can  you please show your urls.py file
>
> On Wednesday, February 17, 2021 at 8:31:50 AM UTC+2 kirien...@gmail.com
> wrote:
>
>> 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 django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/635506c8-35bc-4c76-a937-c992dd1312dbn%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/CAL8t8eoNg68Qd%3DC3OYWonaLs%3DvAKcnzDFxxbrcNK65BJ%3DtnwnQ%40mail.gmail.com.


Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
Exception in thread django-main-thread:
Traceback (most recent call last):
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py",
line 932, in _bootstrap_inner
self.run()
  File
"C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py",
line 870, in run
self._target(*self._args, **self._kwargs)
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\utils\autoreload.py",
line 53, in wrapper
fn(*args, **kwargs)
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\management\commands\runserver.py",
line 118, in inner_run
self.check(display_num_errors=True)
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\management\base.py",
line 392, in check
all_issues = checks.run_checks(
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\registry.py",
line 70, in run_checks
new_errors = check(app_configs=app_configs, databases=databases)
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py",
line 13, in check_url_config
return check_resolver(resolver)
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py",
line 23, in check_resolver
return check_method()
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\urls\resolvers.py",
line 409, in check
messages.extend(check_resolver(pattern))
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py",
line 23, in check_resolver
return check_method()
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\urls\resolvers.py",
line 409, in check
messages.extend(check_resolver(pattern))
  File
"C:\Users\Admin\PycharmProject\Ecomm\venv\lib\site-packages\django\core\checks\urls.py",
line 23, in check_resolver
return check_method()
  File
"C:\Users\Admin\PycharmProject\Ecomm\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 ":" in self.pattern.name:
TypeError: argument of type 'type' is not iterable


On Wed, 17 Feb 2021 at 09:31, Peter Kirieny  wrote:

> 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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8eo3DtDubtMg1vnrbkVXP7uLEJXG0sZOuiVzJAZLQ%3D01bQ%40mail.gmail.com.


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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8eoZbPizoFodfX_TSXkAr%2B1CsNY8%3D2rNpobTcn4Of-ZXjg%40mail.gmail.com.


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 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/CAL8t8eqA0%2B_vumUtLX%3Dy8KhR7Cb2ZCMOxfs-HrRoYnwwR5QP-A%40mail.gmail.com.


Re: Ongoing project

2020-12-18 Thread Peter Kirieny
Okay guys, I've got your feedback
We'll make a team, stay tuned

On Fri, Dec 18, 2020, 01:19 Onlyo  wrote:

> still a bit of a junior, but I'm also interested
>
> On Thu, Dec 17, 2020 at 11:05 PM Hesham Mahmoud <
> heshammahmoud...@gmail.com> wrote:
>
>> 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 working on it include me please
>>>>
>>>> On Thu, Dec 17, 2020, 17:13 Peter Kirieny 
>>>> wrote:
>>>>
>>>>> 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
>>>>> 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/CAL8t8eovVqpPJGfTAE9Q_%3DuPdazu3xxF-79CQxmcf7MNNAL6YA%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CAL8t8eovVqpPJGfTAE9Q_%3DuPdazu3xxF-79CQxmcf7MNNAL6YA%40mail.gmail.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/CAJhs3iNzLhrJvVutzZUZNnVu-gQkdYdMPaaB04BLPpsCOQsUMg%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAJhs3iNzLhrJvVutzZUZNnVu-gQkdYdMPaaB04BLPpsCOQsUMg%40mail.gmail.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/CADrA_5U44g7mOSrRRb3j4SnYbW9C2W-PDadsuf7EdMK2wo7-GQ%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CADrA_5U44g7mOSrRRb3j4SnYbW9C2W-PDadsuf7EdMK2wo7-GQ%40mail.gmail.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/CAF5oTnBWmEOAcKnZgtweQFJrOyR46ms7J0ENvWfA-FZZbTnMxw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAF5oTnBWmEOAcKnZgtweQFJrOyR46ms7J0ENvWfA-FZZbTnMxw%40mail.gmail.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/CA%2BGoEFBsmE6%2Bk098v9hWOjJ2_2KBroeVYGNM8gCP2Fgdh1OjuA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BGoEFBsmE6%2Bk098v9hWOjJ2_2KBroeVYGNM8gCP2Fgdh1OjuA%40mail.gmail.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/CAL8t8ep6K_1OyPchHTBcsaUd51FYrcAu%3DykOcrZWP1BeZjtfkQ%40mail.gmail.com.


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 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/CAL8t8eovVqpPJGfTAE9Q_%3DuPdazu3xxF-79CQxmcf7MNNAL6YA%40mail.gmail.com.


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 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/CAL8t8epXffzY6L6ox8whRQuf16n1bGOuQ9pGnHEWPt_XQBahqg%40mail.gmail.com.


[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 email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8erGTN83dVhkmK31_qPeEughaNfV6mM%2BQB%2Bqhw4oSWFCag%40mail.gmail.com.


Re: help

2020-06-24 Thread Peter Kirieny
thanks Robert

On Wed, 24 Jun 2020 at 08:35, Robert Rajendra 
wrote:

> to configure virtual environment
> 1. python -m pip install virtualenv
> 2. go to project folder and type:- virtualenv 
> 3. source /bin/activate
> 4. Once it is activated you will see the name of your project 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, Kasper Laudrup 
> wrote:
>
>> Hi Peter,
>>
>> On 23/06/2020 13.15, Peter Kirieny wrote:
>> > thank you
>> > how do i activate virtual environment please?
>> >
>>
>>
>> https://hostadvice.com/how-to/how-to-create-a-virtual-environment-for-your-django-projects-using-virtualenv/
>>
>> Was the first result I could find on a Google search.
>>
>> Kind regards,
>>
>> Kasper Laudrup
>>
>> --
>> 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/e2af77bb-275e-e52b-6730-c72526825ebe%40stacktrace.dk
>> .
>>
>
>
> --
>
> *Robert Rajendra*
>
> Associate Network/Server Support Engineer
>
> ITH
>
> P: +91 863.087.3094 <+91%2086308%2073094>
>
> W: www.ITHands.com <http://www.ithands.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/CABbC_KH%3D4E2DaBb%3DovW9-hDBLgV2gBr%3Dax0ycktNFDtNtxtoZw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CABbC_KH%3D4E2DaBb%3DovW9-hDBLgV2gBr%3Dax0ycktNFDtNtxtoZw%40mail.gmail.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/CAL8t8erR3M%3DiUT_Nr6QM3pP50J8fVfwguqQATF9tyE_oWwqRfw%40mail.gmail.com.


Re: help

2020-06-23 Thread Peter Kirieny
thank you
how do i activate virtual environment please?

On Tue, 23 Jun 2020 at 12:45, meera gangani 
wrote:

> DATABASES = {'default': {
> 'ENGINE': 'django.db.backends.postgresql_psycopg2',
> 'NAME': 'my_local_db',
> 'USER': 'admin',
> 'PASSWORD': 'mypassword',
> 'HOST': 'localhost',}
>
> Otherwise
>
> 'USERNAME': 'admin',
>
> You can try both !
>
> On Tue, Jun 23, 2020 at 2:21 PM Peter Kirieny 
> wrote:
>
>> 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 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
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/cea920f9-7c3d-4eb7-89fc-c61135652807o%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/cea920f9-7c3d-4eb7-89fc-c61135652807o%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/CAL8t8er20JjYX3oNnZRCeLwe5nyZODgqDsTYpixgYK33ZfLYew%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAL8t8er20JjYX3oNnZRCeLwe5nyZODgqDsTYpixgYK33ZfLYew%40mail.gmail.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/CANaPPPLDFEAQ3ZKnEtA7Os5926L7ZOdO0i%2B%2BwkFKgaDgfT1cSg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CANaPPPLDFEAQ3ZKnEtA7Os5926L7ZOdO0i%2B%2BwkFKgaDgfT1cSg%40mail.gmail.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/CAL8t8eri9mPL2Lix1ZP592AiFqoj8xF2x7Ud_m2g%3DrdCF3sjOg%40mail.gmail.com.


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 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 an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/cea920f9-7c3d-4eb7-89fc-c61135652807o%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cea920f9-7c3d-4eb7-89fc-c61135652807o%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/CAL8t8er20JjYX3oNnZRCeLwe5nyZODgqDsTYpixgYK33ZfLYew%40mail.gmail.com.


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 an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAL8t8eooUCTmDSNix8xhN8n65DnqXU5b-H-iFJuGhDFs-Zf-NQ%40mail.gmail.com.


Re: someone to help in this please

2020-06-18 Thread Peter Kirieny
thanks again  Richard, this helped a lot

On Wed, 17 Jun 2020 at 16:07, Richard Balwane 
wrote:

> -> Do a .whl installation - In the environment!
> Download  "GDAL-3.0.4-cp37-cp37m-win_amd64.whl", if using Python 3.7 on
> Windows 64-bit
> Say...
> Command(env activated, path to the file):
> python.exe -m pip install
> "C:\\Users\\Mossad\\Downloads\\GDAL-3.0.4-cp37-cp37m-win_amd64.whl"
>
>  ->  Include 'gdal300'  in
> env\Lib\site-packages\django\contrib\gis\gdal\libgdal.py file for this
> GDAL-3.0.4 .whl installation
> (There is a list of these .dlls for nt users)
>   Set:
> 1. GDAL_LIBRARY_PATH in settings.py:
>   import os
>   GDAL_LIBRARY_PATH = os.path.join(
> PROJECT_DIR, r"env\\Lib\\site-packages\\osgeo\\gdal300.dll"
> )
>
> 2.  GDAL_DRIVER_PATH = os.path.join(
> PROJECT_DIR,
> r"env\\Lib\site-packages\\osgeo\\gdalplugins\\ogr_FileGDB.dll"
> )
>
> And, you are good to go.
>
> Praise be to The Almighty God.
>
>
>
> *Richard Dick Balwane*
>
> *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:
>
>> 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 setting GDAL_LIBRARY_PATH in your settings.
>>
>> the libraries are installed just don't know  how to set the paths
>> 'am new in programming'
>>
>> --
>> 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/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.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/CAAjYwK9JRdX%3DyUtrkeV6jxJsDtHKS-NfP30buww2NbkHjPwLjQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAAjYwK9JRdX%3DyUtrkeV6jxJsDtHKS-NfP30buww2NbkHjPwLjQ%40mail.gmail.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/CAL8t8erQZ0bzt%2BHN%2BVpXX-UBnptGNujz%2Bts9T3pVnth-8ehH4Q%40mail.gmail.com.


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 Windows?
>
> It would have been quite useful if you had written that in your initial
> question.
>
> I'm not very experienced on that platform, but the installer you used
> has most likely installed a library somewhere, I assume in "Program
> Files" or whatever it's called on Windows these days.
>
> Try to figure out where the installer put the GDAL library which is
> probably a file ending with either ".lib" or ".dll" and set your
> GDAL_LIBRARY_PATH to that folder in your settings.
>
> Hope that helps.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/f68cf720-4fe2-cf15-687b-0ecda634b41f%40stacktrace.dk
> .
>

-- 
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/CAL8t8eqQj95TcjFiwBGKmCqz1UJWCdwTOuseoyEZsSXzhNUESw%40mail.gmail.com.


Re: someone to help in this please

2020-06-17 Thread Peter Kirieny
Thanks to all, let me try and hope you won't mind me coming back in case of
anything
'AM NEW'

On Wed, 17 Jun 2020 at 16:07, Richard Balwane 
wrote:

> -> Do a .whl installation - In the environment!
> Download  "GDAL-3.0.4-cp37-cp37m-win_amd64.whl", if using Python 3.7 on
> Windows 64-bit
> Say...
> Command(env activated, path to the file):
> python.exe -m pip install
> "C:\\Users\\Mossad\\Downloads\\GDAL-3.0.4-cp37-cp37m-win_amd64.whl"
>
>  ->  Include 'gdal300'  in
> env\Lib\site-packages\django\contrib\gis\gdal\libgdal.py file for this
> GDAL-3.0.4 .whl installation
> (There is a list of these .dlls for nt users)
>   Set:
> 1. GDAL_LIBRARY_PATH in settings.py:
>   import os
>   GDAL_LIBRARY_PATH = os.path.join(
> PROJECT_DIR, r"env\\Lib\\site-packages\\osgeo\\gdal300.dll"
> )
>
> 2.  GDAL_DRIVER_PATH = os.path.join(
> PROJECT_DIR,
> r"env\\Lib\site-packages\\osgeo\\gdalplugins\\ogr_FileGDB.dll"
> )
>
> And, you are good to go.
>
> Praise be to The Almighty God.
>
>
>
> *Richard Dick Balwane*
>
> *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:
>
>> 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 setting GDAL_LIBRARY_PATH in your settings.
>>
>> the libraries are installed just don't know  how to set the paths
>> 'am new in programming'
>>
>> --
>> 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/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.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/CAAjYwK9JRdX%3DyUtrkeV6jxJsDtHKS-NfP30buww2NbkHjPwLjQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAAjYwK9JRdX%3DyUtrkeV6jxJsDtHKS-NfP30buww2NbkHjPwLjQ%40mail.gmail.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/CAL8t8epdQ%3Dv0DSX5z%2BNeovrpQ3gb-uy3uhYTOCGt7FLRfyOZRw%40mail.gmail.com.


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:
>
>> 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 setting GDAL_LIBRARY_PATH in your settings.
>>
>> the libraries are installed just don't know  how to set the paths
>> 'am new in programming'
>>
>> --
>> 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/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.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/CAHGmjWWFFha3%3DqU_%2BYf60Vvz5bhuCA6G9-raXasbA89GSB_Yyw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAHGmjWWFFha3%3DqU_%2BYf60Vvz5bhuCA6G9-raXasbA89GSB_Yyw%40mail.gmail.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/CAL8t8eoWwwtWC%3DHk9b1JNy%3D8ODxUwmx7TLfxDL%3Dc81TxxFyOeQ%40mail.gmail.com.


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 setting GDAL_LIBRARY_PATH in your settings.

the libraries are installed just don't know  how to set the paths
'am new in programming'

-- 
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/CAL8t8eof1jY3wwUa9Fj_owAK8WEoVpZSFnOCFrQsmD_w3Yy%3Dfg%40mail.gmail.com.