Re: Need help in python Django project "online train ticket booking system"

2024-02-22 Thread Daniel Martinez
Hello, what is the problem you are experimenting? Canyou please provide
code?

On Mon, Feb 19, 2024, 9:21 AM Surya Santhosh 
wrote:

> Need help in python Django project "online train ticket booking system"
>
> --
> You received this message because you are subscribed 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/4b192345-549f-466f-96a8-429037e14875n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4b192345-549f-466f-96a8-429037e14875n%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/CANp4oeuWD%2BNmQWonAuUh-7cQCZUkXgnOY33y1%2Bts5bKnJqZv0g%40mail.gmail.com.


Re: Need help in python Django project "online train ticket booking system"

2024-02-21 Thread Fasila Ali
I am Interested

On Mon, 19 Feb 2024, 9:51 pm Surya Santhosh, 
wrote:

> Need help in python Django project "online train ticket booking system"
>
> --
> You received this message because you are subscribed 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/4b192345-549f-466f-96a8-429037e14875n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4b192345-549f-466f-96a8-429037e14875n%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/CABnbZxYmoA-Drek8sEJiG8%2Br7pwwYqxE6drFZzgOem%2BqJmBLxg%40mail.gmail.com.


Need help in python Django project "online train ticket booking system"

2024-02-19 Thread Surya Santhosh
Need help in python Django project "online train ticket booking system"

-- 
You received this message because you are subscribed 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/4b192345-549f-466f-96a8-429037e14875n%40googlegroups.com.


Re: Need help setting up my Django environment

2024-02-18 Thread kge...@gmail.com
**What Ryan said about incompatibility

If you want to pick a particular version of python (say, 3.12) when you 
create an env use:

conda create -n myEnv python==3.12

On Sunday, February 18, 2024 at 11:48:39 AM UTC-5 kge...@gmail.com wrote:

> Saw this on stack overflow: 
> https://stackoverflow.com/questions/70347099/error-installing-a-django-project-attrributeerror-module-collections-has-no-a
>
> Supports what Mordecai Etukudo said about version incompatability.
>
> *Type "help", "copyright", "credits" or "license" for more information. *
> *>>> import collections *
> *>>> collections.Iterator *
> *:1: DeprecationWarning: Using or importing the ABCs from 
> 'collections' instead of from 'collections.abc' is deprecated since Python 
> 3.3, and in 3.10 it will stop working *
> **
>
> How mature is your project? Changing python (or django) versions isnt 
> always trivial but I suspect your project is fairly new though and you may 
> want to consider using the latest of each.
>
> On Saturday, February 17, 2024 at 3:32:32 PM UTC-5 Ryan Nowakowski wrote:
>
>> Your Python version is likely too new for your version of Django.
>>
>>
>> On February 17, 2024 6:06:41 AM CST, Brigid Sang  
>> wrote:
>>
>>> I'm encoutering the below error, how can I fix this
>>>
>>> Traceback (most recent call last):
>>>   File "/home/brigid/.local/bin/django-admin", line 8, in 
>>> sys.exit(execute_from_command_line())
>>>  ^^^
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/__init__.py",
>>>  
>>> line 371, in execute_from_command_line
>>> utility.execute()
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/__init__.py",
>>>  
>>> line 365, in execute
>>> self.fetch_command(subcommand).run_from_argv(self.argv)
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/base.py",
>>>  
>>> line 288, in run_from_argv
>>> self.execute(*args, **cmd_options)
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/base.py",
>>>  
>>> line 335, in execute
>>> output = self.handle(*args, **options)
>>>  ^
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/commands/startproject.py",
>>>  
>>> line 20, in handle
>>> super().handle('project', project_name, target, **options)
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/templates.py",
>>>  
>>> line 117, in handle
>>> django.setup()
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/__init__.py", line 
>>> 16, in setup
>>> from django.urls import set_script_prefix
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/__init__.py", 
>>> line 1, in 
>>> from .base import (
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/base.py", 
>>> line 8, in 
>>> from .exceptions import NoReverseMatch, Resolver404
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/exceptions.py",
>>>  
>>> line 1, in 
>>> from django.http import Http404
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/http/__init__.py", 
>>> line 5, in 
>>> from django.http.response import (
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/http/response.py", 
>>> line 13, in 
>>> from django.core.serializers.json import DjangoJSONEncoder
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/serializers/__init__.py",
>>>  
>>> line 23, in 
>>> from django.core.serializers.base import SerializerDoesNotExist
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/serializers/base.py",
>>>  
>>> line 6, in 
>>> from django.db import models
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/__init__.py",
>>>  
>>> line 3, in 
>>> from django.db.models.aggregates import *  # NOQA
>>> ^
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/aggregates.py",
>>>  
>>> line 5, in 
>>> from django.db.models.expressions import Case, Func, Star, When
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/expressions.py",
>>>  
>>> line 486, in 
>>> class TemporalSubtraction(CombinedExpression):
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/expressions.py",
>>>  
>>> line 487, in TemporalSubtraction
>>> output_field = fields.DurationField()
>>>^^
>>>   File 
>>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py",
>>>  
>>> line 155, in __init__
>>> if isinstance(choices, collections.Iterator):
>>>
>>> 

Re: Need help setting up my Django environment

2024-02-18 Thread kge...@gmail.com
Saw this on stack 
overflow: 
https://stackoverflow.com/questions/70347099/error-installing-a-django-project-attrributeerror-module-collections-has-no-a

Supports what Mordecai Etukudo said about version incompatability.

*Type "help", "copyright", "credits" or "license" for more information. *
*>>> import collections *
*>>> collections.Iterator *
*:1: DeprecationWarning: Using or importing the ABCs from 
'collections' instead of from 'collections.abc' is deprecated since Python 
3.3, and in 3.10 it will stop working *
**

How mature is your project? Changing python (or django) versions isnt 
always trivial but I suspect your project is fairly new though and you may 
want to consider using the latest of each.

On Saturday, February 17, 2024 at 3:32:32 PM UTC-5 Ryan Nowakowski wrote:

> Your Python version is likely too new for your version of Django.
>
>
> On February 17, 2024 6:06:41 AM CST, Brigid Sang  
> wrote:
>
>> I'm encoutering the below error, how can I fix this
>>
>> Traceback (most recent call last):
>>   File "/home/brigid/.local/bin/django-admin", line 8, in 
>> sys.exit(execute_from_command_line())
>>  ^^^
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/__init__.py",
>>  
>> line 371, in execute_from_command_line
>> utility.execute()
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/__init__.py",
>>  
>> line 365, in execute
>> self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/base.py",
>>  
>> line 288, in run_from_argv
>> self.execute(*args, **cmd_options)
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/base.py",
>>  
>> line 335, in execute
>> output = self.handle(*args, **options)
>>  ^
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/commands/startproject.py",
>>  
>> line 20, in handle
>> super().handle('project', project_name, target, **options)
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/templates.py",
>>  
>> line 117, in handle
>> django.setup()
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/__init__.py", line 
>> 16, in setup
>> from django.urls import set_script_prefix
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/__init__.py", 
>> line 1, in 
>> from .base import (
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/base.py", 
>> line 8, in 
>> from .exceptions import NoReverseMatch, Resolver404
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/exceptions.py",
>>  
>> line 1, in 
>> from django.http import Http404
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/http/__init__.py", 
>> line 5, in 
>> from django.http.response import (
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/http/response.py", 
>> line 13, in 
>> from django.core.serializers.json import DjangoJSONEncoder
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/serializers/__init__.py",
>>  
>> line 23, in 
>> from django.core.serializers.base import SerializerDoesNotExist
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/core/serializers/base.py",
>>  
>> line 6, in 
>> from django.db import models
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/__init__.py",
>>  
>> line 3, in 
>> from django.db.models.aggregates import *  # NOQA
>> ^
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/aggregates.py",
>>  
>> line 5, in 
>> from django.db.models.expressions import Case, Func, Star, When
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/expressions.py",
>>  
>> line 486, in 
>> class TemporalSubtraction(CombinedExpression):
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/expressions.py",
>>  
>> line 487, in TemporalSubtraction
>> output_field = fields.DurationField()
>>^^
>>   File 
>> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py",
>>  
>> line 155, in __init__
>> if isinstance(choices, collections.Iterator):
>>
>> AttributeError: module 'collections' has no attribute 'Iterator'
>>
>>

-- 
You received this message because you are subscribed 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: Need help setting up my Django environment

2024-02-17 Thread Mordecai Etukudo
Comment you model. Py and the run if you still have the issue not this is
to fine how where the issue if from

On Sat, Feb 17, 2024, 1:38 PM Brigid Sang  wrote:

> I'm encoutering the below error, how can I fix this
>
> Traceback (most recent call last):
>   File "/home/brigid/.local/bin/django-admin", line 8, in 
> sys.exit(execute_from_command_line())
>  ^^^
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/__init__.py",
> line 371, in execute_from_command_line
> utility.execute()
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/__init__.py",
> line 365, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/base.py",
> line 288, in run_from_argv
> self.execute(*args, **cmd_options)
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/base.py",
> line 335, in execute
> output = self.handle(*args, **options)
>  ^
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/commands/startproject.py",
> line 20, in handle
> super().handle('project', project_name, target, **options)
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/core/management/templates.py",
> line 117, in handle
> django.setup()
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/__init__.py", line
> 16, in setup
> from django.urls import set_script_prefix
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/__init__.py",
> line 1, in 
> from .base import (
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/base.py",
> line 8, in 
> from .exceptions import NoReverseMatch, Resolver404
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/urls/exceptions.py",
> line 1, in 
> from django.http import Http404
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/http/__init__.py",
> line 5, in 
> from django.http.response import (
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/http/response.py",
> line 13, in 
> from django.core.serializers.json import DjangoJSONEncoder
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/core/serializers/__init__.py",
> line 23, in 
> from django.core.serializers.base import SerializerDoesNotExist
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/core/serializers/base.py",
> line 6, in 
> from django.db import models
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/__init__.py",
> line 3, in 
> from django.db.models.aggregates import *  # NOQA
> ^
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/aggregates.py",
> line 5, in 
> from django.db.models.expressions import Case, Func, Star, When
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/expressions.py",
> line 486, in 
> class TemporalSubtraction(CombinedExpression):
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/expressions.py",
> line 487, in TemporalSubtraction
> output_field = fields.DurationField()
>^^
>   File
> "/home/brigid/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py",
> line 155, in __init__
> if isinstance(choices, collections.Iterator):
>
> AttributeError: module 'collections' has no attribute 'Iterator'
>
> --
> You received this message because you are subscribed 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/ce94bd02-d38d-464d-9d06-2fbd3d5e7340n%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/CAMZpRz-hZX4X-_ZgvcWj_8izpqv33Tc69vfYVEOpyrXGWOEfeg%40mail.gmail.com.


Need help setting up my Django environment

2024-02-17 Thread Brigid Sang
I'm encoutering the below error, how can I fix this

Traceback (most recent call last):
  File "/home/brigid/.local/bin/django-admin", line 8, in 
sys.exit(execute_from_command_line())
 ^^^
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/core/management/__init__.py",
 
line 371, in execute_from_command_line
utility.execute()
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/core/management/__init__.py",
 
line 365, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/core/management/base.py",
 
line 288, in run_from_argv
self.execute(*args, **cmd_options)
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/core/management/base.py",
 
line 335, in execute
output = self.handle(*args, **options)
 ^
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/core/management/commands/startproject.py",
 
line 20, in handle
super().handle('project', project_name, target, **options)
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/core/management/templates.py",
 
line 117, in handle
django.setup()
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/__init__.py", line 
16, in setup
from django.urls import set_script_prefix
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/urls/__init__.py", 
line 1, in 
from .base import (
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/urls/base.py", 
line 8, in 
from .exceptions import NoReverseMatch, Resolver404
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/urls/exceptions.py", 
line 1, in 
from django.http import Http404
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/http/__init__.py", 
line 5, in 
from django.http.response import (
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/http/response.py", 
line 13, in 
from django.core.serializers.json import DjangoJSONEncoder
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/core/serializers/__init__.py",
 
line 23, in 
from django.core.serializers.base import SerializerDoesNotExist
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/core/serializers/base.py",
 
line 6, in 
from django.db import models
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/db/models/__init__.py",
 
line 3, in 
from django.db.models.aggregates import *  # NOQA
^
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/db/models/aggregates.py",
 
line 5, in 
from django.db.models.expressions import Case, Func, Star, When
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/db/models/expressions.py",
 
line 486, in 
class TemporalSubtraction(CombinedExpression):
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/db/models/expressions.py",
 
line 487, in TemporalSubtraction
output_field = fields.DurationField()
   ^^
  File 
"/home/brigid/.local/lib/python3.11/site-packages/django/db/models/fields/__init__.py",
 
line 155, in __init__
if isinstance(choices, collections.Iterator):
   
AttributeError: module 'collections' has no attribute 'Iterator'

-- 
You received this message because you are subscribed 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/ce94bd02-d38d-464d-9d06-2fbd3d5e7340n%40googlegroups.com.


Re: hello forks, i need help

2023-08-17 Thread ivan harold
https://www.w3schools.com/django/django_admin_include_members.php
explore the site maybe what you are ooking for is in there 
check this one. 

On Thursday, August 17, 2023 at 11:53:00 AM UTC-5 Abdoulaye SENE wrote:

> the problem is i don't see users  in admin.i only see groups. do not know 
> why.
>
>
> Le jeu. 17 août 2023 à 16:48, Abdoulaye SENE  a 
> écrit :
>
>> thanks a lot
>>
>>
>> Le jeu. 17 août 2023 à 16:38, ivan harold  a 
>> écrit :
>>
>>> https://www.w3schools.com/django/django_admin_create_user.php 
>>> check this one out.
>>>
>>> On Thursday, August 17, 2023 at 8:26:29 AM UTC-5 Abdoulaye SENE wrote:
>>>
 i have created a group named adminis. how to create users in the group 
 using django 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%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/5a1d8fa0-8eeb-4502-a9dc-b6b3abbfe3f0n%40googlegroups.com.


Re: hello forks, i need help

2023-08-17 Thread Abdoulaye SENE
the problem is i don't see users  in admin.i only see groups. do not know
why.


Le jeu. 17 août 2023 à 16:48, Abdoulaye SENE 
a écrit :

> thanks a lot
>
>
> Le jeu. 17 août 2023 à 16:38, ivan harold  a
> écrit :
>
>> https://www.w3schools.com/django/django_admin_create_user.php
>> check this one out.
>>
>> On Thursday, August 17, 2023 at 8:26:29 AM UTC-5 Abdoulaye SENE wrote:
>>
>>> i have created a group named adminis. how to create users in the group
>>> using django 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/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%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/CAK9RMT3MKx9FZ7uwUwLndMgEoPYb3W8a7Otn0zTGUGWaK9G88w%40mail.gmail.com.


Re: hello forks, i need help

2023-08-17 Thread Abdoulaye SENE
thanks a lot


Le jeu. 17 août 2023 à 16:38, ivan harold  a
écrit :

> https://www.w3schools.com/django/django_admin_create_user.php
> check this one out.
>
> On Thursday, August 17, 2023 at 8:26:29 AM UTC-5 Abdoulaye SENE wrote:
>
>> i have created a group named adminis. how to create users in the group
>> using django 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/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%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/CAK9RMT2DRKUkiVUufEzcya%3Dh91%2BMfQuQS%2BLQhcy5J2XTG406Sw%40mail.gmail.com.


Re: hello forks, i need help

2023-08-17 Thread ivan harold
https://www.w3schools.com/django/django_admin_create_user.php 
check this one out.

On Thursday, August 17, 2023 at 8:26:29 AM UTC-5 Abdoulaye SENE wrote:

> i have created a group named adminis. how to create users in the group 
> using django 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/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%40googlegroups.com.


hello forks, i need help

2023-08-17 Thread Abdoulaye SENE
i have created a group named adminis. how to create users in the group 
using django 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/45e78c82-e392-4a3e-83ec-a0e2d7189f3fn%40googlegroups.com.


Re: need help

2023-07-05 Thread DieHardMan 300
On the server, change the following in settings
DEBUG = True# django will tell what cause the error 
instead of error500
ALLOWED_HOST = ["*"]# this allow all hosts but you should do this only 
for testing
most of the time, error 500 often cause from database connection 
problems in server side, you should create new user in database and give 
permissions to that user (do no use root user)
ในวันที่ วันพฤหัสบดีที่ 6 กรกฎาคม ค.ศ. 2023 เวลา 0 นาฬิกา 49 นาที 56 วินาที 
UTC+7 Bouka Largent เขียนว่า:

> hello 
>
> Le mar. 4 juil. 2023, 4:44, Theresa Taye  a écrit :
>
>> Hello,
>>
>> You see a Server error because Debug is set to False. To know what the 
>> actual error is, turn it back to True. Then when you are done debugging you 
>> can change that especially if you are pushing to production.
>>
>> On Tue, 4 Jul 2023 at 16:21, Abdoulaye SENE  
>> wrote:
>>
>>> thanks for the help. but after  writing ["*"] i see   Server Error (500)
>>>
>>> Le mardi 4 juillet 2023 à 14:46:01 UTC, ALBERT ASHABA AHEEBWA a écrit :
>>>
 Sorry I meant turn 
 DEBUG = True




 Best Regards,

 Albert Ashaba Aheebwa
 +256 781 435857 <+256%20781%20435857>

 On Tue, 4 Jul 2023, 17:44 ALBERT ASHABA AHEEBWA, <
 ashabaahe...@gmail.com> wrote:

> Go to your settings.py and look for allowed_hosts and make it 
> ALLOWED_HOSTS = ["*"]
>
> or better yet, if you are in development, turn
> DEBUG = False
>
>
>
> Best Regards,
>
> Albert Ashaba Aheebwa
> +256 781 435857 <+256%20781%20435857>
>
> On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE,  
> wrote:
>
>> hello,
>> while programming, i see this problem : " CommandError: You must set 
>> settings.ALLOWED_HOSTS if DEBUG is False."
>> i wonder if someone can help me to 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%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/82b9160b-6056-4cc6-9fa5-6d52de5512a1n%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/CAENBRfMNWVA-_jm0eUiDGSL-1kQJvDsLnXGjZ870aivXFEDfCA%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/8663160e-338a-44f6-97df-9c6fab6b1cecn%40googlegroups.com.


Re: need help

2023-07-05 Thread Bouka Largent
hello

Le mar. 4 juil. 2023, 4:44, Theresa Taye  a
écrit :

> Hello,
>
> You see a Server error because Debug is set to False. To know what the
> actual error is, turn it back to True. Then when you are done debugging you
> can change that especially if you are pushing to production.
>
> On Tue, 4 Jul 2023 at 16:21, Abdoulaye SENE 
> wrote:
>
>> thanks for the help. but after  writing ["*"] i see   Server Error (500)
>>
>> Le mardi 4 juillet 2023 à 14:46:01 UTC, ALBERT ASHABA AHEEBWA a écrit :
>>
>>> Sorry I meant turn
>>> DEBUG = True
>>>
>>>
>>>
>>>
>>> Best Regards,
>>>
>>> Albert Ashaba Aheebwa
>>> +256 781 435857 <+256%20781%20435857>
>>>
>>> On Tue, 4 Jul 2023, 17:44 ALBERT ASHABA AHEEBWA, 
>>> wrote:
>>>
 Go to your settings.py and look for allowed_hosts and make it
 ALLOWED_HOSTS = ["*"]

 or better yet, if you are in development, turn
 DEBUG = False



 Best Regards,

 Albert Ashaba Aheebwa
 +256 781 435857 <+256%20781%20435857>

 On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE, 
 wrote:

> hello,
> while programming, i see this problem : " CommandError: You must set
> settings.ALLOWED_HOSTS if DEBUG is False."
> i wonder if someone can help me to 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...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%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/82b9160b-6056-4cc6-9fa5-6d52de5512a1n%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/CAENBRfMNWVA-_jm0eUiDGSL-1kQJvDsLnXGjZ870aivXFEDfCA%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/CAGFr1Ekoi7Pudgm0GRzPK7eVLkMoQz-tkmS%2Bc20gAhrZHwJe_Q%40mail.gmail.com.


Re: need help

2023-07-04 Thread Theresa Taye
Hello,

You see a Server error because Debug is set to False. To know what the
actual error is, turn it back to True. Then when you are done debugging you
can change that especially if you are pushing to production.

On Tue, 4 Jul 2023 at 16:21, Abdoulaye SENE 
wrote:

> thanks for the help. but after  writing ["*"] i see   Server Error (500)
>
> Le mardi 4 juillet 2023 à 14:46:01 UTC, ALBERT ASHABA AHEEBWA a écrit :
>
>> Sorry I meant turn
>> DEBUG = True
>>
>>
>>
>>
>> Best Regards,
>>
>> Albert Ashaba Aheebwa
>> +256 781 435857 <+256%20781%20435857>
>>
>> On Tue, 4 Jul 2023, 17:44 ALBERT ASHABA AHEEBWA, 
>> wrote:
>>
>>> Go to your settings.py and look for allowed_hosts and make it
>>> ALLOWED_HOSTS = ["*"]
>>>
>>> or better yet, if you are in development, turn
>>> DEBUG = False
>>>
>>>
>>>
>>> Best Regards,
>>>
>>> Albert Ashaba Aheebwa
>>> +256 781 435857 <+256%20781%20435857>
>>>
>>> On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE, 
>>> wrote:
>>>
 hello,
 while programming, i see this problem : " CommandError: You must set
 settings.ALLOWED_HOSTS if DEBUG is False."
 i wonder if someone can help me to 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...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%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/82b9160b-6056-4cc6-9fa5-6d52de5512a1n%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/CAENBRfMNWVA-_jm0eUiDGSL-1kQJvDsLnXGjZ870aivXFEDfCA%40mail.gmail.com.


Re: need help

2023-07-04 Thread ALBERT ASHABA AHEEBWA
Server Error can be caused by many issues ranging from database queries to
wrong urls.

Turn debug to true and see what reasons are given .
Are you in production or development?



Best Regards,

Albert Ashaba Aheebwa
+256 781 435857

On Tue, 4 Jul 2023, 18:21 Abdoulaye SENE, 
wrote:

> thanks for the help. but after  writing ["*"] i see   Server Error (500)
>
> Le mardi 4 juillet 2023 à 14:46:01 UTC, ALBERT ASHABA AHEEBWA a écrit :
>
>> Sorry I meant turn
>> DEBUG = True
>>
>>
>>
>>
>> Best Regards,
>>
>> Albert Ashaba Aheebwa
>> +256 781 435857 <+256%20781%20435857>
>>
>> On Tue, 4 Jul 2023, 17:44 ALBERT ASHABA AHEEBWA, 
>> wrote:
>>
>>> Go to your settings.py and look for allowed_hosts and make it
>>> ALLOWED_HOSTS = ["*"]
>>>
>>> or better yet, if you are in development, turn
>>> DEBUG = False
>>>
>>>
>>>
>>> Best Regards,
>>>
>>> Albert Ashaba Aheebwa
>>> +256 781 435857 <+256%20781%20435857>
>>>
>>> On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE, 
>>> wrote:
>>>
 hello,
 while programming, i see this problem : " CommandError: You must set
 settings.ALLOWED_HOSTS if DEBUG is False."
 i wonder if someone can help me to 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...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%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/82b9160b-6056-4cc6-9fa5-6d52de5512a1n%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/CAAQecPeCb6HJMvnC5u_f5ORti50z%2BDEC4APAh-6GAGSDsWCO5w%40mail.gmail.com.


Re: need help

2023-07-04 Thread Abdoulaye SENE
thanks for the help. but after  writing ["*"] i see   Server Error (500)

Le mardi 4 juillet 2023 à 14:46:01 UTC, ALBERT ASHABA AHEEBWA a écrit :

> Sorry I meant turn 
> DEBUG = True
>
>
>
>
> Best Regards,
>
> Albert Ashaba Aheebwa
> +256 781 435857 <+256%20781%20435857>
>
> On Tue, 4 Jul 2023, 17:44 ALBERT ASHABA AHEEBWA,  
> wrote:
>
>> Go to your settings.py and look for allowed_hosts and make it 
>> ALLOWED_HOSTS = ["*"]
>>
>> or better yet, if you are in development, turn
>> DEBUG = False
>>
>>
>>
>> Best Regards,
>>
>> Albert Ashaba Aheebwa
>> +256 781 435857 <+256%20781%20435857>
>>
>> On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE,  
>> wrote:
>>
>>> hello,
>>> while programming, i see this problem : " CommandError: You must set 
>>> settings.ALLOWED_HOSTS if DEBUG is False."
>>> i wonder if someone can help me to 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%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/82b9160b-6056-4cc6-9fa5-6d52de5512a1n%40googlegroups.com.


Re: need help

2023-07-04 Thread ALBERT ASHABA AHEEBWA
Sorry I meant turn
DEBUG = True



Best Regards,

Albert Ashaba Aheebwa
+256 781 435857

On Tue, 4 Jul 2023, 17:44 ALBERT ASHABA AHEEBWA, <
ashabaaheebwaalb...@gmail.com> wrote:

> Go to your settings.py and look for allowed_hosts and make it
> ALLOWED_HOSTS = ["*"]
>
> or better yet, if you are in development, turn
> DEBUG = False
>
>
>
> Best Regards,
>
> Albert Ashaba Aheebwa
> +256 781 435857
>
> On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE, 
> wrote:
>
>> hello,
>> while programming, i see this problem : " CommandError: You must set
>> settings.ALLOWED_HOSTS if DEBUG is False."
>> i wonder if someone can help me to 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%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/CAAQecPc7gSzAvgrWSurng%2BYsRvVjzmVwVYfeY5A7ofGPi093Hw%40mail.gmail.com.


Re: need help

2023-07-04 Thread ALBERT ASHABA AHEEBWA
Go to your settings.py and look for allowed_hosts and make it
ALLOWED_HOSTS = ["*"]

or better yet, if you are in development, turn
DEBUG = False



Best Regards,

Albert Ashaba Aheebwa
+256 781 435857

On Tue, 4 Jul 2023, 17:38 Abdoulaye SENE, 
wrote:

> hello,
> while programming, i see this problem : " CommandError: You must set
> settings.ALLOWED_HOSTS if DEBUG is False."
> i wonder if someone can help me to 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%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/CAAQecPf-j1qSEO2%2BmzdqB-8HqZBG1%2ByVypDv7gD_yLDXR7_xtQ%40mail.gmail.com.


need help

2023-07-04 Thread Abdoulaye SENE
hello,
while programming, i see this problem : " CommandError: You must set 
settings.ALLOWED_HOSTS if DEBUG is False."
i wonder if someone can help me to 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/171c894c-5f04-445d-939f-c6c949caae35n%40googlegroups.com.


Re: Need help with Authenticating and Authorizing

2023-03-10 Thread Namanya Daniel
Right there, all the best

On Fri, 10 Mar 2023 at 22:31, linda jean-philippe <
jeanphilippe.li...@gmail.com> wrote:

> Yes the user is saved and I can see it on the django admin page and no I
> have not hashed the password.
>
> On Fri, Mar 10, 2023 at 1:33 PM Namanya Daniel 
> wrote:
>
>> 1. Have you tried to check from the django admin end, the user is not
>> saved?
>> 2. If the user is saved, did you create a hashed password before saving
>> data in your views?
>>
>> On Fri, 10 Mar 2023 at 21:15, linda jean-philippe <
>> jeanphilippe.li...@gmail.com> wrote:
>>
>>> I created 2 accounts with the django admin page, but the credentials do
>>> not work on the login page. When I create new credentials with the register
>>> page I made, it doesn’t save. I think it’s supposed to save to the database.
>>>
>>> On Mar 10, 2023, at 1:06 PM, Namanya Daniel 
>>> wrote:
>>>
>>> 
>>>
>>> how have you saved your password in registration?
>>>
>>> On Fri, 10 Mar 2023 at 18:02, linda jean-philippe <
>>> jeanphilippe.li...@gmail.com> wrote:
>>>
 I do not know what I am missing. My login page and register page have
 rendered, but when I try to sign up with new credentials, it does not save.
 And on the Django Admin page, it says invalid password and username with
 each attempt.

 --
 You received this message because you are subscribed 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/b9c56cc4-6ab6-4f2b-81f0-48e256ff3685n%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/CAP4VW2X_K03C1ZoZZoCVfCbRBia5SX6OqsPygMixPReHWXe75Q%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/C005769D-7154-43A2-9D0E-A9A53A62148F%40gmail.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/CAP4VW2XfYKiajXg5GYbEs75BRDLa5aD1%2Bbiii__YnWHT0YyE8w%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/CAAeZjhhHaER0308c704JeKrf-P91q8FrF2KjWJpBzwZFmK22bA%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/CAP4VW2UXPnxm_Lmch18E5jqRNPx-Aprpe2QMe%2B2cVTY-13ey-w%40mail.gmail.com.


Re: Need help with Authenticating and Authorizing

2023-03-10 Thread linda jean-philippe
Yes the user is saved and I can see it on the django admin page and no I
have not hashed the password.

On Fri, Mar 10, 2023 at 1:33 PM Namanya Daniel 
wrote:

> 1. Have you tried to check from the django admin end, the user is not
> saved?
> 2. If the user is saved, did you create a hashed password before saving
> data in your views?
>
> On Fri, 10 Mar 2023 at 21:15, linda jean-philippe <
> jeanphilippe.li...@gmail.com> wrote:
>
>> I created 2 accounts with the django admin page, but the credentials do
>> not work on the login page. When I create new credentials with the register
>> page I made, it doesn’t save. I think it’s supposed to save to the database.
>>
>> On Mar 10, 2023, at 1:06 PM, Namanya Daniel 
>> wrote:
>>
>> 
>>
>> how have you saved your password in registration?
>>
>> On Fri, 10 Mar 2023 at 18:02, linda jean-philippe <
>> jeanphilippe.li...@gmail.com> wrote:
>>
>>> I do not know what I am missing. My login page and register page have
>>> rendered, but when I try to sign up with new credentials, it does not save.
>>> And on the Django Admin page, it says invalid password and username with
>>> each attempt.
>>>
>>> --
>>> You received this message because you are subscribed 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/b9c56cc4-6ab6-4f2b-81f0-48e256ff3685n%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/CAP4VW2X_K03C1ZoZZoCVfCbRBia5SX6OqsPygMixPReHWXe75Q%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/C005769D-7154-43A2-9D0E-A9A53A62148F%40gmail.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/CAP4VW2XfYKiajXg5GYbEs75BRDLa5aD1%2Bbiii__YnWHT0YyE8w%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/CAAeZjhhHaER0308c704JeKrf-P91q8FrF2KjWJpBzwZFmK22bA%40mail.gmail.com.


Re: Need help with Authenticating and Authorizing

2023-03-10 Thread Namanya Daniel
1. Have you tried to check from the django admin end, the user is not
saved?
2. If the user is saved, did you create a hashed password before saving
data in your views?

On Fri, 10 Mar 2023 at 21:15, linda jean-philippe <
jeanphilippe.li...@gmail.com> wrote:

> I created 2 accounts with the django admin page, but the credentials do
> not work on the login page. When I create new credentials with the register
> page I made, it doesn’t save. I think it’s supposed to save to the database.
>
> On Mar 10, 2023, at 1:06 PM, Namanya Daniel 
> wrote:
>
> 
>
> how have you saved your password in registration?
>
> On Fri, 10 Mar 2023 at 18:02, linda jean-philippe <
> jeanphilippe.li...@gmail.com> wrote:
>
>> I do not know what I am missing. My login page and register page have
>> rendered, but when I try to sign up with new credentials, it does not save.
>> And on the Django Admin page, it says invalid password and username with
>> each attempt.
>>
>> --
>> You received this message because you are subscribed 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/b9c56cc4-6ab6-4f2b-81f0-48e256ff3685n%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/CAP4VW2X_K03C1ZoZZoCVfCbRBia5SX6OqsPygMixPReHWXe75Q%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/C005769D-7154-43A2-9D0E-A9A53A62148F%40gmail.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/CAP4VW2XfYKiajXg5GYbEs75BRDLa5aD1%2Bbiii__YnWHT0YyE8w%40mail.gmail.com.


Re: Need help with Authenticating and Authorizing

2023-03-10 Thread linda jean-philippe
I created 2 accounts with the django admin page, but the credentials do not work on the login page. When I create new credentials with the register page I made, it doesn’t save. I think it’s supposed to save to the database.On Mar 10, 2023, at 1:06 PM, Namanya Daniel  wrote:how have you saved your password in registration? On Fri, 10 Mar 2023 at 18:02, linda jean-philippe  wrote:I do not know what I am missing. My login page and register page have rendered, but when I try to sign up with new credentials, it does not save. And on the Django Admin page, it says invalid password and username with each attempt.



-- 
You received this message because you are subscribed 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/b9c56cc4-6ab6-4f2b-81f0-48e256ff3685n%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/CAP4VW2X_K03C1ZoZZoCVfCbRBia5SX6OqsPygMixPReHWXe75Q%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/C005769D-7154-43A2-9D0E-A9A53A62148F%40gmail.com.


Re: Need help with Authenticating and Authorizing

2023-03-10 Thread Namanya Daniel
how have you saved your password in registration?

On Fri, 10 Mar 2023 at 18:02, linda jean-philippe <
jeanphilippe.li...@gmail.com> wrote:

> I do not know what I am missing. My login page and register page have
> rendered, but when I try to sign up with new credentials, it does not save.
> And on the Django Admin page, it says invalid password and username with
> each attempt.
>
> --
> You received this message because you are subscribed 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/b9c56cc4-6ab6-4f2b-81f0-48e256ff3685n%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/CAP4VW2X_K03C1ZoZZoCVfCbRBia5SX6OqsPygMixPReHWXe75Q%40mail.gmail.com.


Need help with Authenticating and Authorizing

2023-03-10 Thread linda jean-philippe
I do not know what I am missing. My login page and register page have 
rendered, but when I try to sign up with new credentials, it does not save. 
And on the Django Admin page, it says invalid password and username with 
each attempt.

-- 
You received this message because you are subscribed 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/b9c56cc4-6ab6-4f2b-81f0-48e256ff3685n%40googlegroups.com.


Re: Need help

2023-02-22 Thread herve bineli
Hi Emmanuel,

If you are on Macbook, you can use the excellent app: Dash
https://kapeli.com/dash
But if you are on Windows or Linux, you can use: Zeal https://zealdocs.org/

Best Regards,
BINELI Arsene - binelima...@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/CAJm63OkkQnL8%2BRA2T-2k8V%3Dkz_yQhC2uZqtuCybP6pp5J-k5BQ%40mail.gmail.com.


Re: Need help

2023-02-22 Thread Michael Fladischer

Hi Emmanuel,

Am 22.02.2023 um 00:46 schrieb Emmanuel Wilfried Ilboudo:
Hi all !!! I would like to have the Django documentation in French to 
learn offline. I'm in a place where internet access is a real problem. 
Thanks in advance !!!


you can get the whole documentation in french as a ZIP file here:

https://media.djangoproject.com/docs/django-docs-4.1-fr.zip

Best regards,
Michael

--
You received this message because you are subscribed 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/1e9fb70f-ffe3-c30b-52a6-34c9e2af9bca%40fladi.at.


RE: Need help

2023-02-21 Thread Mike Dewhirst
https://explore.transifex.com/django/django-docs/Might helpM--(Unsigned mail 
from my phone)
 Original message From: Emmanuel Wilfried Ilboudo 
 Date: 22/2/23  13:08  (GMT+10:00) To: 
Django users  Subject: Need help Hi all !!!
I would like to have the Django documentation in French to learn offline.
I'm in a place where internet access is a real problem.
Thanks in advance !!!



-- 
You received this message because you are subscribed 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/9b8662d1-22fb-4d81-bc27-9216ef6d0a9dn%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/63f59a10.050a0220.7eb71.f696SMTPIN_ADDED_MISSING%40gmr-mx.google.com.


Need help

2023-02-21 Thread Emmanuel Wilfried Ilboudo
Hi all !!! I would like to have the Django documentation in French to learn 
offline. I'm in a place where internet access is a real problem. Thanks in 
advance !!!

-- 
You received this message because you are subscribed 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/9b8662d1-22fb-4d81-bc27-9216ef6d0a9dn%40googlegroups.com.


Re: Please i need help in creating a Login page with Django

2023-01-20 Thread Aditi Dwivedi
You have to first create a superuser in your django project.
It is same as creating a root user in Linux or admin user in windows.
Super user can be created as..
1. Run command in django terminal
 Python manage.py createsuperuser


2. It will ask for user name, emai and password.

3. Run command
Python manage.py runserver.


Hope this helps.

On Thu, 19 Jan 2023, 6:51 pm Radhika Soni,  wrote:

> Hello,
> You can take help from udemy or coursera courses.
>
> On Thu, Jan 19, 2023, 4:36 PM Hubert Kanyamahanga 
> wrote:
>
>> Please share what you have been able to do, where you are blocked and
>> from there we can guide you, because, we don't even know which videos you
>> have been viewing!
>>
>> On Wednesday, January 18, 2023 at 11:56:45 PM UTC+1 macca...@gmail.com
>> wrote:
>>
>>> I am trying everything possible to create a basic login page with
>>> Django., i have tried so many videos and online tutorial, but still can't
>>> make anything meaningful out of it. Can anyone please take me through a
>>> systematic process please, since i am new here and want to take Django to
>>> be my friend
>>
>> --
>> You received this message because you are subscribed 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/61f6c9f9-2973-4572-ae51-8689d6521292n%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/CAGhU6zNsAmutLvJRFdHMPOU8ZKS4Oywha%2B%3DoOWkKAUw4tsh61A%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/CAHBdd%2BAnpzf1N7VxS7Ue4OdEtzBzUTDf%3DizDmRkwA7xfvpdcZA%40mail.gmail.com.


Re: Please i need help in creating a Login page with Django

2023-01-19 Thread M Adnan
Join this group to discuss your issues with developers link below ,


https://chat.whatsapp.com/ICXdXOrbgoNFQTbKxalZD1

On Thu, 19 Jan 2023, 6:21 pm Radhika Soni,  wrote:

> Hello,
> You can take help from udemy or coursera courses.
>
> On Thu, Jan 19, 2023, 4:36 PM Hubert Kanyamahanga 
> wrote:
>
>> Please share what you have been able to do, where you are blocked and
>> from there we can guide you, because, we don't even know which videos you
>> have been viewing!
>>
>> On Wednesday, January 18, 2023 at 11:56:45 PM UTC+1 macca...@gmail.com
>> wrote:
>>
>>> I am trying everything possible to create a basic login page with
>>> Django., i have tried so many videos and online tutorial, but still can't
>>> make anything meaningful out of it. Can anyone please take me through a
>>> systematic process please, since i am new here and want to take Django to
>>> be my friend
>>
>> --
>> You received this message because you are subscribed 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/61f6c9f9-2973-4572-ae51-8689d6521292n%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/CAGhU6zNsAmutLvJRFdHMPOU8ZKS4Oywha%2B%3DoOWkKAUw4tsh61A%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/CABNyTSpXT57HOuVSWcmLk1NxSyq9F8hsZPYiWY0CtSRzk_2KpQ%40mail.gmail.com.


Re: Please i need help in creating a Login page with Django

2023-01-19 Thread ritik sahoo
Ofcourse

On Thu, 19 Jan, 2023, 7:40 pm Sebastian Jung, 
wrote:

> I think this is a good start or?
>
> https://github.com/earthcomfy/Django-registration-and-login-system
>
> Namanya Daniel  schrieb am Do., 19. Jan. 2023,
> 15:00:
>
>> Explain where you’re failing exactly, is it views, forms, templates or
>> models
>>
>> On Thu, 19 Jan 2023 at 01:56, Michael R. KOOMSON 
>> wrote:
>>
>>> I am trying everything possible to create a basic login page with
>>> Django., i have tried so many videos and online tutorial, but still can't
>>> make anything meaningful out of it. Can anyone please take me through a
>>> systematic process please, since i am new here and want to take Django to
>>> be my friend
>>>
>>> --
>>> You received this message because you are subscribed 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/0c495fc8-ce4e-4d6f-a2d7-7b2d8478b06an%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/CAP4VW2V%3DuVe2p%3DCQJBWup%3DDcn4FGs5dLFp-zGEqXLQK6xwD6VQ%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/CAKGT9mxg9yy3OXojtu67UUSADUbrpYe%2B%2BQT2aFBW6h2tKMGN7w%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/CAJwehCs8e4sZ9wGOoqq_8pA_OS6D%2BQgww2%2B9VvLgtwkV%3DoBWag%40mail.gmail.com.


Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Sebastian Jung
I think this is a good start or?

https://github.com/earthcomfy/Django-registration-and-login-system

Namanya Daniel  schrieb am Do., 19. Jan. 2023,
15:00:

> Explain where you’re failing exactly, is it views, forms, templates or
> models
>
> On Thu, 19 Jan 2023 at 01:56, Michael R. KOOMSON 
> wrote:
>
>> I am trying everything possible to create a basic login page with
>> Django., i have tried so many videos and online tutorial, but still can't
>> make anything meaningful out of it. Can anyone please take me through a
>> systematic process please, since i am new here and want to take Django to
>> be my friend
>>
>> --
>> You received this message because you are subscribed 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/0c495fc8-ce4e-4d6f-a2d7-7b2d8478b06an%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/CAP4VW2V%3DuVe2p%3DCQJBWup%3DDcn4FGs5dLFp-zGEqXLQK6xwD6VQ%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/CAKGT9mxg9yy3OXojtu67UUSADUbrpYe%2B%2BQT2aFBW6h2tKMGN7w%40mail.gmail.com.


Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Namanya Daniel
Explain where you’re failing exactly, is it views, forms, templates or
models

On Thu, 19 Jan 2023 at 01:56, Michael R. KOOMSON 
wrote:

> I am trying everything possible to create a basic login page with Django.,
> i have tried so many videos and online tutorial, but still can't make
> anything meaningful out of it. Can anyone please take me through a
> systematic process please, since i am new here and want to take Django to
> be my friend
>
> --
> You received this message because you are subscribed 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/0c495fc8-ce4e-4d6f-a2d7-7b2d8478b06an%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/CAP4VW2V%3DuVe2p%3DCQJBWup%3DDcn4FGs5dLFp-zGEqXLQK6xwD6VQ%40mail.gmail.com.


Re: Please i need help in creating a Login page with Django

2023-01-19 Thread ritik sahoo
If u will follow geekyshows channel on YouTube your basic must be cleared


On Thu, 19 Jan, 2023, 6:51 pm Radhika Soni,  wrote:

> Hello,
> You can take help from udemy or coursera courses.
>
> On Thu, Jan 19, 2023, 4:36 PM Hubert Kanyamahanga 
> wrote:
>
>> Please share what you have been able to do, where you are blocked and
>> from there we can guide you, because, we don't even know which videos you
>> have been viewing!
>>
>> On Wednesday, January 18, 2023 at 11:56:45 PM UTC+1 macca...@gmail.com
>> wrote:
>>
>>> I am trying everything possible to create a basic login page with
>>> Django., i have tried so many videos and online tutorial, but still can't
>>> make anything meaningful out of it. Can anyone please take me through a
>>> systematic process please, since i am new here and want to take Django to
>>> be my friend
>>
>> --
>> You received this message because you are subscribed 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/61f6c9f9-2973-4572-ae51-8689d6521292n%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/CAGhU6zNsAmutLvJRFdHMPOU8ZKS4Oywha%2B%3DoOWkKAUw4tsh61A%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/CAJwehCs3jF8TF5q%2BqY7XvWafPCprs8EtVcUA2oMLvcSUsumsJw%40mail.gmail.com.


Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Radhika Soni
Hello,
You can take help from udemy or coursera courses.

On Thu, Jan 19, 2023, 4:36 PM Hubert Kanyamahanga 
wrote:

> Please share what you have been able to do, where you are blocked and from
> there we can guide you, because, we don't even know which videos you have
> been viewing!
>
> On Wednesday, January 18, 2023 at 11:56:45 PM UTC+1 macca...@gmail.com
> wrote:
>
>> I am trying everything possible to create a basic login page with
>> Django., i have tried so many videos and online tutorial, but still can't
>> make anything meaningful out of it. Can anyone please take me through a
>> systematic process please, since i am new here and want to take Django to
>> be my friend
>
> --
> You received this message because you are subscribed 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/61f6c9f9-2973-4572-ae51-8689d6521292n%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/CAGhU6zNsAmutLvJRFdHMPOU8ZKS4Oywha%2B%3DoOWkKAUw4tsh61A%40mail.gmail.com.


Re: Please i need help in creating a Login page with Django

2023-01-19 Thread Hubert Kanyamahanga
Please share what you have been able to do, where you are blocked and from 
there we can guide you, because, we don't even know which videos you have 
been viewing!

On Wednesday, January 18, 2023 at 11:56:45 PM UTC+1 macca...@gmail.com 
wrote:

> I am trying everything possible to create a basic login page with Django., 
> i have tried so many videos and online tutorial, but still can't make 
> anything meaningful out of it. Can anyone please take me through a 
> systematic process please, since i am new here and want to take Django to 
> be my friend

-- 
You received this message because you are subscribed 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/61f6c9f9-2973-4572-ae51-8689d6521292n%40googlegroups.com.


Please i need help in creating a Login page with Django

2023-01-18 Thread Michael R. KOOMSON
I am trying everything possible to create a basic login page with Django., 
i have tried so many videos and online tutorial, but still can't make 
anything meaningful out of it. Can anyone please take me through a 
systematic process please, since i am new here and want to take Django to 
be my friend

-- 
You received this message because you are subscribed 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/0c495fc8-ce4e-4d6f-a2d7-7b2d8478b06an%40googlegroups.com.


Re: Need help Scraping a couple of websites

2022-12-26 Thread John McClain
I’m not needing to scrape anything illegal

I need product details and associated images from collections on furniture
mfg websites

I have permission to do so no issues with data being collected

I need data scraped to be cleansed and delivered in csv

I do not need the scraping routine designed fir future use, this one time
scrape. However, if data collected is not sufficient you may need to repeat
the process

On Mon 26 Dec 2022 at 14:39, Raj Mandaviya  wrote:

> Thank you for the info. Does this mean I can make a repo for the Scrapper
> I created with Flask on GitHub and not be affected?
>
> On Friday, December 23, 2022 at 11:41:27 PM UTC+5:30
> bscho...@schollnick.net wrote:
>
>> > I can scrap for you. I just created an IMDB scrapper(which is illegal,
>> so not going to post the code anywhere but mailed IMDb about it) in the
>> flask.
>> > Also, have experience in Django and web scrapping using bs4.
>>
>> illegal? Against Copyright, and maybe not permitted by End-User License.
>>
>> But illegal? You’re not going to go to jail if you scrape IMDB, as an
>> individual user. If you do it as part of a company, that company will
>> probably be issued a cease and desist… And if they don’t comply they’ll get
>> IP blocked, and possibly sued. But once again, I suspect that would be
>> civil, and maybe not criminal? I’m not sure…
>>
>> But IMDB can’t do anything to prevent someone from scraping the web site,
>> as a individual, as long as you don’t draw attention to yourself.
>>
>> - Benjamin
>>
>> --
> You received this message because you are subscribed 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/d033cab5-a552-4ea4-b5d6-ef8aa9b8440dn%40googlegroups.com
> 
> .
>
-- 
John McClain

Cell: 085-1977-823
Skype: jmcclain0129
Email: jmcclain0...@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/CAN-hv_r8YPe%2BzDZZBjTrtxw8EOn3hbmcMyVbf_7WaYQt828LYQ%40mail.gmail.com.


Re: Need help Scraping a couple of websites

2022-12-26 Thread Raj Mandaviya
Thank you for the info. Does this mean I can make a repo for the Scrapper I 
created with Flask on GitHub and not be affected?

On Friday, December 23, 2022 at 11:41:27 PM UTC+5:30 
bscho...@schollnick.net wrote:

> > I can scrap for you. I just created an IMDB scrapper(which is illegal, 
> so not going to post the code anywhere but mailed IMDb about it) in the 
> flask.
> > Also, have experience in Django and web scrapping using bs4.
>
> illegal? Against Copyright, and maybe not permitted by End-User License. 
>
> But illegal? You’re not going to go to jail if you scrape IMDB, as an 
> individual user. If you do it as part of a company, that company will 
> probably be issued a cease and desist… And if they don’t comply they’ll get 
> IP blocked, and possibly sued. But once again, I suspect that would be 
> civil, and maybe not criminal? I’m not sure… 
>
> But IMDB can’t do anything to prevent someone from scraping the web site, 
> as a individual, as long as you don’t draw attention to yourself.
>
> - Benjamin
>
>

-- 
You received this message because you are subscribed 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/d033cab5-a552-4ea4-b5d6-ef8aa9b8440dn%40googlegroups.com.


Re: Need help Scraping a couple of websites

2022-12-23 Thread Michael Starr
Yeah it's not a DDOS or anything. They are providing the movie information 
on their site, from their databases, as-is and without warranty. That means 
you can do whatever you want with it to the fullest extent of criminal law.

But maybe I have no idea what I'm talking about.

Cheers,
Mike

On Friday, December 23, 2022 at 10:11:27 AM UTC-8 bscho...@schollnick.net 
wrote:

> > I can scrap for you. I just created an IMDB scrapper(which is illegal, 
> so not going to post the code anywhere but mailed IMDb about it) in the 
> flask.
> > Also, have experience in Django and web scrapping using bs4.
>
> illegal? Against Copyright, and maybe not permitted by End-User License. 
>
> But illegal? You’re not going to go to jail if you scrape IMDB, as an 
> individual user. If you do it as part of a company, that company will 
> probably be issued a cease and desist… And if they don’t comply they’ll get 
> IP blocked, and possibly sued. But once again, I suspect that would be 
> civil, and maybe not criminal? I’m not sure… 
>
> But IMDB can’t do anything to prevent someone from scraping the web site, 
> as a individual, as long as you don’t draw attention to yourself.
>
> - Benjamin
>
>

-- 
You received this message because you are subscribed 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/3c49e2d3-514b-4ce0-938d-29099129e85fn%40googlegroups.com.


Re: Need help Scraping a couple of websites

2022-12-23 Thread Benjamin Schollnick
> I can scrap for you. I just created an IMDB scrapper(which is illegal, so not 
> going to post the code anywhere but mailed IMDb about it) in the flask.
> Also, have experience in Django and web scrapping using bs4.

illegal?  Against Copyright, and maybe not permitted by End-User License.  

But illegal?  You’re not going to go to jail if you scrape IMDB, as an 
individual user.  If you do it as part of a company, that company will probably 
be issued a cease and desist…  And if they don’t comply they’ll get IP blocked, 
and possibly sued.  But once again, I suspect that would be civil, and maybe 
not criminal?  I’m not sure… 

But IMDB can’t do anything to prevent someone from scraping the web site, as a 
individual, as long as you don’t draw attention to yourself.

- Benjamin

-- 
You received this message because you are subscribed 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/914A19F5-E2B4-41B8-9E3F-73C3A272FAF5%40schollnick.net.


Re: Need help Scraping a couple of websites

2022-12-23 Thread Raj Mandaviya
I can scrap for you. I just created an IMDB scrapper(which is illegal, so 
not going to post the code anywhere but mailed IMDb about it) in the flask.
Also, have experience in Django and web scrapping using bs4.

My GitHub: https://github.com/Rajm1505

Drop an email for your requirement at rajm150...@gmail.com

Thank you

On Friday, December 16, 2022 at 10:41:39 PM UTC+5:30 jmccla...@gmail.com 
wrote:

> Hello,
>
> I need help scraping a couple of commercial websites to collect product 
> data for use in e-commerce store.
>
> Willing to pay modest fee for the help.
>
> Get in touch if interested...
>

-- 
You received this message because you are subscribed 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/32c3abfd-65b3-4722-9650-53880cddd050n%40googlegroups.com.


Re: Need help Scraping a couple of websites

2022-12-16 Thread Paul Kudla (SCOM.CA Internet Services Inc.)



please contact me directly

i am familiar with all sorts of databases and have had to migrate data 
across multiple platforms.


Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
Email p...@scom.ca


Happy Friday !!!
Thanks - paul

Paul Kudla


Scom.ca Internet Services <http://www.scom.ca>
004-1009 Byron Street South
Whitby, Ontario - Canada
L1N 4S3

Toronto 416.642.7266
Main 1.866.411.7266
Fax 1.888.892.7266
Email p...@scom.ca

On 2022-12-16 12:11 p.m., John McClain wrote:

Hello,

I need help scraping a couple of commercial websites to collect product 
data for use in e-commerce store.


Willing to pay modest fee for the help.

Get in touch if interested...

--
You received this message because you are subscribed 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/acadd169-b7a3-42c9-b6ce-6ebe10ccf344n%40googlegroups.com <https://groups.google.com/d/msgid/django-users/acadd169-b7a3-42c9-b6ce-6ebe10ccf344n%40googlegroups.com?utm_medium=email_source=footer>.


--
This message has been scanned for viruses and
dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
believed to be clean.


--
You received this message because you are subscribed 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/a6a61786-87a3-cd36-80df-27a36bcc66cb%40scom.ca.


Need help Scraping a couple of websites

2022-12-16 Thread John McClain
Hello,

I need help scraping a couple of commercial websites to collect product 
data for use in e-commerce store.

Willing to pay modest fee for the help.

Get in touch if interested...

-- 
You received this message because you are subscribed 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/acadd169-b7a3-42c9-b6ce-6ebe10ccf344n%40googlegroups.com.


Re: hello guys I need help

2022-08-30 Thread Rotimi Michael james
my name is engr rotimi michael james , i think i can help you please just
make the model  one to one relations , that is  one user to a page and a
page to one user, hope it help.

On Mon, Aug 29, 2022 at 3:06 PM ISTEEN ISAC  wrote:

> I am beginner ,  how to redirect different types of pages to different
> users after login in 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/90a18a68-d66f-44d9-82e5-4498fa6c5fcen%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/CAKbLKW3_q1ZaOO47mc9X%2B%3D8dUJ4rSCF9Z3C-S2VP8n4WLFiSAw%40mail.gmail.com.


Re: hello guys I need help

2022-08-30 Thread Baber Ibrar
Please share your query
On Monday, August 29, 2022 at 9:02:05 PM UTC+5 bod...@gmail.com wrote:

> please I'm a starter on python and django, i need some to help me with an 
> online class training. 
>
> Thank 
> Moses 
>
> On Monday, August 29, 2022 at 3:06:26 PM UTC+1 istee...@gmail.com wrote:
>
>> I am beginner ,  how to redirect different types of pages to different 
>> users after login in 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/7b3a67b4-4a3f-46cd-a145-0fde34c6e2a1n%40googlegroups.com.


Re: hello guys I need help

2022-08-30 Thread Joshua Oriakhi
Hello Bode.
When you say different types of pages what do you mean?

Do you mean you want users to see pages specific to them?

For instance, if my name is Joshua, you want me to see a page with my name
and if your name is Bode, you want me to see a page with your name. Is this
what you mean?

On Mon, 29 Aug 2022, 17:02 bode moses,  wrote:

> please I'm a starter on python and django, i need some to help me with an
> online class training.
>
> Thank
> Moses
>
> On Monday, August 29, 2022 at 3:06:26 PM UTC+1 istee...@gmail.com wrote:
>
>> I am beginner ,  how to redirect different types of pages to different
>> users after login in 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/c5ea9827-410c-4d05-bb6c-2a7e4b875f27n%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/CAMSS1fDJHOtC3o5K30mi9aOAETtHBeH%3D1ZTdFUbCqECo1DSGbQ%40mail.gmail.com.


Re: hello guys I need help

2022-08-29 Thread bode moses
please I'm a starter on python and django, i need some to help me with an 
online class training. 

Thank 
Moses 

On Monday, August 29, 2022 at 3:06:26 PM UTC+1 istee...@gmail.com wrote:

> I am beginner ,  how to redirect different types of pages to different 
> users after login in 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/c5ea9827-410c-4d05-bb6c-2a7e4b875f27n%40googlegroups.com.


hello guys I need help

2022-08-29 Thread ISTEEN ISAC
I am beginner ,  how to redirect different types of pages to different 
users after login in 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/90a18a68-d66f-44d9-82e5-4498fa6c5fcen%40googlegroups.com.


Re: I need help with saving data to django database.

2022-08-17 Thread Anh Nguyen
Problem is you try to use sth you can’t control it.
You should not modify admin page. Try to create a new one as your
knowledge. That way keep you learn and stay away unpredictable issues.
On Wed, 17 Aug 2022 at 20:02 Paul Kudla (SCOM.CA Internet Services Inc.) <
p...@scom.ca> wrote:

>
> ok i had a hudge problem when writing my invoice system
>
> in general you need to over ride the save defination in the admin and
> models.py files
>
> this was never clearly documented in django.
>
>
> I use inlines so the code gets really complicated really quickly
>
> i have given my code you will need to muddle through it to do your own
> thing.
>
> my code was designed to run inlines, update an invoice number from
> another form, do the math, taxes etc etc etc
>
> it also interfaces to a customer database (kinda required for repeat
> invoices)
>
> i did everything in admin but you should look at the models override for
> other stuff :
>
> class InvoiceAdmin(admin.ModelAdmin):
>
> class Invoice_Items_Inline(admin.TabularInline):
> model = Invoice_Items
> extra = 1
>
> class Invoice_Payment_Inline(admin.TabularInline):
> model = Invoice_Payment
> extra = 1
>
> formfield_overrides = {
> models.CharField: {'widget':
> TextInput(attrs={'size':'40','style':
> 'height: 1em;'})},
> models.TextField: {'widget': Textarea(attrs={'rows':1,
> 'cols':40,'style': 'height: 2em;'})},
> }
>
> def customer_name_sold_to(self, obj):
> if (obj.sold_to):
> return obj.sold_to.customer_name
> return None
> customer_name_sold_to.short_description = "Sold To"
>
> def attention_sold_to(self, obj):
> if (obj.sold_to):
> return obj.sold_to.attention_to
> return None
> attention_sold_to.short_description = "Attention to"
>
> def getinvoicebody(self, obj):
>
>
> return None
>
>
> def attention_ship_to(self, obj):
> if (obj.ship_to):
> return obj.ship_to.attention_to
> return None
> attention_ship_to.short_description = "Attention to"
>
>
> def invoice_paid_total(self,obj) :
> obj.paid_total = float(0.00)
> try :
> record = Invoice_Payment.objects.all().filter(
> payment_item = '%s'
> %obj.invoice_number )
> for nn in range (0,len(record)) : #start the update
> paid_total = float(paid_total) +
> float(record[nn].cashbook_amount)
>
> except : pass #No entries found against this invoice
>
> return obj.paid_total
>
> attention_ship_to.short_description = "Attention to"
>
> def Print_Invoice(modeladmin, request, queryset) :
> queryset.update(printed=True)
>
> Print_Invoice.short_description = "Print Invoice(s)"
>
>
> actions = [Print_Invoice]
>
> #('attention_sold_to','attention_ship_to'),
>
> fieldsets = [
> ('Info', {'fields':
> [('invoice_number','invoice_date'),('sold_to','ship_to',),('purchase_order','terms','currency_type','delivery_type','foreign_account',)]}),
>
> #,('sold_to_address',)
> ('#inline', {
> 'fields': (),
> 'description': 0
> }),
> ('Details', {'fields':
>
> [('sub_total'),('gst_tax_exempt','gst_tax_value','gst_tax_amount'),('hst_tax_exempt','hst_tax_value','hst_tax_amount'),('pst_tax_exempt','pst_tax_value','pst_tax_amount'),('invoice_total'),]}),
> ('#inline', {
> 'fields': (),
> 'description': 1
> }),
> ('Status', {'fields':
> [('ar_owing','printed','faxed','emailed','new_invoice'), ]}),
> ]
>
>
> inlines = [Invoice_Items_Inline, Invoice_Payment_Inline, ]
> reorder_inlines = True
> list_display = ('invoice_number',
>
> 'invoice_date','customer_name_sold_to','body_search','sub_total','hst_tax_amount','invoice_total','invoice_paid_total','ar_owing')
>
> search_fields = search_with_fk(['^invoice_number',
>  'body_search',
> ])
>
>
> #readonly_fields = ('sold_to_address','ship_to_address')
>
> date_hierarchy = 'invoice_date'
> ordering = ('-invoice_date','-invoice_number_sort','ar_owing')
>
> list_per_page = 100
>
> index = True
>
> adminextra_fields = [
> ('m21', 'sold_to', Contacts_Admin.list_display),
> #('fkd', 'sold_to_address', ('sold_to',)),
> ('m21', 'ship_to', Contacts_Admin.list_display),
> #('fkd', 'ship_to_address', ('ship_to',)),
> ]
>
> def save_model(self, request, obj, form, change): #This 

Re: I need help with saving data to django database.

2022-08-17 Thread Paul Kudla (SCOM.CA Internet Services Inc.)



ok i had a hudge problem when writing my invoice system

in general you need to over ride the save defination in the admin and 
models.py files


this was never clearly documented in django.


I use inlines so the code gets really complicated really quickly

i have given my code you will need to muddle through it to do your own 
thing.


my code was designed to run inlines, update an invoice number from 
another form, do the math, taxes etc etc etc


it also interfaces to a customer database (kinda required for repeat 
invoices)


i did everything in admin but you should look at the models override for 
other stuff :


class InvoiceAdmin(admin.ModelAdmin):

class Invoice_Items_Inline(admin.TabularInline):
model = Invoice_Items
extra = 1

class Invoice_Payment_Inline(admin.TabularInline):
model = Invoice_Payment
extra = 1

formfield_overrides = {
		models.CharField: {'widget': TextInput(attrs={'size':'40','style': 
'height: 1em;'})},
		models.TextField: {'widget': Textarea(attrs={'rows':1, 
'cols':40,'style': 'height: 2em;'})},

}

def customer_name_sold_to(self, obj):
if (obj.sold_to):
return obj.sold_to.customer_name
return None
customer_name_sold_to.short_description = "Sold To"

def attention_sold_to(self, obj):
if (obj.sold_to):
return obj.sold_to.attention_to
return None
attention_sold_to.short_description = "Attention to"

def getinvoicebody(self, obj):


return None


def attention_ship_to(self, obj):
if (obj.ship_to):
return obj.ship_to.attention_to
return None
attention_ship_to.short_description = "Attention to"  


def invoice_paid_total(self,obj) :
obj.paid_total = float(0.00)
try :
			record = Invoice_Payment.objects.all().filter( payment_item = '%s' 
%obj.invoice_number )

for nn in range (0,len(record)) : #start the update
paid_total = float(paid_total) + 
float(record[nn].cashbook_amount)

except : pass #No entries found against this invoice

return obj.paid_total

attention_ship_to.short_description = "Attention to"  

def Print_Invoice(modeladmin, request, queryset) :
queryset.update(printed=True)

Print_Invoice.short_description = "Print Invoice(s)"


actions = [Print_Invoice]   

#('attention_sold_to','attention_ship_to'),

fieldsets = [
	('Info', {'fields': 
[('invoice_number','invoice_date'),('sold_to','ship_to',),('purchase_order','terms','currency_type','delivery_type','foreign_account',)]}), 
#,('sold_to_address',)

('#inline', {
'fields': (),
'description': 0
}),
	('Details', {'fields': 
[('sub_total'),('gst_tax_exempt','gst_tax_value','gst_tax_amount'),('hst_tax_exempt','hst_tax_value','hst_tax_amount'),('pst_tax_exempt','pst_tax_value','pst_tax_amount'),('invoice_total'),]}),

('#inline', {
'fields': (),
'description': 1
}),
	('Status', {'fields': 
[('ar_owing','printed','faxed','emailed','new_invoice'), ]}),

]


inlines = [Invoice_Items_Inline, Invoice_Payment_Inline, ]  
reorder_inlines = True
	list_display = ('invoice_number', 
'invoice_date','customer_name_sold_to','body_search','sub_total','hst_tax_amount','invoice_total','invoice_paid_total','ar_owing')


search_fields = search_with_fk(['^invoice_number',
'body_search',
])


#readonly_fields = ('sold_to_address','ship_to_address')

date_hierarchy = 'invoice_date'
ordering = ('-invoice_date','-invoice_number_sort','ar_owing')

list_per_page = 100

index = True

adminextra_fields = [
('m21', 'sold_to', Contacts_Admin.list_display),
#('fkd', 'sold_to_address', ('sold_to',)),
('m21', 'ship_to', Contacts_Admin.list_display),
#('fkd', 'ship_to_address', ('ship_to',)),
]

def save_model(self, request, obj, form, change): #This will save create
#Check to see if this will be an invoice copy
copy = False
current_invoice = obj.invoice_number
		if obj.new_invoice :	#clear the flag and save the current object then 
set new & date

obj.new_invoice = False
obj.save()
  

I need help with saving data to django database.

2022-08-16 Thread Viando Donwasta
Hi,
May I get help with this project? I am new to Django. Below is my view and 
model for your review.


class Invoice(models.Model):

InvoiceNo = ShortUUIDField(length=16,
prefix="GN_",
alphabet="1234567890",
primary_key=True,
)
InvoiceDate = models.DateField(default=datetime.now, blank=True)
Account = models.CharField(max_length=50, blank=True)
PaymentDueDate = models.DateField(default=datetime.now, blank=True)
Location  = models.ForeignKey(Location, on_delete=models.DO_NOTHING, 
blank=True, default=1)
   # Product  = models.ForeignKey(Product, on_delete=models.DO_NOTHING)
Test = models.ManyToManyField("Products", blank=True, 
related_name="products")
Address   = models.ForeignKey(Address, on_delete=models.DO_NOTHING)
#Quantity = models.IntegerField(blank=True, default=1)
Tax = models.IntegerField(default =0)
SubTotal = models.DecimalField(blank=True, 
null=True,decimal_places=2,max_digits=10)
Total = models.DecimalField(blank=True, 
null=True,decimal_places=2,max_digits=10)
#Ful = models.FloatField(blank=True)

def save(self, *args, **kwargs):
#rate = Product.objects.get(pk=self.Product.id 
)
test = Products.objects.all()
total = 0
for my in test:
total +=  my.SubTotal
self.SubTotal = total
self.Total = self.SubTotal + self.Tax
#self.Total = Sum(self.Total) + Sum( self.SubTotal)
super(Invoice, self).save(*args, **kwargs)

# @property
# def PerformSub(self):
#  myval = self.Quantity * self.Product.Price
#  return myval

# @property
# def PerformCal(self):
# self.Total = self.SubTotal + self.Tax

# def __str__(self):
# return self.InvoiceNo




class Products(models.Model):
ProductDate = models.DateField(default=datetime.now, blank=True)
Title = models.CharField(max_length=50, blank=True)
Description = models.CharField(max_length=150, blank=True)
Sku = models.CharField(max_length=50, blank=True)
Price = models.FloatField(blank=True)
Quantity = models.IntegerField(blank=True, default=1)
SubTotal = models.DecimalField(blank=True, 
null=True,decimal_places=2,max_digits=10)
SalesPrice = models.CharField(max_length=50, blank=True)


def save(self, *args, **kwargs):
   # rate = Products.objects.get(pk=self.Product.id 
)
self.SubTotal = self.Price * self.Quantity
super(Products, self).save(*args, **kwargs)


def __str__(self):
return self.Title + "" + self.Description


class InvoiceForm(ModelForm):
class Meta:
model = Invoice
fields = ['InvoiceNo', 'InvoiceDate', 'Account','PaymentDueDate', 
'Location','Test', 'Address', 'Tax', 'SubTotal', 'Total'
]



Here is my view. Any help will be much appreciated thank you .





def dashboard(request):

# forms = admin.get_form(invoices, res)
location = Location.objects.all()
address = Address.objects.all()
products = Products.objects.all()
form = InvoiceForm()
# invoice = Invoice.objects.all()
# invoice = get_object_or_404(Invoice)

if request.method == 'POST':
form = InvoiceForm(request.POST)
if form.is_valid():
# myinvoice = form.save(commit=False)

print("test")

invoiceTest = form.save(commit=True)



invoice = Invoice()
invoice.InvoiceNo = form.cleaned_data['InvoiceNo']
invoice.InvoiceDate = form.cleaned_data['InvoiceDate']
invoice.Account = form.cleaned_data['Account']
invoice.PaymentDueDate = form.cleaned_data['PaymentDueDate']
invoice.Location = form.cleaned_data['Location']
invoice.Test =  form.cleaned_data['Test']
invoice.Tax = form.cleaned_data['Tax']
invoice.SubTotal = form.cleaned_data['SubTotal']
invoice.Total = form.cleaned_data['Total']




invoiceTest.save()
# invoice.save_m2m()

# print(invoiceForm)




# invoice = 
Invoice(InvoiceNo=InvoiceNo,InvoiceDate=InvoiceDate,Account=Account,PaymentDueDate=PaymentDueDate,Location=mylocation,Tax=Tax,SubTotal=SubTotal,Total=Total)
# invoice.save()


return HttpResponseRedirect('index')


else:
form = InvoiceForm()
# return redirect('dashboard')
return render(request, 'pages/dashboard.html', { "form" :form , 
'Location': location, 'Address': address, 'Products': products})

-- 
You received this message because you are subscribed 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/59e95c89-1d77-4a61-9d1e-bd7846ca3c35n%40googlegroups.com.


Re: Need help on reducing cognitive complexity

2022-07-21 Thread Michael Thomas
Personally I think the code has a very weird "smell"... Assuming you don't
have any way of rewriting the calling code and are stuck with editing this
single method, I'd suggest something along the lines of:

@staticmethod
def in_circle_check(obj_type, item, uuid):
if obj_type not in ['trees', 'flowers']:
return None

# trim the trailing 's', so this can be used elsewhere...
obj_type = obj_type[:-1]

if not (plant := get_plant_with_circles(uuid)):
return None

if plant[f'in_all_{obj_type}_types']:
return True

circle_objects = plant[f'{obj_type}_circle']['items']

if isinstance(circle_objects, list):
if not isinstance(item, (list, tuple)):
items = item
else:
items = [item]

if all([i in circle_objects for i in items]):
return True

return -1


On Thu, Jul 21, 2022 at 1:19 PM Shaheed Haque 
wrote:

> The first step is to ensure you have a precise and accurate understanding
> of the code before optimization. Right now, I am suspicious of at least 2
> things in the code.
>
> First, the function returns any of {None, -1, True}. While this is
> certainly allowed, is this correct? If not, please correct the code. If so,
> then can you explain the rule that governs the return type (assuming it is
> not literally what is written).
>
> Second, as your previous respond ant hinted, the first 2 lines look like
> an optimisation attempt, except for the return type issue. Can you clarify
> if the purpose of these lines is optimisation, or not?
>
>
>
>
> On Thu, 21 Jul 2022, 06:53 Sencer Hamarat, 
> wrote:
>
>> Hi everyone,
>>
>> I have a code block with high cognitive complexity below:
>>
>> @staticmethod
>> def in_circle_check(obj_type, item, uuid, item_is_array=False):
>>
>> if obj_type not in ['trees', 'flowers']:
>> return None
>>
>> plant = get_plant_with_circles(uuid)
>> if not plant:
>> return None
>>
>> if obj_type == 'trees':
>> if plant['in_all_tree_types']:
>> return True
>> circle_objects = plant['tree_circle']['items']
>> else:
>> if plant['in_all_flower_types']:
>> return True
>> circle_objects = plant['flower_circle']['items']
>>
>> if isinstance(circle_objects, list):
>> if item_is_array:
>> for item in item:
>> if item not in circle_objects:
>> return -1
>> return True
>> else:
>> if item in circle_objects:
>> return True
>> else:
>> return -1
>>
>> return -1
>>
>>
>> I try to move the first 3 if statements on the beginning of the block
>> into new methods but that maneuver ends up with raising complexity.
>>
>> Can anybody help me to learn how to reduce cognitive complexity in code
>> blocks like this?
>>
>> Kind regards,
>> Sencer HAMARAT
>>
>> --
>> You received this message because you are subscribed 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/CACp8TZhBa9EbekcT1ApmzdDRVk2vCb64%3DvvXHrSawO2RJSySpQ%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/CAHAc2jewMaP41PJZN8OVFqZ2hw41A9r8c8DDjRJc0VG%3DqP9X5g%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/CAEdx1fpaLC4C4Lo%3DXW6-vqb4_Mk7RLOh5qa9254cKkmMEZ5obw%40mail.gmail.com.


Re: Need help on reducing cognitive complexity

2022-07-21 Thread Shaheed Haque
The first step is to ensure you have a precise and accurate understanding
of the code before optimization. Right now, I am suspicious of at least 2
things in the code.

First, the function returns any of {None, -1, True}. While this is
certainly allowed, is this correct? If not, please correct the code. If so,
then can you explain the rule that governs the return type (assuming it is
not literally what is written).

Second, as your previous respond ant hinted, the first 2 lines look like an
optimisation attempt, except for the return type issue. Can you clarify if
the purpose of these lines is optimisation, or not?




On Thu, 21 Jul 2022, 06:53 Sencer Hamarat,  wrote:

> Hi everyone,
>
> I have a code block with high cognitive complexity below:
>
> @staticmethod
> def in_circle_check(obj_type, item, uuid, item_is_array=False):
>
> if obj_type not in ['trees', 'flowers']:
> return None
>
> plant = get_plant_with_circles(uuid)
> if not plant:
> return None
>
> if obj_type == 'trees':
> if plant['in_all_tree_types']:
> return True
> circle_objects = plant['tree_circle']['items']
> else:
> if plant['in_all_flower_types']:
> return True
> circle_objects = plant['flower_circle']['items']
>
> if isinstance(circle_objects, list):
> if item_is_array:
> for item in item:
> if item not in circle_objects:
> return -1
> return True
> else:
> if item in circle_objects:
> return True
> else:
> return -1
>
> return -1
>
>
> I try to move the first 3 if statements on the beginning of the block into
> new methods but that maneuver ends up with raising complexity.
>
> Can anybody help me to learn how to reduce cognitive complexity in code
> blocks like this?
>
> Kind regards,
> Sencer HAMARAT
>
> --
> You received this message because you are subscribed 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/CACp8TZhBa9EbekcT1ApmzdDRVk2vCb64%3DvvXHrSawO2RJSySpQ%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/CAHAc2jewMaP41PJZN8OVFqZ2hw41A9r8c8DDjRJc0VG%3DqP9X5g%40mail.gmail.com.


Re: Need help on reducing cognitive complexity

2022-07-21 Thread Mike Dewhirst

On 21/07/2022 3:52 pm, Sencer Hamarat wrote:

Hi everyone,

I have a code block with high cognitive complexity below:

    @staticmethod
    def in_circle_check(obj_type, item, uuid, item_is_array=False):


Partly because the args seem weird.

Try writing a docstring which says what the method needs to do. Then 
rewrite the code as nested if statements, bearing in mind that if 
nothing fits, it will fall through to the end and return either None or 
whatever you want to return, perhaps -1.




        if obj_type not in ['trees', 'flowers']:
            return None

        plant = get_plant_with_circles(uuid)
        if not plant:
            return None

        if obj_type == 'trees':
            if plant['in_all_tree_types']:
                return True
            circle_objects = plant['tree_circle']['items']
        else:
            if plant['in_all_flower_types']:
                return True
            circle_objects = plant['flower_circle']['items']

        if isinstance(circle_objects, list):
            if item_is_array:
                for item in item:
                    if item not in circle_objects:
                        return -1
                return True
            else:
                if item in circle_objects:
                    return True
        else:
            return -1

        return -1


I try to move the first 3 if statements on the beginning of the block 
into new methods but that maneuver ends up with raising complexity.


Can anybody help me to learn how to reduce cognitive complexity in 
code blocks like this?


Kind regards,
Sencer HAMARAT

--
You received this message because you are subscribed 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/CACp8TZhBa9EbekcT1ApmzdDRVk2vCb64%3DvvXHrSawO2RJSySpQ%40mail.gmail.com 
.



--
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. Just
ask and I'll send it to you. 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/fbbd1ba9-47ac-64de-88cc-5a784e151db3%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


Re: Need help on reducing cognitive complexity

2022-07-21 Thread Agnese Camellini
The only things that comes into my mind is taking away that first if which
is redundant with the third block.
An other way might be to include all the if in a big switch...
My 2 cents
Agnese

On Thu, 21 Jul 2022 at 07:53, Sencer Hamarat 
wrote:

> Hi everyone,
>
> I have a code block with high cognitive complexity below:
>
> @staticmethod
> def in_circle_check(obj_type, item, uuid, item_is_array=False):
>
> if obj_type not in ['trees', 'flowers']:
> return None
>
> plant = get_plant_with_circles(uuid)
> if not plant:
> return None
>
> if obj_type == 'trees':
> if plant['in_all_tree_types']:
> return True
> circle_objects = plant['tree_circle']['items']
> else:
> if plant['in_all_flower_types']:
> return True
> circle_objects = plant['flower_circle']['items']
>
> if isinstance(circle_objects, list):
> if item_is_array:
> for item in item:
> if item not in circle_objects:
> return -1
> return True
> else:
> if item in circle_objects:
> return True
> else:
> return -1
>
> return -1
>
>
> I try to move the first 3 if statements on the beginning of the block into
> new methods but that maneuver ends up with raising complexity.
>
> Can anybody help me to learn how to reduce cognitive complexity in code
> blocks like this?
>
> Kind regards,
> Sencer HAMARAT
>
> --
> You received this message because you are subscribed 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/CACp8TZhBa9EbekcT1ApmzdDRVk2vCb64%3DvvXHrSawO2RJSySpQ%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/CACXuh-RWFoxAk1zrtzgH0FAHD-XXMwRiDLGyiUr8ZRkhgnihfg%40mail.gmail.com.


Need help on reducing cognitive complexity

2022-07-20 Thread Sencer Hamarat
Hi everyone,

I have a code block with high cognitive complexity below:

@staticmethod
def in_circle_check(obj_type, item, uuid, item_is_array=False):

if obj_type not in ['trees', 'flowers']:
return None

plant = get_plant_with_circles(uuid)
if not plant:
return None

if obj_type == 'trees':
if plant['in_all_tree_types']:
return True
circle_objects = plant['tree_circle']['items']
else:
if plant['in_all_flower_types']:
return True
circle_objects = plant['flower_circle']['items']

if isinstance(circle_objects, list):
if item_is_array:
for item in item:
if item not in circle_objects:
return -1
return True
else:
if item in circle_objects:
return True
else:
return -1

return -1


I try to move the first 3 if statements on the beginning of the block into
new methods but that maneuver ends up with raising complexity.

Can anybody help me to learn how to reduce cognitive complexity in code
blocks like this?

Kind regards,
Sencer HAMARAT

-- 
You received this message because you are subscribed 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/CACp8TZhBa9EbekcT1ApmzdDRVk2vCb64%3DvvXHrSawO2RJSySpQ%40mail.gmail.com.


Re: Need help

2022-07-04 Thread K Wong
I've implemented this sort of thing in the past. Without knowing your 
specific case, I guess that you have a parent model (ie. Pizza) and 1-n 
related child models (ie. Topping).

My advice is to redesign your flow to create a Pizza first then attach 1-n 
Topping entities to it. This would require two views and two forms.

If you want it all in one go, then write an API in REST Framework that does 
what I just said but via two calls from a single HTML page. You can write 
the HTML DOM manipulation in jQuery or ReactJS or whatever you are 
comfortable with. You will still end up with two calls: one to create your 
Pizza parent entity then subsequent calls to make Topping instances.

-k

On Wednesday, June 22, 2022 at 7:56:39 AM UTC-7 loharroh...@gmail.com wrote:

> The below image consists of a form layout the main form has it's model 
> defined and the subform has it's own model defined but I am getting problem 
> that how should I implement and also the subform is dynamic so how can I 
> implement it using htmx. Your help is appreciated. Thank 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/b2986a44-66f0-427e-b382-66ef976b20edn%40googlegroups.com.


Need help

2022-06-22 Thread Rohit Lohar
The below image consists of a form layout the main form has it's model 
defined and the subform has it's own model defined but I am getting problem 
that how should I implement and also the subform is dynamic so how can I 
implement it using htmx. Your help is appreciated. Thank 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/bcaa754c-d946-4645-8b52-dd28de4cad41n%40googlegroups.com.


Re: Need help

2022-06-01 Thread Lalit Suthar
thanks for sharing @Antonis Christofides I was looking for a resource like
this for some time :D

On Thu, 2 Jun 2022 at 10:57, Antonis Christofides <
anto...@antonischristofides.com> wrote:

> Hello,
>
> If, as I understand, you don't know anything about deployment, a possible
> starting point is the book at https://djangodeployment.com (disclaimer: I
> am the author). It doesn't cover docker, and it also doesn't cover
> continuous development with gitlab. But you can start with the basics and
> then move forward.
>
> Regards,
>
> Antonis
>
>
> On 01/06/2022 19.16, Théodore KOSSI wrote:
>
> Hello everyone,
> I want your help to deploy my django app.
> I have a ubuntu server.
> My django project is pushing to gitlab.
> So I want to deploy my app django to my ubuntu server using Gitlab and
> docker
> Any help enjoy me
> Thanks.
>
> --
> theodoros17@python-developer
> --
> You received this message because you are subscribed 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/CAKiMjQEYVje02k1dSeYACdocH%2B2vD5BgCQZ%2BEAYhF28%3DSy0%2BjA%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/164d1c9b-4483-34cb-9cb5-0fb822694d9a%40antonischristofides.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/CAGp2JVF-nG%3D0Z6Qz4pEMKZE8sVY8W-89O_0TCLcwQ%2BZ%2BjmvGmQ%40mail.gmail.com.


Re: Need help

2022-06-01 Thread Antonis Christofides

Hello,

If, as I understand, you don't know anything about deployment, a possible 
starting point is the book at https://djangodeployment.com (disclaimer: I am the 
author). It doesn't cover docker, and it also doesn't cover continuous 
development with gitlab. But you can start with the basics and then move forward.


Regards,

Antonis



On 01/06/2022 19.16, Théodore KOSSI wrote:


Hello everyone,
I want your help to deploy my django app.
I have a ubuntu server.
My django project is pushing to gitlab.
So I want to deploy my app django to my ubuntu server using Gitlab and docker
Any help enjoy me
Thanks.

--
theodoros17@python-developer
--
You received this message because you are subscribed 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/CAKiMjQEYVje02k1dSeYACdocH%2B2vD5BgCQZ%2BEAYhF28%3DSy0%2BjA%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/164d1c9b-4483-34cb-9cb5-0fb822694d9a%40antonischristofides.com.


Need help

2022-06-01 Thread Théodore KOSSI
Hello everyone,
I want your help to deploy my django app.
I have a ubuntu server.
My django project is pushing to gitlab.
So I want to deploy my app django to my ubuntu server using Gitlab and
docker
Any help enjoy me
Thanks.

-- 
theodoros17@python-developer

-- 
You received this message because you are subscribed 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/CAKiMjQEYVje02k1dSeYACdocH%2B2vD5BgCQZ%2BEAYhF28%3DSy0%2BjA%40mail.gmail.com.


Need help

2022-03-07 Thread loic ngounou
Please how to make a document archiving system with django rest framework 

-- 
You received this message because you are subscribed 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/5c614eb1-30ad-4a10-b99d-3eed0a2f5a11n%40googlegroups.com.


Re: need help

2022-03-02 Thread shubham goyal

Can help you make one. 
On Tuesday, 1 March 2022 at 22:13:06 UTC+5:30 ngounou...@gmail.com wrote:

> Please i need a management medical record app of patients built in django 
> using REST API

-- 
You received this message because you are subscribed 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/04cf4aa5-94d5-4c6f-9bda-896f2d140128n%40googlegroups.com.


need help

2022-03-01 Thread loic ngounou
Please i need a management medical record app of patients built in django 
using REST API

-- 
You received this message because you are subscribed 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/7f4fd3da-9d66-4070-bd14-55f5983be00fn%40googlegroups.com.


Re: Need help in User log in, someone please help

2022-02-23 Thread Raj
Hi, 
Thanks for the response, I have tried to print the username before creating 
the user, but it did not work. I have also tried to use pdb that also 
didn't work.

How to do it can give proper instructions??
I have searched about it on google but have not received any relevant 
answer.

On Wednesday, 23 February 2022 at 12:26:42 UTC+5:30 jitendra...@gmail.com 
wrote:

> 7008080545 DM .
>
> On Wed, 23 Feb 2022, 12:22 pm Antonis Christofides, <
> ant...@antonischristofides.com> wrote:
>
>> You have this statement:
>> user = User.objects.create_user(username=username, email=email, 
>> password = password)
>>
>> Just before this statement, you need to insert a statement that will 
>> enable you to examine the value of the "username" statement. Something like 
>> this:
>>
>> print(username)
>> user = User.objects.create_user(username=username, email=email, 
>> password = password)
>>
>> This might or not might work properly with Django. What most Python 
>> programmers would do instead is this:
>>
>> import pdb; pdb.set_trace()
>> user = User.objects.create_user(username=username, email=email, 
>> password = password)
>>
>> but for that you need to know how to use pdb. It's quite simple though 
>> tricky at first. Eventually you will need to learn it, however, so now 
>> would be a good time. Search the web.
>>
>> Regards,
>>
>> Antonis
>>
>> Antonis Christofides+30-6979924665 <+30%20697%20992%204665> (mobile)
>>
>>
>>
>> On 22/02/2022 19.01, Raj wrote:
>>
>> I am trying to create register form access in django, but i am getting 
>> this
>> * " ValueError at /registerThe given username must be set" error. * 
>> Kindly help me how can I fix this bug.
>> please.
>> *here is the code of the views.py file.--->*
>> from msilib.schema import Feature
>> from pyexpat.errors import messages
>> from django.shortcuts import render, redirect
>> from django.contrib.auth.models import User, auth
>> from django.contrib import messages
>> from django.http import HttpResponse
>> from .models import Feature
>> # Create your views here.
>> def index(request):
>> return render(request,'index.html',{'features': features})
>> #=---register function---
>> def register(request):
>> if request.method == 'POST':
>> username = request.POST.get('username')
>> email = request.POST.get('email')
>> password = request.POST.get('password')
>> password2 = request.POST.get('password2')
>> # username = request.POST['username']
>> # email = request.POST['email']
>> # password = request.POST['password']
>> # password2 = request.POST['password2']
>> if password == password2:
>> if User.objects.filter(email = email).exists():
>> messages.info(request, 'Email already has been used!')
>> return redirect('register')
>> elif User.objects.filter(username= username).exists():
>> messages.info(request, 'Username already exist')
>> return redirect('register') 
>> else:
>> user = User.objects.create_user(username=username, 
>> email=email, password = password)
>> user.save();
>> print("User created")
>> return redirect('login')  #check
>> else:
>> messages.info(request, 'Incorrect password')
>> return redirect('register')
>> else:
>> return render(request, 'register.html')
>> def login(request):
>> if request.method == 'POST':
>> # username = request.POST['username']
>> # password = request.POST['password']
>> username = request.POST.get('username')
>> password = request.POST.get('password')
>> user = auth.authenticate(username = username, password = password)
>> if user is not None:
>> auth.login(request, user)
>> return redirect('/')
>> else:
>> messages.info(request,'Credential Invalid')
>> return redirect('login')
>> else:
>> return render(request, 'login.html')
>> *here is the SS of the error*[image: Screenshot (75).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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/c7bcf4b5-f8e7-4f84-97df-02e4655e42f1n%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 

Re: Need help in User log in, someone please help

2022-02-23 Thread waqar khan
share screen shot

On Wed, Feb 23, 2022 at 12:24 PM Antonis Christofides <
anto...@antonischristofides.com> wrote:

> You have this statement:
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> Just before this statement, you need to insert a statement that will
> enable you to examine the value of the "username" statement. Something like
> this:
>
> print(username)
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> This might or not might work properly with Django. What most Python
> programmers would do instead is this:
>
> import pdb; pdb.set_trace()
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> but for that you need to know how to use pdb. It's quite simple though
> tricky at first. Eventually you will need to learn it, however, so now
> would be a good time. Search the web.
>
> Regards,
>
> Antonis
>
> Antonis Christofides
> +30-6979924665 (mobile)
>
>
>
> On 22/02/2022 19.01, Raj wrote:
>
> I am trying to create register form access in django, but i am getting this
> * " ValueError at /registerThe given username must be set" error. *
> Kindly help me how can I fix this bug.
> please.
> *here is the code of the views.py file.--->*
> from msilib.schema import Feature
> from pyexpat.errors import messages
> from django.shortcuts import render, redirect
> from django.contrib.auth.models import User, auth
> from django.contrib import messages
> from django.http import HttpResponse
> from .models import Feature
> # Create your views here.
> def index(request):
> return render(request,'index.html',{'features': features})
> #=---register function---
> def register(request):
> if request.method == 'POST':
> username = request.POST.get('username')
> email = request.POST.get('email')
> password = request.POST.get('password')
> password2 = request.POST.get('password2')
> # username = request.POST['username']
> # email = request.POST['email']
> # password = request.POST['password']
> # password2 = request.POST['password2']
> if password == password2:
> if User.objects.filter(email = email).exists():
> messages.info(request, 'Email already has been used!')
> return redirect('register')
> elif User.objects.filter(username= username).exists():
> messages.info(request, 'Username already exist')
> return redirect('register')
> else:
> user = User.objects.create_user(username=username,
> email=email, password = password)
> user.save();
> print("User created")
> return redirect('login')  #check
> else:
> messages.info(request, 'Incorrect password')
> return redirect('register')
> else:
> return render(request, 'register.html')
> def login(request):
> if request.method == 'POST':
> # username = request.POST['username']
> # password = request.POST['password']
> username = request.POST.get('username')
> password = request.POST.get('password')
> user = auth.authenticate(username = username, password = password)
> if user is not None:
> auth.login(request, user)
> return redirect('/')
> else:
> messages.info(request,'Credential Invalid')
> return redirect('login')
> else:
> return render(request, 'login.html')
> *here is the SS of the error*[image: Screenshot (75).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/c7bcf4b5-f8e7-4f84-97df-02e4655e42f1n%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/cdfef3b3-37b4-801d-c53c-85d8176e3025%40antonischristofides.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 

Re: Need help in User log in, someone please help

2022-02-22 Thread vijay chourey
Hi Raj,

Error is showing due to the blank value in user name, please try to print
username before registration if it's blank please check form fields.

Once done you can directly login your account with

"auth.login(request,user)


On Wed, 23 Feb, 2022, 12:22 pm Antonis Christofides, <
anto...@antonischristofides.com> wrote:

> You have this statement:
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> Just before this statement, you need to insert a statement that will
> enable you to examine the value of the "username" statement. Something like
> this:
>
> print(username)
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> This might or not might work properly with Django. What most Python
> programmers would do instead is this:
>
> import pdb; pdb.set_trace()
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> but for that you need to know how to use pdb. It's quite simple though
> tricky at first. Eventually you will need to learn it, however, so now
> would be a good time. Search the web.
>
> Regards,
>
> Antonis
>
> Antonis Christofides
> +30-6979924665 (mobile)
>
>
>
> On 22/02/2022 19.01, Raj wrote:
>
> I am trying to create register form access in django, but i am getting this
> * " ValueError at /registerThe given username must be set" error. *
> Kindly help me how can I fix this bug.
> please.
> *here is the code of the views.py file.--->*
> from msilib.schema import Feature
> from pyexpat.errors import messages
> from django.shortcuts import render, redirect
> from django.contrib.auth.models import User, auth
> from django.contrib import messages
> from django.http import HttpResponse
> from .models import Feature
> # Create your views here.
> def index(request):
> return render(request,'index.html',{'features': features})
> #=---register function---
> def register(request):
> if request.method == 'POST':
> username = request.POST.get('username')
> email = request.POST.get('email')
> password = request.POST.get('password')
> password2 = request.POST.get('password2')
> # username = request.POST['username']
> # email = request.POST['email']
> # password = request.POST['password']
> # password2 = request.POST['password2']
> if password == password2:
> if User.objects.filter(email = email).exists():
> messages.info(request, 'Email already has been used!')
> return redirect('register')
> elif User.objects.filter(username= username).exists():
> messages.info(request, 'Username already exist')
> return redirect('register')
> else:
> user = User.objects.create_user(username=username,
> email=email, password = password)
> user.save();
> print("User created")
> return redirect('login')  #check
> else:
> messages.info(request, 'Incorrect password')
> return redirect('register')
> else:
> return render(request, 'register.html')
> def login(request):
> if request.method == 'POST':
> # username = request.POST['username']
> # password = request.POST['password']
> username = request.POST.get('username')
> password = request.POST.get('password')
> user = auth.authenticate(username = username, password = password)
> if user is not None:
> auth.login(request, user)
> return redirect('/')
> else:
> messages.info(request,'Credential Invalid')
> return redirect('login')
> else:
> return render(request, 'login.html')
> *here is the SS of the error*[image: Screenshot (75).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/c7bcf4b5-f8e7-4f84-97df-02e4655e42f1n%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/cdfef3b3-37b4-801d-c53c-85d8176e3025%40antonischristofides.com
> 
> .
>

-- 
You received this message because 

Re: Need help in User log in, someone please help

2022-02-22 Thread Jitendra kumar Patra
7008080545 DM .

On Wed, 23 Feb 2022, 12:22 pm Antonis Christofides, <
anto...@antonischristofides.com> wrote:

> You have this statement:
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> Just before this statement, you need to insert a statement that will
> enable you to examine the value of the "username" statement. Something like
> this:
>
> print(username)
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> This might or not might work properly with Django. What most Python
> programmers would do instead is this:
>
> import pdb; pdb.set_trace()
> user = User.objects.create_user(username=username, email=email,
> password = password)
>
> but for that you need to know how to use pdb. It's quite simple though
> tricky at first. Eventually you will need to learn it, however, so now
> would be a good time. Search the web.
>
> Regards,
>
> Antonis
>
> Antonis Christofides
> +30-6979924665 (mobile)
>
>
>
> On 22/02/2022 19.01, Raj wrote:
>
> I am trying to create register form access in django, but i am getting this
> * " ValueError at /registerThe given username must be set" error. *
> Kindly help me how can I fix this bug.
> please.
> *here is the code of the views.py file.--->*
> from msilib.schema import Feature
> from pyexpat.errors import messages
> from django.shortcuts import render, redirect
> from django.contrib.auth.models import User, auth
> from django.contrib import messages
> from django.http import HttpResponse
> from .models import Feature
> # Create your views here.
> def index(request):
> return render(request,'index.html',{'features': features})
> #=---register function---
> def register(request):
> if request.method == 'POST':
> username = request.POST.get('username')
> email = request.POST.get('email')
> password = request.POST.get('password')
> password2 = request.POST.get('password2')
> # username = request.POST['username']
> # email = request.POST['email']
> # password = request.POST['password']
> # password2 = request.POST['password2']
> if password == password2:
> if User.objects.filter(email = email).exists():
> messages.info(request, 'Email already has been used!')
> return redirect('register')
> elif User.objects.filter(username= username).exists():
> messages.info(request, 'Username already exist')
> return redirect('register')
> else:
> user = User.objects.create_user(username=username,
> email=email, password = password)
> user.save();
> print("User created")
> return redirect('login')  #check
> else:
> messages.info(request, 'Incorrect password')
> return redirect('register')
> else:
> return render(request, 'register.html')
> def login(request):
> if request.method == 'POST':
> # username = request.POST['username']
> # password = request.POST['password']
> username = request.POST.get('username')
> password = request.POST.get('password')
> user = auth.authenticate(username = username, password = password)
> if user is not None:
> auth.login(request, user)
> return redirect('/')
> else:
> messages.info(request,'Credential Invalid')
> return redirect('login')
> else:
> return render(request, 'login.html')
> *here is the SS of the error*[image: Screenshot (75).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/c7bcf4b5-f8e7-4f84-97df-02e4655e42f1n%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/cdfef3b3-37b4-801d-c53c-85d8176e3025%40antonischristofides.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 

Re: Need help in User log in, someone please help

2022-02-22 Thread Antonis Christofides

You have this statement:

    user = User.objects.create_user(username=username, email=email, password = 
password)


Just before this statement, you need to insert a statement that will enable you 
to examine the value of the "username" statement. Something like this:


    print(username)
    user = User.objects.create_user(username=username, email=email, password = 
password)


This might or not might work properly with Django. What most Python programmers 
would do instead is this:


    import pdb; pdb.set_trace()
    user = User.objects.create_user(username=username, email=email, password = 
password)


but for that you need to know how to use pdb. It's quite simple though tricky at 
first. Eventually you will need to learn it, however, so now would be a good 
time. Search the web.


Regards,

Antonis

Antonis Christofides
+30-6979924665 (mobile)



On 22/02/2022 19.01, Raj wrote:
I am trying to create register form access in django, but i am getting this*" 
ValueError at /registerThe given username must be set" error.

*
Kindly help me how can I fix this bug.
please.
*here is the code of the views.py file.--->*
from msilib.schema import Feature
from pyexpat.errors import messages
from django.shortcuts import render, redirect
from django.contrib.auth.models import User, auth
from django.contrib import messages
from django.http import HttpResponse
from .models import Feature
# Create your views here.
def index(request):
    return render(request,'index.html',{'features': features})
#=---register function---
def register(request):
    if request.method == 'POST':
        username = request.POST.get('username')
        email = request.POST.get('email')
        password = request.POST.get('password')
        password2 = request.POST.get('password2')
        # username = request.POST['username']
        # email = request.POST['email']
        # password = request.POST['password']
        # password2 = request.POST['password2']
        if password == password2:
            if User.objects.filter(email = email).exists():
                messages.info(request, 'Email already has been used!')
                return redirect('register')
            elif User.objects.filter(username= username).exists():
                messages.info(request, 'Username already exist')
                return redirect('register')
            else:
                user = User.objects.create_user(username=username, 
email=email, password = password)

                user.save();
                print("User created")
                return redirect('login')  #check
        else:
            messages.info(request, 'Incorrect password')
            return redirect('register')
    else:
        return render(request, 'register.html')
def login(request):
    if request.method == 'POST':
        # username = request.POST['username']
        # password = request.POST['password']
        username = request.POST.get('username')
        password = request.POST.get('password')
        user = auth.authenticate(username = username, password = password)
        if user is not None:
            auth.login(request, user)
            return redirect('/')
        else:
            messages.info(request,'Credential Invalid')
            return redirect('login')
    else:
        return render(request, 'login.html')
*here is the SS of the error*Screenshot (75).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/c7bcf4b5-f8e7-4f84-97df-02e4655e42f1n%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/cdfef3b3-37b4-801d-c53c-85d8176e3025%40antonischristofides.com.


Re: Urgent need help regarding to localhost

2021-12-06 Thread Bernard Mallala
What troubleshooting have you attempted so far?
What is the composition of your development environment?
Have you checked if the port is open to eliminate firewall and or network 
related issues?
Have you checked to make sure that your postgres database server is running?
Are you able to connect and authenticate to your postgres database in 
command line and terminal ?
e.t.c.

On Monday, December 6, 2021 at 7:36:20 AM UTC-7 singhch...@gmail.com wrote:

>

-- 
You received this message because you are subscribed 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/87de4ed1-73f3-4c94-9abe-b025ab273d42n%40googlegroups.com.


Urgent need help regarding to localhost

2021-12-06 Thread CHANDNI SINGH
-- 
You received this message because you are subscribed 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/5c17e537-8d17-4da0-9193-4133e2808527n%40googlegroups.com.


Re: Re : Need help in django database related

2021-10-14 Thread Richard Dushime
i Think using Django  u will create models then register  them in admin,
 for saving data /registration  u will create a form that will be posting
data  in database  may be u can add in an email scripts if u want to always
be aware of who has registered for an event

On Wed, Oct 13, 2021 at 8:37 PM Avi shah  wrote:

> I want to build an platform where admin can add events and I want end
> users to register for that event , so how do I save the
> data/registration of the user for that particular event , how can i create
> dynamic tables like 1 table for 1 event or is there some other logic behind
> it?
>
> Thanks in advance
>
> --
> You received this message because you are subscribed 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/CALa7AFPNK_KTJvDERYXmi_RG9_xq58EjiBAH7PsOcL0gCFHDYg%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/CAJCm56JivJajSaa-KihmRA1VYajHmVN5vbTZKp6e%3D_bUx%2BONtQ%40mail.gmail.com.


Re: Re : Need help in django database related

2021-10-14 Thread MR INDIA
Maybe you need to learn db relationships in django models and forms, 
Learn about db :

https://www.webforefront.com/django/setuprelationshipsdjangomodels.html 

And inspect source code of this project:

https://github.com/sajib1066/django-event-management


Hope this helps, 

A fellow django developer
On Wednesday, 13 October 2021 at 23:08:46 UTC+5:30 get...@gmail.com wrote:

> I want to build an platform where admin can add events and I want end 
> users to register for that event , so how do I save the 
> data/registration of the user for that particular event , how can i create 
> dynamic tables like 1 table for 1 event or is there some other logic behind 
> it?
>
> Thanks in advance
>

-- 
You received this message because you are subscribed 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/6622e73e-29bf-4e6c-b418-2518db8b357an%40googlegroups.com.


Re : Need help in django database related

2021-10-13 Thread Avi shah
I want to build an platform where admin can add events and I want end users
to register for that event , so how do I save the data/registration of the
user for that particular event , how can i create dynamic tables like 1
table for 1 event or is there some other logic behind it?

Thanks in advance

-- 
You received this message because you are subscribed 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/CALa7AFPNK_KTJvDERYXmi_RG9_xq58EjiBAH7PsOcL0gCFHDYg%40mail.gmail.com.


Need help for offline data sync of ManyToMany relation table

2021-09-22 Thread Shuham Bansal
Hi, 

I want to know about, how we can manage ManyToMany relation table for 
offline data sync, where frontend pass the data as different model for 
ManyToMany relation field. Can anyone suggest me some tips.

Thanks

-- 
You received this message because you are subscribed 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/1343e6a0-ecf6-4121-951a-91a6f8395e3cn%40googlegroups.com.


Re: need help integrating SSL with react/django web app

2021-09-21 Thread hey there
hi

I don't want to deep analysis of how can Cloudflare bring more preferred
than normal cartbot but most likely it is the way it is built. it proxied
connections offer tls /mtls edge certificate etc. which is known to us all
but it is also there that it maintains its own CA and CA record underneath
to maintain transparency. hope I am clear now. so why not?

let me know if you have any good solution with Cloudflare that helps.

On Tue, Sep 21, 2021 at 4:23 AM David Nugent  wrote:

> On Tue, Sep 21, 2021 at 2:11 AM hey there  wrote:
>
> 1. oracle autonomous linux's epl dont have certbot
>>
>
> pip install certbot
>
> You already have pip installed if you're running Django. This takes all of
> 10-15 seconds...
>
> and
>> 2.  I mostly like Cloudflare than certbot because Cloudflare has some own
>> methods to maintain ssl certificate
>>
>
> In your crontab:
>
> 30 03 01 * * /path/to/certbot renew
>
> Change time and/or date as appropriate - zero cost, fully automated SSL
> certificate updates. Certbot is pretty cool when it comes to detecting
> certs that require updating.
>
> Not too difficult, right?
>
> Regards, David
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAE5VhgUUtrW%2BdduS8aDURT-7odWcGk768QPtPfnLhQ9N%3D704WQ%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/CA%2BiAj8hF7J%3DAJuT0x7t0SL5uZ-r8A2_-7mJYQ0v5TmGU44WLkQ%40mail.gmail.com.


Re: need help integrating SSL with react/django web app

2021-09-20 Thread David Nugent
On Tue, Sep 21, 2021 at 2:11 AM hey there  wrote:

1. oracle autonomous linux's epl dont have certbot
>

pip install certbot

You already have pip installed if you're running Django. This takes all of
10-15 seconds...

and
> 2.  I mostly like Cloudflare than certbot because Cloudflare has some own
> methods to maintain ssl certificate
>

In your crontab:

30 03 01 * * /path/to/certbot renew

Change time and/or date as appropriate - zero cost, fully automated SSL
certificate updates. Certbot is pretty cool when it comes to detecting
certs that require updating.

Not too difficult, right?

Regards, David

-- 
You received this message because you are subscribed 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/CAE5VhgUUtrW%2BdduS8aDURT-7odWcGk768QPtPfnLhQ9N%3D704WQ%40mail.gmail.com.


Re: need help integrating SSL with react/django web app

2021-09-20 Thread hey there
1. oracle autonomous linux's epl dont have certbot
and
2.  I mostly like Cloudflare than certbot because Cloudflare has some own
methods to maintain ssl certificate

On Mon, Sep 20, 2021 at 2:37 PM FIRDOUS BHAT  wrote:

> Why don't you explore certbot?
>
> On Sun, Sep 19, 2021, 8:14 PM MR INDIA  wrote:
>
>> Select os and server and it will show the docs, you have to first
>> shutdown the server then after following the docs restart the server.
>>
>>
>> On Saturday, 18 September 2021 at 19:33:31 UTC+5:30 hey there wrote:
>>
>>> hey
>>>
>>> I am with Cloudflare ssl with httpd autonomous linux with mos_wsgi.
>>> foe Django you need mod_wsgi with all which is tricky.
>>>
>>> On Sat, Sep 18, 2021 at 7:18 PM MR INDIA  wrote:
>>>
 See this
 https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx Use letsencrypt
 if you have shell access
 On Saturday, 18 September 2021 at 02:41:54 UTC+5:30 hey there wrote:

>
> python 3.2.6
> django 3.2.7
> cx_oracle 8
>
>
>
> On Sat, 18 Sep 2021, 2:25 am hey there,  wrote:
>
>> hi
>>
>> i am also stuck
>>
>> On Monday, May 10, 2021 at 12:21:25 AM UTC+5:30 jmccla...@gmail.com
>> wrote:
>>
>>> Hello Ammar,
>>>
>>> we're stuck, have been for days
>>>
>>> We have nginx set in ec2 instance but cannot get the ssl to slip in.
>>>
>>> I copied in Divy who is also working to get this solved
>>>
>>> any help would be appreciated
>>>
>>>
>>> can you help me with this or provide any documentation
>>>
>>> On Sat, 8 May 2021 at 10:16, Ammar Mohammed 
>>> wrote:
>>>
 I am using Nginx as a proxy for my Django app and this method is
 working just fine.

 On Sat, May 8, 2021, 11:14 Ammar Mohammed 
 wrote:

> I think you're supposed to install the certificate in your web
> server (Nginx, Apache).
> Follow the manual to install it to your server and everything will
> be fine.
>
> On Sat, May 8, 2021, 10:35 John McClain 
> wrote:
>
>> Hello,
>>
>> I am having difficulties connecting SSL to my React/Python webapp
>>
>> I am trying to integrate the PWA and am having difficulties
>> getting the SSL to adopt to the app.
>>
>> Does anyone have experience with this?
>>
>> Cheers
>>
>> --
>> John McClain
>>
>> Cell: 085-1977-823
>> Skype: jmcclain0129
>> Email: jmccla...@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/CAN-hv_qHS2wdhuwYQLob1C_uM8vgfpbqnvxGke5oy8CyuT551g%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/CAHs1H7stQG2aqWD95LxH3PSUGaijRYL0%2BEmGCWC2s57A4dJwBw%40mail.gmail.com
 
 .

>>>
>>>
>>> --
>>> John McClain
>>>
>>> Cell: 085-1977-823
>>> Skype: jmcclain0129
>>> Email: jmccla...@gmail.com
>>>
>> --
>>
> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to
>> django-users...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/1c48904e-41b0-4959-8daf-6926f7b95652n%40googlegroups.com
>> 
>> .
>>
> --
 You received this message because you are subscribed to a topic in the
 Google Groups "Django users" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
 To 

Re: need help integrating SSL with react/django web app

2021-09-20 Thread FIRDOUS BHAT
Why don't you explore certbot?

On Sun, Sep 19, 2021, 8:14 PM MR INDIA  wrote:

> Select os and server and it will show the docs, you have to first shutdown
> the server then after following the docs restart the server.
>
>
> On Saturday, 18 September 2021 at 19:33:31 UTC+5:30 hey there wrote:
>
>> hey
>>
>> I am with Cloudflare ssl with httpd autonomous linux with mos_wsgi.
>> foe Django you need mod_wsgi with all which is tricky.
>>
>> On Sat, Sep 18, 2021 at 7:18 PM MR INDIA  wrote:
>>
>>> See this
>>> https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx Use letsencrypt
>>> if you have shell access
>>> On Saturday, 18 September 2021 at 02:41:54 UTC+5:30 hey there wrote:
>>>

 python 3.2.6
 django 3.2.7
 cx_oracle 8



 On Sat, 18 Sep 2021, 2:25 am hey there,  wrote:

> hi
>
> i am also stuck
>
> On Monday, May 10, 2021 at 12:21:25 AM UTC+5:30 jmccla...@gmail.com
> wrote:
>
>> Hello Ammar,
>>
>> we're stuck, have been for days
>>
>> We have nginx set in ec2 instance but cannot get the ssl to slip in.
>>
>> I copied in Divy who is also working to get this solved
>>
>> any help would be appreciated
>>
>>
>> can you help me with this or provide any documentation
>>
>> On Sat, 8 May 2021 at 10:16, Ammar Mohammed 
>> wrote:
>>
>>> I am using Nginx as a proxy for my Django app and this method is
>>> working just fine.
>>>
>>> On Sat, May 8, 2021, 11:14 Ammar Mohammed 
>>> wrote:
>>>
 I think you're supposed to install the certificate in your web
 server (Nginx, Apache).
 Follow the manual to install it to your server and everything will
 be fine.

 On Sat, May 8, 2021, 10:35 John McClain 
 wrote:

> Hello,
>
> I am having difficulties connecting SSL to my React/Python webapp
>
> I am trying to integrate the PWA and am having difficulties
> getting the SSL to adopt to the app.
>
> Does anyone have experience with this?
>
> Cheers
>
> --
> John McClain
>
> Cell: 085-1977-823
> Skype: jmcclain0129
> Email: jmccla...@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/CAN-hv_qHS2wdhuwYQLob1C_uM8vgfpbqnvxGke5oy8CyuT551g%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/CAHs1H7stQG2aqWD95LxH3PSUGaijRYL0%2BEmGCWC2s57A4dJwBw%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> John McClain
>>
>> Cell: 085-1977-823
>> Skype: jmcclain0129
>> Email: jmccla...@gmail.com
>>
> --
>
 You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to
> django-users...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/1c48904e-41b0-4959-8daf-6926f7b95652n%40googlegroups.com
> 
> .
>
 --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Django users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> django-users...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/fc47fc8f-2894-4869-b275-4ebe7211c2bbn%40googlegroups.com
>>> 

Re: need help integrating SSL with react/django web app

2021-09-19 Thread MR INDIA
Select os and server and it will show the docs, you have to first shutdown 
the server then after following the docs restart the server.


On Saturday, 18 September 2021 at 19:33:31 UTC+5:30 hey there wrote:

> hey
>
> I am with Cloudflare ssl with httpd autonomous linux with mos_wsgi. 
> foe Django you need mod_wsgi with all which is tricky. 
>
> On Sat, Sep 18, 2021 at 7:18 PM MR INDIA  wrote:
>
>> See this 
>> https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx Use letsencrypt 
>> if you have shell access
>> On Saturday, 18 September 2021 at 02:41:54 UTC+5:30 hey there wrote:
>>
>>>
>>> python 3.2.6
>>> django 3.2.7
>>> cx_oracle 8
>>>
>>>
>>>
>>> On Sat, 18 Sep 2021, 2:25 am hey there,  wrote:
>>>
 hi 

 i am also stuck 

 On Monday, May 10, 2021 at 12:21:25 AM UTC+5:30 jmccla...@gmail.com 
 wrote:

> Hello Ammar,
>
> we're stuck, have been for days
>
> We have nginx set in ec2 instance but cannot get the ssl to slip in.
>
> I copied in Divy who is also working to get this solved
>
> any help would be appreciated
>
>
> can you help me with this or provide any documentation
>
> On Sat, 8 May 2021 at 10:16, Ammar Mohammed  
> wrote:
>
>> I am using Nginx as a proxy for my Django app and this method is 
>> working just fine.
>>
>> On Sat, May 8, 2021, 11:14 Ammar Mohammed  wrote:
>>
>>> I think you're supposed to install the certificate in your web 
>>> server (Nginx, Apache).
>>> Follow the manual to install it to your server and everything will 
>>> be fine.
>>>
>>> On Sat, May 8, 2021, 10:35 John McClain  wrote:
>>>
 Hello,

 I am having difficulties connecting SSL to my React/Python webapp

 I am trying to integrate the PWA and am having difficulties getting 
 the SSL to adopt to the app.

 Does anyone have experience with this?

 Cheers

 -- 
 John McClain

 Cell: 085-1977-823
 Skype: jmcclain0129
 Email: jmccla...@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/CAN-hv_qHS2wdhuwYQLob1C_uM8vgfpbqnvxGke5oy8CyuT551g%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/CAHs1H7stQG2aqWD95LxH3PSUGaijRYL0%2BEmGCWC2s57A4dJwBw%40mail.gmail.com
>>  
>> 
>> .
>>
>
>
> -- 
> John McClain
>
> Cell: 085-1977-823
> Skype: jmcclain0129
> Email: jmccla...@gmail.com
>
 -- 

>>> You received this message because you are subscribed to a topic in the 
 Google Groups "Django users" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to 
 django-users...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/1c48904e-41b0-4959-8daf-6926f7b95652n%40googlegroups.com
  
 
 .

>>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> django-users...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/fc47fc8f-2894-4869-b275-4ebe7211c2bbn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from 

Re: need help integrating SSL with react/django web app

2021-09-18 Thread hey there
hey

I am with Cloudflare ssl with httpd autonomous linux with mos_wsgi.
foe Django you need mod_wsgi with all which is tricky.

On Sat, Sep 18, 2021 at 7:18 PM MR INDIA  wrote:

> See this
> https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx Use letsencrypt if
> you have shell access
> On Saturday, 18 September 2021 at 02:41:54 UTC+5:30 hey there wrote:
>
>>
>> python 3.2.6
>> django 3.2.7
>> cx_oracle 8
>>
>>
>>
>> On Sat, 18 Sep 2021, 2:25 am hey there,  wrote:
>>
>>> hi
>>>
>>> i am also stuck
>>>
>>> On Monday, May 10, 2021 at 12:21:25 AM UTC+5:30 jmccla...@gmail.com
>>> wrote:
>>>
 Hello Ammar,

 we're stuck, have been for days

 We have nginx set in ec2 instance but cannot get the ssl to slip in.

 I copied in Divy who is also working to get this solved

 any help would be appreciated


 can you help me with this or provide any documentation

 On Sat, 8 May 2021 at 10:16, Ammar Mohammed  wrote:

> I am using Nginx as a proxy for my Django app and this method is
> working just fine.
>
> On Sat, May 8, 2021, 11:14 Ammar Mohammed  wrote:
>
>> I think you're supposed to install the certificate in your web server
>> (Nginx, Apache).
>> Follow the manual to install it to your server and everything will be
>> fine.
>>
>> On Sat, May 8, 2021, 10:35 John McClain  wrote:
>>
>>> Hello,
>>>
>>> I am having difficulties connecting SSL to my React/Python webapp
>>>
>>> I am trying to integrate the PWA and am having difficulties getting
>>> the SSL to adopt to the app.
>>>
>>> Does anyone have experience with this?
>>>
>>> Cheers
>>>
>>> --
>>> John McClain
>>>
>>> Cell: 085-1977-823
>>> Skype: jmcclain0129
>>> Email: jmccla...@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/CAN-hv_qHS2wdhuwYQLob1C_uM8vgfpbqnvxGke5oy8CyuT551g%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/CAHs1H7stQG2aqWD95LxH3PSUGaijRYL0%2BEmGCWC2s57A4dJwBw%40mail.gmail.com
> 
> .
>


 --
 John McClain

 Cell: 085-1977-823
 Skype: jmcclain0129
 Email: jmccla...@gmail.com

>>> --
>>>
>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Django users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to
>>> django-users...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/1c48904e-41b0-4959-8daf-6926f7b95652n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/fc47fc8f-2894-4869-b275-4ebe7211c2bbn%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%2BiAj8ibGrSeh4L5tQqhQd%2BampM3XV0yOyJ6o1N6yKy6Ku-gWA%40mail.gmail.com.


Re: need help integrating SSL with react/django web app

2021-09-18 Thread MR INDIA
See this 
https://certbot.eff.org/lets-encrypt/ubuntufocal-nginx Use letsencrypt if 
you have shell access
On Saturday, 18 September 2021 at 02:41:54 UTC+5:30 hey there wrote:

>
> python 3.2.6
> django 3.2.7
> cx_oracle 8
>
>
>
> On Sat, 18 Sep 2021, 2:25 am hey there,  wrote:
>
>> hi 
>>
>> i am also stuck 
>>
>> On Monday, May 10, 2021 at 12:21:25 AM UTC+5:30 jmccla...@gmail.com 
>> wrote:
>>
>>> Hello Ammar,
>>>
>>> we're stuck, have been for days
>>>
>>> We have nginx set in ec2 instance but cannot get the ssl to slip in.
>>>
>>> I copied in Divy who is also working to get this solved
>>>
>>> any help would be appreciated
>>>
>>>
>>> can you help me with this or provide any documentation
>>>
>>> On Sat, 8 May 2021 at 10:16, Ammar Mohammed  wrote:
>>>
 I am using Nginx as a proxy for my Django app and this method is 
 working just fine.

 On Sat, May 8, 2021, 11:14 Ammar Mohammed  wrote:

> I think you're supposed to install the certificate in your web server 
> (Nginx, Apache).
> Follow the manual to install it to your server and everything will be 
> fine.
>
> On Sat, May 8, 2021, 10:35 John McClain  wrote:
>
>> Hello,
>>
>> I am having difficulties connecting SSL to my React/Python webapp
>>
>> I am trying to integrate the PWA and am having difficulties getting 
>> the SSL to adopt to the app.
>>
>> Does anyone have experience with this?
>>
>> Cheers
>>
>> -- 
>> John McClain
>>
>> Cell: 085-1977-823
>> Skype: jmcclain0129
>> Email: jmccla...@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/CAN-hv_qHS2wdhuwYQLob1C_uM8vgfpbqnvxGke5oy8CyuT551g%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/CAHs1H7stQG2aqWD95LxH3PSUGaijRYL0%2BEmGCWC2s57A4dJwBw%40mail.gmail.com
  
 
 .

>>>
>>>
>>> -- 
>>> John McClain
>>>
>>> Cell: 085-1977-823
>>> Skype: jmcclain0129
>>> Email: jmccla...@gmail.com
>>>
>> -- 
>>
> You received this message because you are subscribed to a topic in the 
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to 
>> django-users...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/1c48904e-41b0-4959-8daf-6926f7b95652n%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/fc47fc8f-2894-4869-b275-4ebe7211c2bbn%40googlegroups.com.


Re: need help integrating SSL with react/django web app

2021-09-17 Thread hey there
python 3.2.6
django 3.2.7
cx_oracle 8



On Sat, 18 Sep 2021, 2:25 am hey there,  wrote:

> hi
>
> i am also stuck
>
> On Monday, May 10, 2021 at 12:21:25 AM UTC+5:30 jmccla...@gmail.com wrote:
>
>> Hello Ammar,
>>
>> we're stuck, have been for days
>>
>> We have nginx set in ec2 instance but cannot get the ssl to slip in.
>>
>> I copied in Divy who is also working to get this solved
>>
>> any help would be appreciated
>>
>>
>> can you help me with this or provide any documentation
>>
>> On Sat, 8 May 2021 at 10:16, Ammar Mohammed  wrote:
>>
>>> I am using Nginx as a proxy for my Django app and this method is working
>>> just fine.
>>>
>>> On Sat, May 8, 2021, 11:14 Ammar Mohammed  wrote:
>>>
 I think you're supposed to install the certificate in your web server
 (Nginx, Apache).
 Follow the manual to install it to your server and everything will be
 fine.

 On Sat, May 8, 2021, 10:35 John McClain  wrote:

> Hello,
>
> I am having difficulties connecting SSL to my React/Python webapp
>
> I am trying to integrate the PWA and am having difficulties getting
> the SSL to adopt to the app.
>
> Does anyone have experience with this?
>
> Cheers
>
> --
> John McClain
>
> Cell: 085-1977-823
> Skype: jmcclain0129
> Email: jmccla...@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/CAN-hv_qHS2wdhuwYQLob1C_uM8vgfpbqnvxGke5oy8CyuT551g%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/CAHs1H7stQG2aqWD95LxH3PSUGaijRYL0%2BEmGCWC2s57A4dJwBw%40mail.gmail.com
>>> 
>>> .
>>>
>>
>>
>> --
>> John McClain
>>
>> Cell: 085-1977-823
>> Skype: jmcclain0129
>> Email: jmccla...@gmail.com
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/4WtsxZ6FUJo/unsubscribe.
> To unsubscribe from this group and all its topics, 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/1c48904e-41b0-4959-8daf-6926f7b95652n%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%2BiAj8h8usyf0bfVU-JE6R53rtOchgdPg9xaaysaJ1F2a2T1_w%40mail.gmail.com.


Re: need help integrating SSL with react/django web app

2021-09-17 Thread hey there
hi 

i am also stuck 

On Monday, May 10, 2021 at 12:21:25 AM UTC+5:30 jmccla...@gmail.com wrote:

> Hello Ammar,
>
> we're stuck, have been for days
>
> We have nginx set in ec2 instance but cannot get the ssl to slip in.
>
> I copied in Divy who is also working to get this solved
>
> any help would be appreciated
>
>
> can you help me with this or provide any documentation
>
> On Sat, 8 May 2021 at 10:16, Ammar Mohammed  wrote:
>
>> I am using Nginx as a proxy for my Django app and this method is working 
>> just fine.
>>
>> On Sat, May 8, 2021, 11:14 Ammar Mohammed  wrote:
>>
>>> I think you're supposed to install the certificate in your web server 
>>> (Nginx, Apache).
>>> Follow the manual to install it to your server and everything will be 
>>> fine.
>>>
>>> On Sat, May 8, 2021, 10:35 John McClain  wrote:
>>>
 Hello,

 I am having difficulties connecting SSL to my React/Python webapp

 I am trying to integrate the PWA and am having difficulties getting the 
 SSL to adopt to the app.

 Does anyone have experience with this?

 Cheers

 -- 
 John McClain

 Cell: 085-1977-823
 Skype: jmcclain0129
 Email: jmccla...@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/CAN-hv_qHS2wdhuwYQLob1C_uM8vgfpbqnvxGke5oy8CyuT551g%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/CAHs1H7stQG2aqWD95LxH3PSUGaijRYL0%2BEmGCWC2s57A4dJwBw%40mail.gmail.com
>>  
>> 
>> .
>>
>
>
> -- 
> John McClain
>
> Cell: 085-1977-823
> Skype: jmcclain0129
> Email: jmccla...@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/1c48904e-41b0-4959-8daf-6926f7b95652n%40googlegroups.com.


Re: Need help in converting the key value pairs of JSON data into data types.

2021-08-11 Thread Kasper Laudrup
On 11/08/2021 21.20, Franck Tchouanga wrote:
> I can help you.
>

Help me with what?

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/90dcdc26-d694-e3e0-1a1e-76178f953c40%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


Re: Need help in converting the key value pairs of JSON data into data types.

2021-08-11 Thread Franck Tchouanga
I can help you.

On Wed, Aug 11, 2021, 6:00 PM Kasper Laudrup  wrote:

> On 11/08/2021 15.54, chinna wrote:
> > Hi All,
> >
> > I am actually working on a use case where I have to convert the JSON
> > data into a dictionary and from that  I will have to replace all the
> > keys and values to the data types.
>
> The data type is returned as a string with the builtin type() function.
>
> > For example:
> >
> > input_dict  = {'segment_idenifier': 'Segment 2',
> > 'exposed_pipe_outside_diam': 4, 'exposed_pipe_length': 2}
> >
> > output_dict = {string : string, string : integer, string : integer }
> >
> > in some cases the dictionary will have nested dictionaries or lists as
> > well. If it has, we will have to replace the key-values inside those
> > nested objects.
> >
>
> The JSON library included with the Python standard supports nested
> objects (converting them into Python dictionaries) just fine, so that
> shouldn't be an issue:
>
> https://docs.python.org/3/library/json.html
>
> > I am including the json file here.
> >
> > I was struck by this a while ago. Please help me to resolve this.
> >
>
> What have you done so far and where exactly are you facing issues?
>
> Also, how is this related to Django?
>
> 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/a473aa95-8366-0834-1900-03946506b9bb%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/CANRJ%3D3kqR8DdkBANwNuRCCeT6j8jubsia-N-WjXHdbSj_-dSBA%40mail.gmail.com.


Re: Need help in converting the key value pairs of JSON data into data types.

2021-08-11 Thread Kasper Laudrup
On 11/08/2021 15.54, chinna wrote:
> Hi All,
> 
> I am actually working on a use case where I have to convert the JSON
> data into a dictionary and from that  I will have to replace all the
> keys and values to the data types. 

The data type is returned as a string with the builtin type() function.

> For example:
> 
> input_dict  = {'segment_idenifier': 'Segment 2',
> 'exposed_pipe_outside_diam': 4, 'exposed_pipe_length': 2}
> 
> output_dict = {string : string, string : integer, string : integer } 
> 
> in some cases the dictionary will have nested dictionaries or lists as
> well. If it has, we will have to replace the key-values inside those
> nested objects.
> 

The JSON library included with the Python standard supports nested
objects (converting them into Python dictionaries) just fine, so that
shouldn't be an issue:

https://docs.python.org/3/library/json.html

> I am including the json file here.
> 
> I was struck by this a while ago. Please help me to resolve this.
> 

What have you done so far and where exactly are you facing issues?

Also, how is this related to Django?

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/a473aa95-8366-0834-1900-03946506b9bb%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


Need help in converting the key value pairs of JSON data into data types.

2021-08-11 Thread chinna
Hi All,

I am actually working on a use case where I have to convert the JSON data
into a dictionary and from that  I will have to replace all the keys and
values to the data types.
For example:

input_dict  = {'segment_idenifier': 'Segment 2',
'exposed_pipe_outside_diam': 4, 'exposed_pipe_length': 2}

output_dict = {string : string, string : integer, string : integer }

in some cases the dictionary will have nested dictionaries or lists as
well. If it has, we will have to replace the key-values inside those nested
objects.

I am including the json file here.

I was struck by this a while ago. Please help me to resolve this.

Regards,
Prem.

-- 
You received this message because you are subscribed 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%3DmdoCyUqpGTn55ToUrzO0op%3DWsyrYEybx7sv4k4SFrnd0AqA%40mail.gmail.com.


package.json
Description: application/json


Re: Need help on RedirectView

2021-06-20 Thread Hello Singh
Thanks, David Sir
It help me a lot.

On Sun, 20 Jun 2021, 18:21 David Nugent,  wrote:

> It is just a method on the Article model. Don't copy-paste what is there,
> understand what it is doing.
>
> In this *example*, update_counter() will be defined in
> Article(models.Model), probably in models.py in the app. You obliged to use
> anything like this in your redirect.
>
> HTH,
>
> On Sun, Jun 20, 2021 at 10:21 PM Hello Singh 
> wrote:
>
>> Now I am trying Django class based view through Django documentation it
>> going well, but I a problem in RedirectView.
>>
>> There is `update_counter()` method I don't understand what it is doing
>> and where it come from. I highlight it in the given image.
>>
>> Please help me
>> Thanks developers
>>
>> --
>> You received this message because you are subscribed 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/CAEoS0z44Zkf2TJNuay6AU1imCdu5ALmuHSzxJxLtgKS_R69wfQ%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/CAE5VhgX4s-oqRqg%2B9zw2UBE-tmLEz0jnJDUDSXcXqtO976rhYA%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/CAEoS0z6G5i2K8u-p%2BjFJf6WzPV2SGVpP_gjuFY9oiqb-2m4-DA%40mail.gmail.com.


Re: Need help on RedirectView

2021-06-20 Thread David Nugent
It is just a method on the Article model. Don't copy-paste what is there,
understand what it is doing.

In this *example*, update_counter() will be defined in
Article(models.Model), probably in models.py in the app. You obliged to use
anything like this in your redirect.

HTH,

On Sun, Jun 20, 2021 at 10:21 PM Hello Singh  wrote:

> Now I am trying Django class based view through Django documentation it
> going well, but I a problem in RedirectView.
>
> There is `update_counter()` method I don't understand what it is doing and
> where it come from. I highlight it in the given image.
>
> Please help me
> Thanks developers
>
> --
> You received this message because you are subscribed 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/CAEoS0z44Zkf2TJNuay6AU1imCdu5ALmuHSzxJxLtgKS_R69wfQ%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/CAE5VhgX4s-oqRqg%2B9zw2UBE-tmLEz0jnJDUDSXcXqtO976rhYA%40mail.gmail.com.


Re: Desperately need help.

2021-06-16 Thread Ken Smith
Thank you very much they are very much aware that there is a problem with
that page and and they seemed not be able to fix it for a week's now. I
have contacted them time and time again about it. Actually I am beginning
to think that they have at that way on purpose of that they don't have to
pay out  Is there customers money they just keep getting it in. I take
rather that they might be very unscrupulous. Thank you for your input have
a great day

On Wed, Jun 16, 2021, 1:02 PM Krish M  wrote:

> Ken,
>
> Base on what you're asking, and from the source code (view-source) &
> screenshot, I don't think you have access to the right code to make the fix.
>
> Maybe contacting safewayfx.com and letting them know their platform has a
> bug?
>
> If they are unwilling to fix their backend bug, then there is nothing us
> here can help with.
>
> I am assuming, if you have access to the backend code (Python, Django) you
> should hire someone to fix that bug for you, you can point them to Jul
> response.
>
> On Tuesday, June 15, 2021 at 10:45:05 PM UTC-4 Nikeet NA wrote:
>
>>
>> In your withdraw view you have return render this should be missing check
>> inside if statements or inside your custom logic which you have written
>> without seeing the actual code its hard to tell.
>>
>> On Wednesday, 16 June 2021 at 03:14:26 UTC+5:30 Ken Smith wrote:
>>
>>> jul, thank you so very much for your very simple and honest answer. This
>>> was the best response I could have ever received from anyone and I
>>> appreciate it. I'm getting a bit old at 66 it seems my brain doesn't work
>>> as good as it did even 10 years ago for learning something as difficult as
>>> coding. Although your suggestion makes good sense and holds merit. I do
>>> thank you for your response. I only ask one more simple thing can you tell
>>> me which line of the code the HTTP response is missing from.
>>>
>>> Your answer has really opened up my brain to the possibility that the
>>> website has left that out on purpose so that members cannot withdraw their
>>> money.
>>>
>>> Again thank you so very much for your response and have a wonderful day
>>> On Tuesday, June 15, 2021 at 5:39:54 PM UTC-4 jul.ale...@gmail.com
>>> wrote:
>>>
 Pretty easy to be honest. The web page need an http response and it's
 give none instead. :)


 If you don't know about the code, maybe you should hire a developer or
 learn by yourself.

 El mar., 15 de junio de 2021 3:14 p. m., Ken Smith 
 escribió:

> There is the issue to solve that is the result of pressing the button
> to complete your transaction. And it may be dumb because I don't know a
> damn thing about  django and I assume that I would get an intelligent
> response on this forum.  This was in fact a sincere request because I know
> nothing about this code. If I did I would've discovered it myself. I 
> merely
> had the stupid assumption that someone would actually consider this a
> challenge. But apparently not even your up to a challenge maybe it's too
> hard for you. That is coded in django as I understand I may be wrong. I
> only read what was presented on the error page. If it's not that would you
> please direct me to what code it could possibly be as I am not a coder in
> any way shape or form. I stopped even trying long before these new methods
> of coding came out. I think the last time I tried to write code was in the
> 1990s. I know there is a solution to my question I just hope there is
> someone with the intelligence to take on the challenge for me or at least
> direct me to where I need to go instead of making jokes. Perhaps someone
> can tell me something about where I need to go or what I need to do there
> is a lot of money involved in getting this code correct so that I can send
> the corrected information to the company who owns the webpage. Not
> everybody here knows how to code some of us are actually wanting some
> answers to questions that we have. I am by trade an aircraft mechanic. So 
> I
> can laugh at you if I asked you to go clean the air sock and you don't 
> even
> know what I'm talking about but I won't because you don't know what I'm
> talking about. Neither do I know anything about what I presented and I
> don't pretend to know that's why I asked for some intelligent information.
> Have a good day regards Ken
> On Monday, June 14, 2021 at 5:21:42 PM UTC-4 jacobgr...@gmail.com
> wrote:
>
>> Lol what do you expect anyone to do? You just post some random HTML,
>> zero code, no backtrace, nothing to even indicate there is an issue that
>> someone could solve even IF they were willing... This has nothing to do
>> with Django. I don't understand what you thought was going to happen. 
>> This
>> is possibly the dumbest "question" I have ever read. I'd be willing to
>> consult at double my normal hourly 

Re: Desperately need help.

2021-06-16 Thread Krish M
Ken,

Base on what you're asking, and from the source code (view-source) & 
screenshot, I don't think you have access to the right code to make the fix.

Maybe contacting safewayfx.com and letting them know their platform has a 
bug? 

If they are unwilling to fix their backend bug, then there is nothing us 
here can help with.

I am assuming, if you have access to the backend code (Python, Django) you 
should hire someone to fix that bug for you, you can point them to Jul 
response.

On Tuesday, June 15, 2021 at 10:45:05 PM UTC-4 Nikeet NA wrote:

>
> In your withdraw view you have return render this should be missing check 
> inside if statements or inside your custom logic which you have written 
> without seeing the actual code its hard to tell.
>
> On Wednesday, 16 June 2021 at 03:14:26 UTC+5:30 Ken Smith wrote:
>
>> jul, thank you so very much for your very simple and honest answer. This 
>> was the best response I could have ever received from anyone and I 
>> appreciate it. I'm getting a bit old at 66 it seems my brain doesn't work 
>> as good as it did even 10 years ago for learning something as difficult as 
>> coding. Although your suggestion makes good sense and holds merit. I do 
>> thank you for your response. I only ask one more simple thing can you tell 
>> me which line of the code the HTTP response is missing from.
>>
>> Your answer has really opened up my brain to the possibility that the 
>> website has left that out on purpose so that members cannot withdraw their 
>> money.
>>
>> Again thank you so very much for your response and have a wonderful day
>> On Tuesday, June 15, 2021 at 5:39:54 PM UTC-4 jul.ale...@gmail.com wrote:
>>
>>> Pretty easy to be honest. The web page need an http response and it's 
>>> give none instead. :) 
>>>
>>>
>>> If you don't know about the code, maybe you should hire a developer or 
>>> learn by yourself. 
>>>
>>> El mar., 15 de junio de 2021 3:14 p. m., Ken Smith  
>>> escribió:
>>>
 There is the issue to solve that is the result of pressing the button 
 to complete your transaction. And it may be dumb because I don't know a 
 damn thing about  django and I assume that I would get an intelligent 
 response on this forum.  This was in fact a sincere request because I know 
 nothing about this code. If I did I would've discovered it myself. I 
 merely 
 had the stupid assumption that someone would actually consider this a 
 challenge. But apparently not even your up to a challenge maybe it's too 
 hard for you. That is coded in django as I understand I may be wrong. I 
 only read what was presented on the error page. If it's not that would you 
 please direct me to what code it could possibly be as I am not a coder in 
 any way shape or form. I stopped even trying long before these new methods 
 of coding came out. I think the last time I tried to write code was in the 
 1990s. I know there is a solution to my question I just hope there is 
 someone with the intelligence to take on the challenge for me or at least 
 direct me to where I need to go instead of making jokes. Perhaps someone 
 can tell me something about where I need to go or what I need to do there 
 is a lot of money involved in getting this code correct so that I can send 
 the corrected information to the company who owns the webpage. Not 
 everybody here knows how to code some of us are actually wanting some 
 answers to questions that we have. I am by trade an aircraft mechanic. So 
 I 
 can laugh at you if I asked you to go clean the air sock and you don't 
 even 
 know what I'm talking about but I won't because you don't know what I'm 
 talking about. Neither do I know anything about what I presented and I 
 don't pretend to know that's why I asked for some intelligent information. 
 Have a good day regards Ken
 On Monday, June 14, 2021 at 5:21:42 PM UTC-4 jacobgr...@gmail.com 
 wrote:

> Lol what do you expect anyone to do? You just post some random HTML, 
> zero code, no backtrace, nothing to even indicate there is an issue that 
> someone could solve even IF they were willing... This has nothing to do 
> with Django. I don't understand what you thought was going to happen. 
> This 
> is possibly the dumbest "question" I have ever read. I'd be willing to 
> consult at double my normal hourly rate if you are the point of contact. 
>
> On Mon, Jun 14, 2021 at 12:12 PM Kasper Laudrup  
> wrote:
>
>> On 14/06/2021 05.15, Ken Smith wrote:
>> > I sure hope that somebody can take the time to do this. I'm just
>> > wondering one of you brilliant programmers can look at this webpage 
>> and
>> > tell me where the errors are so that it can be fixed? Apparently the
>> > programmers at the website are not as smart as you people are. If
>> > someone has the time and inclination to do so with a please go 

Re: Desperately need help.

2021-06-15 Thread Nikeet NA

In your withdraw view you have return render this should be missing check 
inside if statements or inside your custom logic which you have written 
without seeing the actual code its hard to tell.

On Wednesday, 16 June 2021 at 03:14:26 UTC+5:30 Ken Smith wrote:

> jul, thank you so very much for your very simple and honest answer. This 
> was the best response I could have ever received from anyone and I 
> appreciate it. I'm getting a bit old at 66 it seems my brain doesn't work 
> as good as it did even 10 years ago for learning something as difficult as 
> coding. Although your suggestion makes good sense and holds merit. I do 
> thank you for your response. I only ask one more simple thing can you tell 
> me which line of the code the HTTP response is missing from.
>
> Your answer has really opened up my brain to the possibility that the 
> website has left that out on purpose so that members cannot withdraw their 
> money.
>
> Again thank you so very much for your response and have a wonderful day
> On Tuesday, June 15, 2021 at 5:39:54 PM UTC-4 jul.ale...@gmail.com wrote:
>
>> Pretty easy to be honest. The web page need an http response and it's 
>> give none instead. :) 
>>
>>
>> If you don't know about the code, maybe you should hire a developer or 
>> learn by yourself. 
>>
>> El mar., 15 de junio de 2021 3:14 p. m., Ken Smith  
>> escribió:
>>
>>> There is the issue to solve that is the result of pressing the button to 
>>> complete your transaction. And it may be dumb because I don't know a damn 
>>> thing about  django and I assume that I would get an intelligent response 
>>> on this forum.  This was in fact a sincere request because I know nothing 
>>> about this code. If I did I would've discovered it myself. I merely had the 
>>> stupid assumption that someone would actually consider this a challenge. 
>>> But apparently not even your up to a challenge maybe it's too hard for you. 
>>> That is coded in django as I understand I may be wrong. I only read what 
>>> was presented on the error page. If it's not that would you please direct 
>>> me to what code it could possibly be as I am not a coder in any way shape 
>>> or form. I stopped even trying long before these new methods of coding came 
>>> out. I think the last time I tried to write code was in the 1990s. I know 
>>> there is a solution to my question I just hope there is someone with the 
>>> intelligence to take on the challenge for me or at least direct me to where 
>>> I need to go instead of making jokes. Perhaps someone can tell me something 
>>> about where I need to go or what I need to do there is a lot of money 
>>> involved in getting this code correct so that I can send the corrected 
>>> information to the company who owns the webpage. Not everybody here knows 
>>> how to code some of us are actually wanting some answers to questions that 
>>> we have. I am by trade an aircraft mechanic. So I can laugh at you if I 
>>> asked you to go clean the air sock and you don't even know what I'm talking 
>>> about but I won't because you don't know what I'm talking about. Neither do 
>>> I know anything about what I presented and I don't pretend to know that's 
>>> why I asked for some intelligent information. Have a good day regards Ken
>>> On Monday, June 14, 2021 at 5:21:42 PM UTC-4 jacobgr...@gmail.com wrote:
>>>
 Lol what do you expect anyone to do? You just post some random HTML, 
 zero code, no backtrace, nothing to even indicate there is an issue that 
 someone could solve even IF they were willing... This has nothing to do 
 with Django. I don't understand what you thought was going to happen. This 
 is possibly the dumbest "question" I have ever read. I'd be willing to 
 consult at double my normal hourly rate if you are the point of contact. 

 On Mon, Jun 14, 2021 at 12:12 PM Kasper Laudrup  
 wrote:

> On 14/06/2021 05.15, Ken Smith wrote:
> > I sure hope that somebody can take the time to do this. I'm just
> > wondering one of you brilliant programmers can look at this webpage 
> and
> > tell me where the errors are so that it can be fixed? Apparently the
> > programmers at the website are not as smart as you people are. If
> > someone has the time and inclination to do so with a please go over 
> the
> > code and highlight where the errors are in the corrections necessary 
> in
> > send back to me in a file in response. I would greatly be so happy.
> > Thank you and have a wonderful day.
> > 
>
> Instead of wasting space on meaningless flattering of the very diverse
> members of this list/forum and begin rude to the developers at
> safewayfx.com you would have a much better chance of getting help if 
> you
> instead showed that you were willing to do at least a minimal effort
> yourself.
>
> What errors are you talking about and what have you done to try and
> solve them?
>
> 

Re: Desperately need help.

2021-06-15 Thread Ken Smith
jul, thank you so very much for your very simple and honest answer. This 
was the best response I could have ever received from anyone and I 
appreciate it. I'm getting a bit old at 66 it seems my brain doesn't work 
as good as it did even 10 years ago for learning something as difficult as 
coding. Although your suggestion makes good sense and holds merit. I do 
thank you for your response. I only ask one more simple thing can you tell 
me which line of the code the HTTP response is missing from.

Your answer has really opened up my brain to the possibility that the 
website has left that out on purpose so that members cannot withdraw their 
money.

Again thank you so very much for your response and have a wonderful day
On Tuesday, June 15, 2021 at 5:39:54 PM UTC-4 jul.ale...@gmail.com wrote:

> Pretty easy to be honest. The web page need an http response and it's give 
> none instead. :) 
>
>
> If you don't know about the code, maybe you should hire a developer or 
> learn by yourself. 
>
> El mar., 15 de junio de 2021 3:14 p. m., Ken Smith  
> escribió:
>
>> There is the issue to solve that is the result of pressing the button to 
>> complete your transaction. And it may be dumb because I don't know a damn 
>> thing about  django and I assume that I would get an intelligent response 
>> on this forum.  This was in fact a sincere request because I know nothing 
>> about this code. If I did I would've discovered it myself. I merely had the 
>> stupid assumption that someone would actually consider this a challenge. 
>> But apparently not even your up to a challenge maybe it's too hard for you. 
>> That is coded in django as I understand I may be wrong. I only read what 
>> was presented on the error page. If it's not that would you please direct 
>> me to what code it could possibly be as I am not a coder in any way shape 
>> or form. I stopped even trying long before these new methods of coding came 
>> out. I think the last time I tried to write code was in the 1990s. I know 
>> there is a solution to my question I just hope there is someone with the 
>> intelligence to take on the challenge for me or at least direct me to where 
>> I need to go instead of making jokes. Perhaps someone can tell me something 
>> about where I need to go or what I need to do there is a lot of money 
>> involved in getting this code correct so that I can send the corrected 
>> information to the company who owns the webpage. Not everybody here knows 
>> how to code some of us are actually wanting some answers to questions that 
>> we have. I am by trade an aircraft mechanic. So I can laugh at you if I 
>> asked you to go clean the air sock and you don't even know what I'm talking 
>> about but I won't because you don't know what I'm talking about. Neither do 
>> I know anything about what I presented and I don't pretend to know that's 
>> why I asked for some intelligent information. Have a good day regards Ken
>> On Monday, June 14, 2021 at 5:21:42 PM UTC-4 jacobgr...@gmail.com wrote:
>>
>>> Lol what do you expect anyone to do? You just post some random HTML, 
>>> zero code, no backtrace, nothing to even indicate there is an issue that 
>>> someone could solve even IF they were willing... This has nothing to do 
>>> with Django. I don't understand what you thought was going to happen. This 
>>> is possibly the dumbest "question" I have ever read. I'd be willing to 
>>> consult at double my normal hourly rate if you are the point of contact. 
>>>
>>> On Mon, Jun 14, 2021 at 12:12 PM Kasper Laudrup  
>>> wrote:
>>>
 On 14/06/2021 05.15, Ken Smith wrote:
 > I sure hope that somebody can take the time to do this. I'm just
 > wondering one of you brilliant programmers can look at this webpage 
 and
 > tell me where the errors are so that it can be fixed? Apparently the
 > programmers at the website are not as smart as you people are. If
 > someone has the time and inclination to do so with a please go over 
 the
 > code and highlight where the errors are in the corrections necessary 
 in
 > send back to me in a file in response. I would greatly be so happy.
 > Thank you and have a wonderful day.
 > 

 Instead of wasting space on meaningless flattering of the very diverse
 members of this list/forum and begin rude to the developers at
 safewayfx.com you would have a much better chance of getting help if 
 you
 instead showed that you were willing to do at least a minimal effort
 yourself.

 What errors are you talking about and what have you done to try and
 solve them?

 Just attaching and HTML file and expecting people to fix errors you
 cannot even bother to point out is not gonna get you much positive 
 feedback.

 Also, how is this related to Django at all?

 Finally, are you sure that safewayfx.com is OK with you sharing their
 copyrighted works without their acceptance?

 Kind regards,

Re: Desperately need help.

2021-06-15 Thread Ken Smith
Kasper, I am not sure of anything at this point. As for the denigrating of 
the Safeway programmers this has been going on for quite some time and I 
have money in that account that I am unable to withdraw because the failure 
of the page for withdrawal. And no I'm not sure of anything about 
permissions or anything else I just thought that this would be the place to 
ask if someone could provide the corrections so that I could send that to 
the company and have been directed to their programmers and maybe this 
might actually get things going so that I can withdraw my funds from their. 
As for flattery certainly most of the members of this former way smarter 
than I am in this area as I know nothing about the coding that you are 
involved in. It was not flattery it was merely a statement of fact. If you 
want to know how to fix airplanes you come to me as I have over 40 years 
experience in it. However I know nothing about code anymore it is been more 
than two decades since I even tried to code. And I'm/very aware that things 
are greatly changed since then. From the response of another member here 
I'm not even sure if the code is in django. It was merely mentioned on the 
error page that was presented. If you'll read my most recent post you will 
see the error page and why I got that assumption. I merely wish to be able 
to withdraw my money from the website and anything I can do to help their 
coders to do the job would be worth it to me. As I said to other members I 
presented this hoping that someone might be interested in taking up the 
challenge but is as of yet no one on this forum appears to be up to the 
challenge.

It would be appreciative if anyone here could direct me to somebody who 
could actually help me with this so that I can present the corrected 
information to the company so that they may make the corrections necessary 
and have the page work. One thing I do remember from code it can be very 
difficult and mistakes can be made on a simple thing that can cause 
everything not to work. That's why collaboration is often very important 
when things don't work. As you probably well know.

Have a wonderful day
On Monday, June 14, 2021 at 1:13:18 PM UTC-4 Kasper Laudrup wrote:

> On 14/06/2021 05.15, Ken Smith wrote:
> > I sure hope that somebody can take the time to do this. I'm just
> > wondering one of you brilliant programmers can look at this webpage and
> > tell me where the errors are so that it can be fixed? Apparently the
> > programmers at the website are not as smart as you people are. If
> > someone has the time and inclination to do so with a please go over the
> > code and highlight where the errors are in the corrections necessary in
> > send back to me in a file in response. I would greatly be so happy.
> > Thank you and have a wonderful day.
> > 
>
> Instead of wasting space on meaningless flattering of the very diverse
> members of this list/forum and begin rude to the developers at
> safewayfx.com you would have a much better chance of getting help if you
> instead showed that you were willing to do at least a minimal effort
> yourself.
>
> What errors are you talking about and what have you done to try and
> solve them?
>
> Just attaching and HTML file and expecting people to fix errors you
> cannot even bother to point out is not gonna get you much positive 
> feedback.
>
> Also, how is this related to Django at all?
>
> Finally, are you sure that safewayfx.com is OK with you sharing their
> copyrighted works without their acceptance?
>
> 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/01860dc4-d4ea-47d4-88a3-9d4683ed7fefn%40googlegroups.com.


Re: Desperately need help.

2021-06-15 Thread Julio Cojom
Pretty easy to be honest. The web page need an http response and it's give
none instead. :)


If you don't know about the code, maybe you should hire a developer or
learn by yourself.

El mar., 15 de junio de 2021 3:14 p. m., Ken Smith 
escribió:

> There is the issue to solve that is the result of pressing the button to
> complete your transaction. And it may be dumb because I don't know a damn
> thing about  django and I assume that I would get an intelligent response
> on this forum.  This was in fact a sincere request because I know nothing
> about this code. If I did I would've discovered it myself. I merely had the
> stupid assumption that someone would actually consider this a challenge.
> But apparently not even your up to a challenge maybe it's too hard for you.
> That is coded in django as I understand I may be wrong. I only read what
> was presented on the error page. If it's not that would you please direct
> me to what code it could possibly be as I am not a coder in any way shape
> or form. I stopped even trying long before these new methods of coding came
> out. I think the last time I tried to write code was in the 1990s. I know
> there is a solution to my question I just hope there is someone with the
> intelligence to take on the challenge for me or at least direct me to where
> I need to go instead of making jokes. Perhaps someone can tell me something
> about where I need to go or what I need to do there is a lot of money
> involved in getting this code correct so that I can send the corrected
> information to the company who owns the webpage. Not everybody here knows
> how to code some of us are actually wanting some answers to questions that
> we have. I am by trade an aircraft mechanic. So I can laugh at you if I
> asked you to go clean the air sock and you don't even know what I'm talking
> about but I won't because you don't know what I'm talking about. Neither do
> I know anything about what I presented and I don't pretend to know that's
> why I asked for some intelligent information. Have a good day regards Ken
> On Monday, June 14, 2021 at 5:21:42 PM UTC-4 jacobgr...@gmail.com wrote:
>
>> Lol what do you expect anyone to do? You just post some random HTML, zero
>> code, no backtrace, nothing to even indicate there is an issue that someone
>> could solve even IF they were willing... This has nothing to do with
>> Django. I don't understand what you thought was going to happen. This is
>> possibly the dumbest "question" I have ever read. I'd be willing to consult
>> at double my normal hourly rate if you are the point of contact.
>>
>> On Mon, Jun 14, 2021 at 12:12 PM Kasper Laudrup 
>> wrote:
>>
>>> On 14/06/2021 05.15, Ken Smith wrote:
>>> > I sure hope that somebody can take the time to do this. I'm just
>>> > wondering one of you brilliant programmers can look at this webpage and
>>> > tell me where the errors are so that it can be fixed? Apparently the
>>> > programmers at the website are not as smart as you people are. If
>>> > someone has the time and inclination to do so with a please go over the
>>> > code and highlight where the errors are in the corrections necessary in
>>> > send back to me in a file in response. I would greatly be so happy.
>>> > Thank you and have a wonderful day.
>>> >
>>>
>>> Instead of wasting space on meaningless flattering of the very diverse
>>> members of this list/forum and begin rude to the developers at
>>> safewayfx.com you would have a much better chance of getting help if you
>>> instead showed that you were willing to do at least a minimal effort
>>> yourself.
>>>
>>> What errors are you talking about and what have you done to try and
>>> solve them?
>>>
>>> Just attaching and HTML file and expecting people to fix errors you
>>> cannot even bother to point out is not gonna get you much positive
>>> feedback.
>>>
>>> Also, how is this related to Django at all?
>>>
>>> Finally, are you sure that safewayfx.com is OK with you sharing their
>>> copyrighted works without their acceptance?
>>>
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/c3fe4ad7-ef75-2441-b848-427bce52814b%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/a4a501a6-684d-479f-b618-cd83cdc8b5ccn%40googlegroups.com
> 
> .

Re: Desperately need help.

2021-06-14 Thread Jacob Greene
Lol what do you expect anyone to do? You just post some random HTML, zero
code, no backtrace, nothing to even indicate there is an issue that someone
could solve even IF they were willing... This has nothing to do with
Django. I don't understand what you thought was going to happen. This is
possibly the dumbest "question" I have ever read. I'd be willing to consult
at double my normal hourly rate if you are the point of contact.

On Mon, Jun 14, 2021 at 12:12 PM Kasper Laudrup 
wrote:

> On 14/06/2021 05.15, Ken Smith wrote:
> > I sure hope that somebody can take the time to do this. I'm just
> > wondering one of you brilliant programmers can look at this webpage and
> > tell me where the errors are so that it can be fixed? Apparently the
> > programmers at the website are not as smart as you people are. If
> > someone has the time and inclination to do so with a please go over the
> > code and highlight where the errors are in the corrections necessary in
> > send back to me in a file in response. I would greatly be so happy.
> > Thank you and have a wonderful day.
> >
>
> Instead of wasting space on meaningless flattering of the very diverse
> members of this list/forum and begin rude to the developers at
> safewayfx.com you would have a much better chance of getting help if you
> instead showed that you were willing to do at least a minimal effort
> yourself.
>
> What errors are you talking about and what have you done to try and
> solve them?
>
> Just attaching and HTML file and expecting people to fix errors you
> cannot even bother to point out is not gonna get you much positive
> feedback.
>
> Also, how is this related to Django at all?
>
> Finally, are you sure that safewayfx.com is OK with you sharing their
> copyrighted works without their acceptance?
>
> 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/c3fe4ad7-ef75-2441-b848-427bce52814b%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/CAF-Y%3De5C-o8B3uOxKvEgdbLhkqat%3DY_CuBG664zs3NXp4uMftA%40mail.gmail.com.


  1   2   3   4   5   6   7   8   9   10   >