Re: ARGPARSE ERROR

2018-04-16 Thread Aditya Singh
You need to download the latest version of django rest framework same as
the version specified. If you need help on the commands let me know mate.
Give it a shot it should help.
Kind Regards,
Aditya


On Mon, Apr 16, 2018, 3:57 PM Ank  wrote:

> HI all ,
>
> Installed Python 3.5 and still getting an error
>
> django-rest-swagger 2.1.2 has requirement djangorestframework>=3.5.4, but
> you'll have djangorestframework 3.5.3 which is incompatible.
>
>
> Any pointers to solve this
>
> Thanks in advance
>
> best
> Ankush
>
> On Friday, April 13, 2018 at 11:07:58 AM UTC+2, Michal Petrucha wrote:
>>
>> On Thu, Apr 12, 2018 at 07:58:08PM +, Ankush Sharma wrote:
>> > Hi Babatunde ,
>> > I installed other listed tools ! Here the main concern im talking about
>> is
>> > Argsparse -
>> > the Progressbar2 3.6.2 requires argparse, which is not installed.
>> > Thanks in advance
>> > Ank
>>
>> What version of Python are you running this on? Either it's a very old
>> one (2.6, 3.1), which would be unsupported by pretty much any
>> reasonably recent Python package, or your Python environment is messed
>> up somehow, and it lacks a part of the standard library. If the former
>> is the case, you need to migrate to a newer Python; if the latter,
>> then you need to fix your Python installation, and make sure that it
>> includes the entire standard library.
>>
>> Good luck,
>>
>> Michal
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/65019800-10a1-40bb-98e0-a22a74cc6ac5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumhWmqc4RMxeODHJX2DSacMox61sqhtnxdik5%2Bv7fCqh2w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django with mongo

2018-05-02 Thread Aditya Singh
Kindly help me with the mist efficient and easy method of integrating mongo
with django.I have tried djongo but need to expand my approach.
Kind Regards,
Aditya

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumjKKdkyNEYLzNe_BHCKVsfWDmwb_xKR7FrGo38ZaBGHkQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: need help

2018-05-02 Thread Aditya Singh
This has surely to do with your internet connection mate.

On Wed, May 2, 2018, 10:46 PM Jani Tiainen  wrote:

> Looks like your machine doesn't have connection to (some parts) of
> internet for some reason, or you do have very slow connection.
>
> On Wed, May 2, 2018 at 7:46 PM,  wrote:
>
>> please  this is the massage i keep on getting when trying to install
>> django.. what do i do?
>>
>>
>> C:\Users\Admin>pip install Django==2.0.5
>> Collecting Django==2.0.5
>>   Retrying (Retry(total=4, connect=None, read=None, redirect=None,
>> status=None)) after connection broken by
>> 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
>> timed out. (read timeout=15)",)': /simple/django/
>>   Downloading
>> https://files.pythonhosted.org/packages/23/91/2245462e57798e9251de87c88b2b8f996d10ddcb68206a8a020561ef7bd3/Django-2.0.5-py3-none-any.whl
>> (7.1MB)
>> 0% || 10kB 1.2kB/s eta
>> 1:36:24Exception:
>> Traceback (most recent call last):
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>> line 302, in _error_catcher
>> yield
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>> line 384, in read
>> data = self._fp.read(amt)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py",
>> line 60, in read
>> data = self.__fp.read(amt)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
>> line 449, in read
>> n = self.readinto(b)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
>> line 493, in readinto
>> n = self.fp.readinto(b)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\socket.py",
>> line 586, in readinto
>> return self._sock.recv_into(b)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line
>> 1009, in recv_into
>> return self.read(nbytes, buffer)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line
>> 871, in read
>> return self._sslobj.read(len, buffer)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line
>> 631, in read
>> v = self._sslobj.read(len, buffer)
>> socket.timeout: The read operation timed out
>>
>> During handling of the above exception, another exception occurred:
>>
>> Traceback (most recent call last):
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\basecommand.py",
>> line 215, in main
>> status = self.run(options, args)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\commands\install.py",
>> line 324, in run
>> requirement_set.prepare_files(finder)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py",
>> line 380, in prepare_files
>> ignore_dependencies=self.ignore_dependencies))
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py",
>> line 620, in _prepare_file
>> session=self.session, hashes=hashes)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>> line 821, in unpack_url
>> hashes=hashes
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>> line 659, in unpack_http_url
>> hashes)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>> line 882, in _download_http_url
>> _download_url(resp, link, content_file, hashes)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>> line 603, in _download_url
>> hashes.check_against_chunks(downloaded_chunks)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\utils\hashes.py",
>> line 46, in check_against_chunks
>> for chunk in chunks:
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>> line 571, in written_chunks
>> for chunk in chunks:
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\utils\ui.py",
>> line 139, in iter
>> for x in it:
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>> line 560, in resp_read
>> decode_content=False):
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>> line 436, in stream
>> data = self.read(amt=amt, decode_content=decode_content)
>>   File
>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>> line 401

Re: need help

2018-05-02 Thread Aditya Singh
Sure it is mate

On Wed, May 2, 2018, 10:51 PM Umar Kambala  wrote:

> I believe its low connection
> On May 2, 2018 5:16 PM, "Jani Tiainen"  wrote:
>
>> Looks like your machine doesn't have connection to (some parts) of
>> internet for some reason, or you do have very slow connection.
>>
>> On Wed, May 2, 2018 at 7:46 PM,  wrote:
>>
>>> please  this is the massage i keep on getting when trying to install
>>> django.. what do i do?
>>>
>>>
>>> C:\Users\Admin>pip install Django==2.0.5
>>> Collecting Django==2.0.5
>>>   Retrying (Retry(total=4, connect=None, read=None, redirect=None,
>>> status=None)) after connection broken by
>>> 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443): Read
>>> timed out. (read timeout=15)",)': /simple/django/
>>>   Downloading
>>> https://files.pythonhosted.org/packages/23/91/2245462e57798e9251de87c88b2b8f996d10ddcb68206a8a020561ef7bd3/Django-2.0.5-py3-none-any.whl
>>> (7.1MB)
>>> 0% || 10kB 1.2kB/s eta
>>> 1:36:24Exception:
>>> Traceback (most recent call last):
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>>> line 302, in _error_catcher
>>> yield
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>>> line 384, in read
>>> data = self._fp.read(amt)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py",
>>> line 60, in read
>>> data = self.__fp.read(amt)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
>>> line 449, in read
>>> n = self.readinto(b)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
>>> line 493, in readinto
>>> n = self.fp.readinto(b)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\socket.py",
>>> line 586, in readinto
>>> return self._sock.recv_into(b)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line
>>> 1009, in recv_into
>>> return self.read(nbytes, buffer)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line
>>> 871, in read
>>> return self._sslobj.read(len, buffer)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", line
>>> 631, in read
>>> v = self._sslobj.read(len, buffer)
>>> socket.timeout: The read operation timed out
>>>
>>> During handling of the above exception, another exception occurred:
>>>
>>> Traceback (most recent call last):
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\basecommand.py",
>>> line 215, in main
>>> status = self.run(options, args)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\commands\install.py",
>>> line 324, in run
>>> requirement_set.prepare_files(finder)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py",
>>> line 380, in prepare_files
>>> ignore_dependencies=self.ignore_dependencies))
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py",
>>> line 620, in _prepare_file
>>> session=self.session, hashes=hashes)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>>> line 821, in unpack_url
>>> hashes=hashes
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>>> line 659, in unpack_http_url
>>> hashes)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>>> line 882, in _download_http_url
>>> _download_url(resp, link, content_file, hashes)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>>> line 603, in _download_url
>>> hashes.check_against_chunks(downloaded_chunks)
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\utils\hashes.py",
>>> line 46, in check_against_chunks
>>> for chunk in chunks:
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>>> line 571, in written_chunks
>>> for chunk in chunks:
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\utils\ui.py",
>>> line 139, in iter
>>> for x in it:
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\download.py",
>>> line 560, in resp_read
>>> decode_content=False):
>>>   File
>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>>> line 436, in stream
>>> data = self.read(amt=amt, decode_cont

Re: need help

2018-05-02 Thread Aditya Singh
Try to upgrade your internet connection or set up a hotspot from a mobile
device having a good signal strength and internet speed and try again.
Should work for sure

On Wed, May 2, 2018, 11:01 PM Umar Kambala  wrote:

> So wat do I do then?
> On May 2, 2018 5:28 PM, "Aditya Singh" 
> wrote:
>
>> Sure it is mate
>>
>> On Wed, May 2, 2018, 10:51 PM Umar Kambala  wrote:
>>
>>> I believe its low connection
>>> On May 2, 2018 5:16 PM, "Jani Tiainen"  wrote:
>>>
>>>> Looks like your machine doesn't have connection to (some parts) of
>>>> internet for some reason, or you do have very slow connection.
>>>>
>>>> On Wed, May 2, 2018 at 7:46 PM,  wrote:
>>>>
>>>>> please  this is the massage i keep on getting when trying to install
>>>>> django.. what do i do?
>>>>>
>>>>>
>>>>> C:\Users\Admin>pip install Django==2.0.5
>>>>> Collecting Django==2.0.5
>>>>>   Retrying (Retry(total=4, connect=None, read=None, redirect=None,
>>>>> status=None)) after connection broken by
>>>>> 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443):
>>>>> Read timed out. (read timeout=15)",)': /simple/django/
>>>>>   Downloading
>>>>> https://files.pythonhosted.org/packages/23/91/2245462e57798e9251de87c88b2b8f996d10ddcb68206a8a020561ef7bd3/Django-2.0.5-py3-none-any.whl
>>>>> (7.1MB)
>>>>> 0% || 10kB 1.2kB/s eta
>>>>> 1:36:24Exception:
>>>>> Traceback (most recent call last):
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>>>>> line 302, in _error_catcher
>>>>> yield
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>>>>> line 384, in read
>>>>> data = self._fp.read(amt)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py",
>>>>> line 60, in read
>>>>> data = self.__fp.read(amt)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
>>>>> line 449, in read
>>>>> n = self.readinto(b)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
>>>>> line 493, in readinto
>>>>> n = self.fp.readinto(b)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\socket.py",
>>>>> line 586, in readinto
>>>>> return self._sock.recv_into(b)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", 
>>>>> line
>>>>> 1009, in recv_into
>>>>> return self.read(nbytes, buffer)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", 
>>>>> line
>>>>> 871, in read
>>>>> return self._sslobj.read(len, buffer)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", 
>>>>> line
>>>>> 631, in read
>>>>> v = self._sslobj.read(len, buffer)
>>>>> socket.timeout: The read operation timed out
>>>>>
>>>>> During handling of the above exception, another exception occurred:
>>>>>
>>>>> Traceback (most recent call last):
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\basecommand.py",
>>>>> line 215, in main
>>>>> status = self.run(options, args)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\commands\install.py",
>>>>> line 324, in run
>>>>> requirement_set.prepare_files(finder)
>>>>>   File
>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\req\req_set.py",
>>>&

Re: need help

2018-05-02 Thread Aditya Singh
You're most welcome

On Wed, May 2, 2018, 11:04 PM Umar Kambala  wrote:

> Thanks
> On May 2, 2018 5:33 PM, "Aditya Singh" 
> wrote:
>
>> Try to upgrade your internet connection or set up a hotspot from a mobile
>> device having a good signal strength and internet speed and try again.
>> Should work for sure
>>
>> On Wed, May 2, 2018, 11:01 PM Umar Kambala  wrote:
>>
>>> So wat do I do then?
>>> On May 2, 2018 5:28 PM, "Aditya Singh" 
>>> wrote:
>>>
>>>> Sure it is mate
>>>>
>>>> On Wed, May 2, 2018, 10:51 PM Umar Kambala 
>>>> wrote:
>>>>
>>>>> I believe its low connection
>>>>> On May 2, 2018 5:16 PM, "Jani Tiainen"  wrote:
>>>>>
>>>>>> Looks like your machine doesn't have connection to (some parts) of
>>>>>> internet for some reason, or you do have very slow connection.
>>>>>>
>>>>>> On Wed, May 2, 2018 at 7:46 PM,  wrote:
>>>>>>
>>>>>>> please  this is the massage i keep on getting when trying to install
>>>>>>> django.. what do i do?
>>>>>>>
>>>>>>>
>>>>>>> C:\Users\Admin>pip install Django==2.0.5
>>>>>>> Collecting Django==2.0.5
>>>>>>>   Retrying (Retry(total=4, connect=None, read=None, redirect=None,
>>>>>>> status=None)) after connection broken by
>>>>>>> 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org', port=443):
>>>>>>> Read timed out. (read timeout=15)",)': /simple/django/
>>>>>>>   Downloading
>>>>>>> https://files.pythonhosted.org/packages/23/91/2245462e57798e9251de87c88b2b8f996d10ddcb68206a8a020561ef7bd3/Django-2.0.5-py3-none-any.whl
>>>>>>> (7.1MB)
>>>>>>> 0% || 10kB 1.2kB/s eta
>>>>>>> 1:36:24Exception:
>>>>>>> Traceback (most recent call last):
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>>>>>>> line 302, in _error_catcher
>>>>>>> yield
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\urllib3\response.py",
>>>>>>> line 384, in read
>>>>>>> data = self._fp.read(amt)
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\pip\_vendor\cachecontrol\filewrapper.py",
>>>>>>> line 60, in read
>>>>>>> data = self.__fp.read(amt)
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
>>>>>>> line 449, in read
>>>>>>> n = self.readinto(b)
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\http\client.py",
>>>>>>> line 493, in readinto
>>>>>>> n = self.fp.readinto(b)
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\socket.py",
>>>>>>> line 586, in readinto
>>>>>>> return self._sock.recv_into(b)
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", 
>>>>>>> line
>>>>>>> 1009, in recv_into
>>>>>>> return self.read(nbytes, buffer)
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", 
>>>>>>> line
>>>>>>> 871, in read
>>>>>>> return self._sslobj.read(len, buffer)
>>>>>>>   File
>>>>>>> "c:\users\admin\appdata\local\programs\python\python36-32\lib\ssl.py", 
>>>>>>> line
>>>>>>> 631, in read
>>>>>>> v = self._sslobj.read(len, buffer)
>>>>>>> socket.timeout: The read operation timed out
>>>>>>>
>>>&g

Re: what best for ecommerce project

2018-05-05 Thread Aditya Singh
Django is best mate. That way you are not limited by the features provided
by django-cms.

On Sun, May 6, 2018, 11:33 AM Ruhia gr  wrote:

> hello can anyone help me with this since am new to django
>
> On Sat, May 5, 2018 at 10:50 PM, Ruhia gr  wrote:
>
>> hello everyone m new to django and am starting my ecommerce project in
>> djnago .please anyone suggest which is best for ecommerce project(online
>> shopping)django or django cms
>>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAG5%3DJHe%3D4a_qU1T9A%2BOa01ACd4vMgmiajgXg3qD0yaCGEDWSOg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumiiGQtW2Oa4m5hwQf95qKvUswT3U%2BJnancgVbEbeCah6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: what best for ecommerce project

2018-05-05 Thread Aditya Singh
Hi mate,
I have myself built a full stack ecommerce store using django and you need
nothing more than django because it is most powerful standalone. Infact
Django cms is built on top of that

On Sun, May 6, 2018, 12:17 PM Jani Tiainen  wrote:

> Hi,
>
> Installation and compatibility of what?
>
> I don't really do ecommerce so I don't have a clue which is "good". I once
> tested django-oscar for personal purposes and it worked just fine with
> minimal configuration.
>
> What I understood about django-shop it's more like framework you build
> your site on top of that and it doesn't do everything out of the box.
>
>
>
> On Sun, May 6, 2018 at 9:42 AM, Ruhia gr  wrote:
>
>> how about the installation and compatibility also i heard about django
>> shop what about this
>>
>> On Sun, May 6, 2018 at 12:05 PM, Jani Tiainen  wrote:
>>
>>> Hi,
>>>
>>> Don't know about django cms but in theory it should be.
>>>
>>> There also exists Django-oscar which is relatively popular premade
>>> ecommerce platform built on top of django.
>>>
>>> On Sun, May 6, 2018 at 9:31 AM, Ruhia gr  wrote:
>>>
>>>> wether its possible to built ecommerce project using django cms?
>>>>
>>>> On Sun, May 6, 2018 at 11:52 AM, Aditya Singh <
>>>> adityasingh222...@gmail.com> wrote:
>>>>
>>>>> Django is best mate. That way you are not limited by the features
>>>>> provided by django-cms.
>>>>>
>>>>> On Sun, May 6, 2018, 11:33 AM Ruhia gr  wrote:
>>>>>
>>>>>> hello can anyone help me with this since am new to django
>>>>>>
>>>>>> On Sat, May 5, 2018 at 10:50 PM, Ruhia gr 
>>>>>> wrote:
>>>>>>
>>>>>>> hello everyone m new to django and am starting my ecommerce project
>>>>>>> in djnago .please anyone suggest which is best for ecommerce 
>>>>>>> project(online
>>>>>>> shopping)django or django cms
>>>>>>>
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "Django users" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to django-users+unsubscr...@googlegroups.com.
>>>>>> To post to this group, send email to django-users@googlegroups.com.
>>>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>>> To view this discussion on the web visit
>>>>>> https://groups.google.com/d/msgid/django-users/CAG5%3DJHe%3D4a_qU1T9A%2BOa01ACd4vMgmiajgXg3qD0yaCGEDWSOg%40mail.gmail.com
>>>>>> <https://groups.google.com/d/msgid/django-users/CAG5%3DJHe%3D4a_qU1T9A%2BOa01ACd4vMgmiajgXg3qD0yaCGEDWSOg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Django users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to django-users@googlegroups.com.
>>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>> To view this discussion on the web visit
>>>>> https://groups.google.com/d/msgid/django-users/CAEPfumiiGQtW2Oa4m5hwQf95qKvUswT3U%2BJnancgVbEbeCah6w%40mail.gmail.com
>>>>> <https://groups.google.com/d/msgid/django-users/CAEPfumiiGQtW2Oa4m5hwQf95qKvUswT3U%2BJnancgVbEbeCah6w%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>> .
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Django users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to django-users+unsubscr...@googlegroups.com.
>>>> To post to this group, send email to django-users@googlegroups.com.
>>>> Visit this group at https://groups.google.com/group/django-users.
>>>> To view this dis

Re: what best for ecommerce project

2018-05-06 Thread Aditya Singh
Exactly mate!

On Sun, May 6, 2018, 12:39 PM Ruhia gr  wrote:

> cool so you all are prefer me using django for ecommerce right
>
> On Sun, May 6, 2018 at 12:26 PM, Aditya Singh  > wrote:
>
>> Hi mate,
>> I have myself built a full stack ecommerce store using django and you
>> need nothing more than django because it is most powerful standalone.
>> Infact Django cms is built on top of that
>>
>> On Sun, May 6, 2018, 12:17 PM Jani Tiainen  wrote:
>>
>>> Hi,
>>>
>>> Installation and compatibility of what?
>>>
>>> I don't really do ecommerce so I don't have a clue which is "good". I
>>> once tested django-oscar for personal purposes and it worked just fine with
>>> minimal configuration.
>>>
>>> What I understood about django-shop it's more like framework you build
>>> your site on top of that and it doesn't do everything out of the box.
>>>
>>>
>>>
>>> On Sun, May 6, 2018 at 9:42 AM, Ruhia gr  wrote:
>>>
>>>> how about the installation and compatibility also i heard about django
>>>> shop what about this
>>>>
>>>> On Sun, May 6, 2018 at 12:05 PM, Jani Tiainen 
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Don't know about django cms but in theory it should be.
>>>>>
>>>>> There also exists Django-oscar which is relatively popular premade
>>>>> ecommerce platform built on top of django.
>>>>>
>>>>> On Sun, May 6, 2018 at 9:31 AM, Ruhia gr  wrote:
>>>>>
>>>>>> wether its possible to built ecommerce project using django cms?
>>>>>>
>>>>>> On Sun, May 6, 2018 at 11:52 AM, Aditya Singh <
>>>>>> adityasingh222...@gmail.com> wrote:
>>>>>>
>>>>>>> Django is best mate. That way you are not limited by the features
>>>>>>> provided by django-cms.
>>>>>>>
>>>>>>> On Sun, May 6, 2018, 11:33 AM Ruhia gr  wrote:
>>>>>>>
>>>>>>>> hello can anyone help me with this since am new to django
>>>>>>>>
>>>>>>>> On Sat, May 5, 2018 at 10:50 PM, Ruhia gr 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> hello everyone m new to django and am starting my ecommerce
>>>>>>>>> project in djnago .please anyone suggest which is best for ecommerce
>>>>>>>>> project(online shopping)django or django cms
>>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>> Groups "Django users" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>> send an email to django-users+unsubscr...@googlegroups.com.
>>>>>>>> To post to this group, send email to django-users@googlegroups.com.
>>>>>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>>>>> To view this discussion on the web visit
>>>>>>>> https://groups.google.com/d/msgid/django-users/CAG5%3DJHe%3D4a_qU1T9A%2BOa01ACd4vMgmiajgXg3qD0yaCGEDWSOg%40mail.gmail.com
>>>>>>>> <https://groups.google.com/d/msgid/django-users/CAG5%3DJHe%3D4a_qU1T9A%2BOa01ACd4vMgmiajgXg3qD0yaCGEDWSOg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>
>>>>>>> --
>>>>>>> You received this message because you are subscribed to the Google
>>>>>>> Groups "Django users" group.
>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>> send an email to django-users+unsubscr...@googlegroups.com.
>>>>>>> To post to this group, send email to django-users@googlegroups.com.
>>>>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>>>> To view this discussion on the web visit
>>>>>>> https://groups.google.com/d/msgid/django-users/CAEPfumiiGQtW2Oa4m5hwQf95qKvUswT3U%2BJnancgVbEbeCah6w%40mail.gmail.com
>>>>>&

Re: what best for ecommerce project

2018-05-06 Thread Aditya Singh
Sorry mate that I created for one of clients and according to the agreement
I cannot share the code and resources related to the project.
Kind Regards,
Aditya

On Sun, May 6, 2018, 8:07 PM Ruhia gr  wrote:

> yes please adithya share your ecommerce project here
>
> On Sun, May 6, 2018 at 12:53 PM, Digital Prasar 
> wrote:
>
>> Hi Aditya
>>
>> Thanks for your contributions on forum . Can you share link of your e
>> commerce project made on django.
>>
>> On Sun, May 6, 2018, 12:26 PM Aditya Singh 
>> wrote:
>>
>>> Hi mate,
>>> I have myself built a full stack ecommerce store using django and you
>>> need nothing more than django because it is most powerful standalone.
>>> Infact Django cms is built on top of that
>>>
>>> On Sun, May 6, 2018, 12:17 PM Jani Tiainen  wrote:
>>>
>>>> Hi,
>>>>
>>>> Installation and compatibility of what?
>>>>
>>>> I don't really do ecommerce so I don't have a clue which is "good". I
>>>> once tested django-oscar for personal purposes and it worked just fine with
>>>> minimal configuration.
>>>>
>>>> What I understood about django-shop it's more like framework you build
>>>> your site on top of that and it doesn't do everything out of the box.
>>>>
>>>>
>>>>
>>>> On Sun, May 6, 2018 at 9:42 AM, Ruhia gr  wrote:
>>>>
>>>>> how about the installation and compatibility also i heard about django
>>>>> shop what about this
>>>>>
>>>>> On Sun, May 6, 2018 at 12:05 PM, Jani Tiainen 
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Don't know about django cms but in theory it should be.
>>>>>>
>>>>>> There also exists Django-oscar which is relatively popular premade
>>>>>> ecommerce platform built on top of django.
>>>>>>
>>>>>> On Sun, May 6, 2018 at 9:31 AM, Ruhia gr  wrote:
>>>>>>
>>>>>>> wether its possible to built ecommerce project using django cms?
>>>>>>>
>>>>>>> On Sun, May 6, 2018 at 11:52 AM, Aditya Singh <
>>>>>>> adityasingh222...@gmail.com> wrote:
>>>>>>>
>>>>>>>> Django is best mate. That way you are not limited by the features
>>>>>>>> provided by django-cms.
>>>>>>>>
>>>>>>>> On Sun, May 6, 2018, 11:33 AM Ruhia gr  wrote:
>>>>>>>>
>>>>>>>>> hello can anyone help me with this since am new to django
>>>>>>>>>
>>>>>>>>> On Sat, May 5, 2018 at 10:50 PM, Ruhia gr 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> hello everyone m new to django and am starting my ecommerce
>>>>>>>>>> project in djnago .please anyone suggest which is best for ecommerce
>>>>>>>>>> project(online shopping)django or django cms
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> You received this message because you are subscribed to the Google
>>>>>>>>> Groups "Django users" group.
>>>>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>>>>> send an email to django-users+unsubscr...@googlegroups.com.
>>>>>>>>> To post to this group, send email to django-users@googlegroups.com
>>>>>>>>> .
>>>>>>>>> Visit this group at https://groups.google.com/group/django-users.
>>>>>>>>> To view this discussion on the web visit
>>>>>>>>> https://groups.google.com/d/msgid/django-users/CAG5%3DJHe%3D4a_qU1T9A%2BOa01ACd4vMgmiajgXg3qD0yaCGEDWSOg%40mail.gmail.com
>>>>>>>>> <https://groups.google.com/d/msgid/django-users/CAG5%3DJHe%3D4a_qU1T9A%2BOa01ACd4vMgmiajgXg3qD0yaCGEDWSOg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>>>>>>>> .
>>>>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>>>>
>>>>>>>> --
>>>>>>>> You received this message because you are subscrib

Re: Django 2.1 alpha 1 released

2018-05-17 Thread Aditya Singh
Wow wow wow! My best and nost powerful framework in the world. Super
excited for the new release!
Kind Regards,
Aditya

On Fri, May 18, 2018, 6:45 AM Tim Graham  wrote:

> We've made the first release on the way to Django's next major
> release, Django 2.1! With about two and a half months until the
> final release (scheduled for August 1), we'll need timely testing
> from the community to ensure an on time, stable release. Check out the
> blog post:
> https://www.djangoproject.com/weblog/2018/may/17/django-21-alpha-1/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD-rxRCubeJJQ36%3DV4kaaaYUr82fWq-hsnrNy7e-4YqGT-sQQA%40mail.gmail.com
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumg%2BF2MQa8p33sooFV61Z37V06Ujw9RAfYJsmrvqwf7kKA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Error Djongo MongoDB

2018-05-17 Thread Aditya Singh
Hi mate,
This is the assured solution. This is because djongo looks for active mongo
connection to connect. Download mongodb for your os and fire up mongod fron
bin directory. Then create a folder named data/db in root disk drive. It
should then work flawlessly.
Kind Regards,
Aditya

On Fri, May 18, 2018, 9:33 AM Ryan Nowakowski  wrote:

> Is your mongo host (IP) and port set correctly?
>
> On May 17, 2018 4:09:17 PM CDT, Kadir Guloglu 
> wrote:
>>
>> Hi
>>
>> I am try to connect MongoDB and I am getting an exception
>>
>> *Thanks for help*
>>
>> *CMD*
>>
>> *c:\Proje\otomabakv2\otomabak\otomabak>python manage.py makemigrations*
>> *Traceback (most recent call last):*
>> *  File "manage.py", line 15, in *
>> *execute_from_command_line(sys.argv)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py",
>> line 371, in execute_from_command_line*
>> *utility.execute()*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\__init__.py",
>> line 365, in execute*
>> *self.fetch_command(subcommand).run_from_argv(self.argv)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\base.py",
>> line 288, in run_from_argv*
>> *self.execute(*args, **cmd_options)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\base.py",
>> line 335, in execute*
>> *output = self.handle(*args, **options)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\core\management\commands\makemigrations.py",
>> line 92, in handle*
>> *loader.check_consistent_history(connection)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\migrations\loader.py",
>> line 275, in check_consistent_history*
>> *applied = recorder.applied_migrations()*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\migrations\recorder.py",
>> line 61, in applied_migrations*
>> *if self.has_table():*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\migrations\recorder.py",
>> line 44, in has_table*
>> *return self.Migration._meta.db_table in
>> self.connection.introspection.table_names(self.connection.cursor())*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\base\introspection.py",
>> line 56, in table_names*
>> *return get_names(cursor)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\django\db\backends\base\introspection.py",
>> line 51, in get_names*
>> *return sorted(ti.name  for ti in
>> self.get_table_list(cursor)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\djongo\introspection.py",
>> line 34, in get_table_list*
>> *for c in cursor.db_conn.collection_names(False)]*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pymongo\database.py",
>> line 617, in collection_names*
>> *for result in self.list_collections(session=session, **kws)]*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pymongo\database.py",
>> line 586, in list_collections*
>> *ReadPreference.PRIMARY) as (sock_info, slave_okay):*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\contextlib.py",
>> line 81, in __enter__*
>> *return next(self.gen)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pymongo\mongo_client.py",
>> line 982, in _socket_for_reads*
>> *server = topology.select_server(read_preference)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pymongo\topology.py",
>> line 224, in select_server*
>> *address))*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pymongo\topology.py",
>> line 183, in select_servers*
>> *selector, server_timeout, address)*
>> *  File
>> "C:\Users\Kadir\AppData\Local\Programs\Python\Python36-32\lib\site-packages\pymongo\topology.py",
>> line 199, in _select_servers_loop*
>> *self._error_message(selector))*
>> *pymongo.errors.ServerSelectionTimeoutError: localhost:27017: [WinError
>> 10061] No connection could be made because the target machine actively
>> refused it*
>>
>>
>>
>> DATABASES = {
>> "default": {
>> 'ENGINE': 'djongo',
>> "NAME": "admin",
>> "host": "MONGO DB SERVER IP",
>> "PASSWORD": "PASSWORD",
>> "USER": "kadirguloglu1",
>> "PORT": 27017,
>> },
>> }
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and s

Re: URL Concatenation Issue

2018-05-30 Thread Aditya Singh
For this you have provide an app inside your urls and refer to it as
home:about where home is the app name and about is the page to be rendered.
Also provide namespace in the urls so that the url is linked to the app
name.
Kind Regards,
Aditya

On Thu, May 31, 2018, 7:54 AM Spence Patrick 
wrote:

> Is your link tag href="./about" or href="/about/"
>
> On Wed, May 30, 2018, 19:14  wrote:
>
>> Hello,
>>
>> I'm debugging an issue that I'm having with my URL patterns. In my HTML I
>> have an "about me" page that is linking to an about.html file in my
>> templates/blog/ directory. When I load the homepage and click on the "about
>> me" link than "domain.com/about/" loads, which matches the URL pattern
>> in my blog/urls.py file, and the page renders perfectly fine.
>>
>> However, while on the "about me" page I can't link to any other page
>> because the URL pattern starts to concatenate instead of overwrite (if that
>> makes any sense). For example, if I click on "about me" again than Django
>> tries to load domain.com/about/about and I get an error.
>>
>> I'm using a python 3.5.2 venv and I'm running Django 2.0.5. I'm new to
>> programming by the way (to include Python, Django, HTML/CSS).
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/1213b3f9-c74b-4af9-b585-61f2423720f0%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAD6-5Ch7%3DSTQGPdPg3iU%3Dvy2H1GMqcFnycBqb5bquXGDDV6ZBA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumjqtuz9bTfh%2Bfk%3D8iFYOKUQwSGpQqwwuyqX%2BQ%3DABgL3%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Matching query does not exist

2019-01-18 Thread Aditya Singh
😃

On Jan 18, 2019 3:19 PM, "Kasper Laudrup"  wrote:

Hi Ivan,


On 1/18/19 10:25 AM, Ivan Martić wrote:
> Hi all,
>   i am having trouble to get this query on db table right.
> I am always getting error.
>

In your definition of the Material model, the materialid field is
defined like this:

materialid = models.CharField(db_column='MaterialID', max_length=10)

Whereas you refer to it in Productgroupinput like this:

materialid = models.ForeignKey(Material, on_delete=models.CASCADE,
db_column='Materialid', max_length=10)

Notice the difference in the db_column parameter?

I guess that could be the cause of your error.

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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/8daaaf0f-17c3-69c5-8b86-915df7ba348e%40stacktrace.dk
.

For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumjfe6bdiiOa%2BVg-TixRoFNgd1CEiyVwMCET-McDD7FTCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Looking for a Django Co-Founder.

2019-01-22 Thread Aditya Singh
No thanks

On Jan 23, 2019 10:10 AM, "Zack Amaral"  wrote:

@Amitesh

What's your email, I don't want to call internationally at the moment. I
can call you on zoom, skype or whatsapp. Let me know what works for you.

Cheers,

Zack

On Tue, Jan 22, 2019 at 5:45 AM 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> wrote:

> Hello Zack,
>
> I am based in Indian Standard Time zone. Please let me know about
> your time zone so that we could try to sync.
>
> Regards,
> Amitesh Sahay
> *91-750 797 8619*
>
>
> On Tuesday, 22 January, 2019, 5:56:27 PM IST, Zack Amaral <
> zack.j.ama...@gmail.com> wrote:
>
>
> Abhinav,
>
> What’s your availability this week? I’d love to setup a call with you!
>
> Thanks for the reply, I look forward to hearing back from you!
>
> Cheers,
>
> Zack
>
> On Tue, Jan 22, 2019 at 3:03 AM Abhinav tuteja <
> abhinavtuteja1...@gmail.com> wrote:
>
> Hey i am a django developer and i we are a team of  2 people with 3 years
> of experience plz feel free to contact
> Whats app - 9540824924
>
> On Tue, 22 Jan 2019 at 9:23 AM, Zack Amaral 
> wrote:
>
> [image: Boxbe]  This message is eligible
> for Automatic Cleanup! (zack.j.ama...@gmail.com) Add cleanup rule
> 
> | More info
> 
> Django Community,
>
> Hey you guys, I'm trying to build a platform as a service similar to
> twitch.tv, are their any django developers out there that would be
> interested in co-founding my company and helping me develop a MVP to get a
> seed round of funding? If you're interested I can send you a link to my
> business plan and UI/UX Design.
>
> Respectfully,
>
> Zack Amaral
> We Love Music, LLC
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/894392e9-e171-47fd-9f2b-17335c7b9189%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/dzCLmS7-7Dg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAEN0qXXUwTomg-jNRXqxOPJbx10XT_8X%3DVDe_v-TJMYf1hmXKA%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANG%3DrDmUV5dw8XcjnEUMWT4AUNTxQOEG9%3DrZUd9UGaTo%2BE8h7g%40mail.gmail.com
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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/dzCLmS7-7Dg/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To post to th

Re: Regarding internship opportunity in Bangalore

2019-03-29 Thread aditya singh
Hi Akash
I would also like to apply for the summer internship programme

On Fri, Mar 29, 2019, 13:20 sachin thakur 
wrote:

> Hi Akash
> Yes I have sent you my resume I would request you to give me a call I have
> mentioned the reason  in resume email
>
> On Fri 29 Mar, 2019, 12:41 AM Akash Purandare, 
> wrote:
>
>> Hey Sachin
>>
>> If you might be interested in Full Stack Development of a Website, please
>> do send me your CV.
>>
>> We work in a startup called Oversight.
>>
>> Regards
>> Akash Purandare
>> akash.p1...@gmail.com
>>
>> On Thursday, March 28, 2019 at 11:24:18 PM UTC+5:30, sachin thakur wrote:
>>>
>>> Hi Folks
>>> This email is regarding internship opportunity if there are any
>>> internship opportunity please do let me know I am already working on django
>>> also I developed web based applications using jsp servlet and hibernate.
>>> Please do let me know if any opportunity is available
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/28a17b1a-d92b-47c7-acd0-ab79fe9c22b8%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CA%2BLmcYvD8jwWdUNHK%2BDfHW9XPm4DmzQPxw%3D352pKnyOzobtTWg%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAAfrD_S7_diRALz6rJwf4%2BpJ-Sj7EWHXgdbMpmJ4%2BE5RLoshdg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Troubling installing Python 3 on my iMac

2019-04-30 Thread Aditya Singh
Kindly type python3 in the terminal and let me know the output :)

On Tue, Apr 30, 2019, 6:10 PM James  wrote:

> I downloaded the file from the python website and went through the entire
> installation process... accepting all of the default values.  However, when
> I went to my Terminal window and typed python, it still shows the older
> version:
>
> Python 2.7.10 (default, Feb 22 2019, 21:17:52)
>
> [GCC 4.2.1 Compatible Apple LLVM 10.0.1 (clang-1001.0.37.14)] on darwin
>
> What did I do wrong?  I need to get this all setup before I can start the
> Django tutorial.
>
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d4a9335d-5067-4620-882e-e10a6d04dbcd%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumjm6tEYNCL3mLh5R%2B4%2BtJZ9_t2GtCOr2fybaHbx5310Ew%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: annotate sum many record

2019-06-02 Thread Aditya Singh
Hello mate,
Simple get the value from the objects and store in separate variables. Then
you may do any and as many calculations you want and return the desired
value :)
Kind Regards,
Aditya

On Mon, Jun 3, 2019, 12:18 PM carlos  wrote:

> Hi, i used django 1.11 and try used annotate
>
> i have model with 3 decimal fields i would like sum 2 and multiply for
> other field but with aritmetic calculation
> i have used this query
>
> (1) total = Model.objects.annotate(all=Sum(F('fieldA') + F('fieldB') *
> F('fieldC')))
> but this return queryset with all calculation i have 3 record in db
> print total
> and return this
>
> , ,  object>]>
>
> then I do a forloop with for to do the sum
> for x in total:
> variable += x.all
>
> it is possible to return the sum of the 3 registers with the annotate in a
> single line,
> as (1)total queryset
>
> How could I do that?
>
> thank for yours helps
>
>
> --
> att.
> Carlos Rocha
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAM-7rO1LGRSMoBMC435nf93P-__oo%3DhYz_hwBiW6WxVeip8uvw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumi6LzOigpLiSmWuuyC7Wg7_U5_haSLYCksJcO0wbr5D6g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Reg: Django signal not working

2020-04-20 Thread Aditya Singh
What's the original issue please, seems like you picked things up with
someone till this email.
Regards,
Aditya

On Mon, Apr 20, 2020, 3:11 PM 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> wrote:

> -+c Hello Jorge,
>
> After doing some research, I realized that the signal which is saving the
> user profile should have
>
> "instance.signup.save()" , as the name of the custom model is signup. This
> time I still got the error .However,  I could create the new user and login
> to the website. However, when I look into the admin panel, I still could't
> see the "contact" field getting saved after the user is registered
> successfully.
>
> Therefore the main purpose of creating the custom User model still
> failing.
>
> Below are the code snippet, and screenshot from my admin panel.
>
> Models.py
> -
>
> from django.db import models
> from django.contrib.auth.models import User
> from django.db.models.signals import post_save
> from django.dispatch import receiver
>
>
> class SignUp(models.Model):
> user = models.OneToOneField(User, on_delete=models.CASCADE)
> Contact = models.CharField(max_length=500, blank=True)
>
> @receiver(post_save, sender=User)
> def create_user_profile(sender, instance, created, **kwargs):
> if created:
> SignUp.objects.create(user=instance)
>
> @receiver(post_save, sender=User)
> def save_user_profile(sender, instance, **kwargs):
> save2 = instance.signup.save()
> print(save2)
>
>
> To debug the issue, I used the print statement to see the output of
> "instance.signup.save()". So, after submitting the form, I checked the
> "runserver" console. The output was "None". So, something doesn't seems to
> be right.
>
> forms.py
> --
>
> from django.contrib.auth.forms import UserCreationForm
> from django.contrib.auth.models import User
> from django import forms
> from .models import SignUp
>
>
> class SignUpForm(UserCreationForm):
> email = forms.EmailField()
> first_name = forms.CharField(max_length=100)
> last_name = forms.CharField(max_length=100)
>
> class Meta:
> model = User
> fields = ('username', 'first_name', 'last_name', 'email', 
> 'password1', 'password2')
>
>
> class CustomSignUpPage(forms.ModelForm):
> Contact = forms.CharField(max_length=10)
>
> class Meta:
> model = SignUp
> fields = ('Contact', )
>
>
> views.py
> -
>
> def register_user(request):
> if request.method == "POST":
> form = SignUpForm(request.POST)
> cus_form = CustomSignUpPage(request.POST)
> if form.is_valid() and cus_form.is_valid():
> save1 = form.save()
> save1.refresh_from_db()
> cus_form = CustomSignUpPage(request.POST, 
> instance=request.save1.signup.contact)
> cus_form.full_clean()
> cus_form.save()
> username = form.cleaned_data['username']
> password = form.cleaned_data['password1']
> user = authenticate(request, username=username, password=password)
> login(request, user)
> messages.success(request, f'Registration successful')
> return redirect('home')
> else:
> messages.error(request, f'Please correct the error below.')
> else:
> form = SignUpForm()
> cus_form = CustomSignUpPage()
>
> return render(request, 'authenticate\\register.html', context={'form': 
> form, 'cus_form': cus_form})
>
> Screenshot from the admin panel:
>
> [image: Inline image]
> Please suggest. If you are comfortable we can go on a web meeting where I
> can share my screen and we can work on it.
>
> Regards,
> Amitesh
>
> Sent from Yahoo Mail on Android
> 
>
> On Sun, 19 Apr 2020 at 19:42, Jorge Gimeno
>  wrote:
> Amitesh,
>
> Where is User.profile defined?
>
> -Jorge
>
> On 4/18/20, Saurabh Ranjan Singh  wrote:
> > I am having the same issue. Please fix it.
> >
> > On Friday, 17 April 2020 22:47:40 UTC+5:30, Amitesh Sahay wrote:
> >>
> >> Hi,
> >>
> >> I am creating a Django signup form through "User" model and
> >> "UserCreationForm" and customized the User model to accommodate single
> >> user
> >> defined field "contact".
> >>
> >> However, the signal that I have written seems not to be working.
> >> Whenever, I am filling the form, I am getting below error:
> >>
> >> AttributeError at /auth/register/
> >> 'User' object has no attribute 'profile'
> >>
> >> *Full traceback log as below:*
> >>
> >> Installed Applications:
> >> ['django.contrib.admin',
> >>  'django.contrib.auth',
> >>  'django.contrib.contenttypes',
> >>  'django.contrib.sessions',
> >>  'django.contrib.messages',
> >>  'django.contrib.staticfiles',
> >>  'phone_field',
> >>  'AUTHENTICATION']
> >> Installed Middleware:
> 

Re: I am trying to create polls project as mentiioned in the django website

2018-06-18 Thread Aditya Singh
Hello mate,
Since you are in the beginning stages I would suggest that you start a new
project and check the urls.py again inside the project directory. If not
let us know!
Kind Regards,
Aditya

On Mon, Jun 18, 2018, 10:21 PM itsnate_b  wrote:

> No problem. Good luck!
>
> On Monday, June 18, 2018 at 12:46:23 PM UTC-4, Django starter wrote:
>>
>> Hi Nathan,
>>
>> Appreciate your response, it wasnt there,
>>
>> I would create it again and check and thanks a lot for responding
>>
>> On Mon, Jun 18, 2018 at 11:43 PM, itsnate_b  wrote:
>>
>>> I'm assuming you already did this?
>>> django-admin startproject mysite
>>>
>>> If so, then you should have a mysite folder, inside of another mysite
>>> folder. Inside of there you should have views.py, models.py. You may need
>>> to create the urls.py file, if it's not already there.
>>>
>>> should look like what is shown in the tutorial...
>>>
>>> mysite/
>>> manage.py
>>> mysite/
>>> __init__.py
>>> settings.py
>>> urls.py
>>> wsgi.py
>>>
>>>
>>> On Monday, June 18, 2018 at 8:26:42 AM UTC-4, Django starter wrote:

 I am trying to create polls project as mentiioned in the django
 website, i am a beginer of django,  as mentioned in the
 https://docs.djangoproject.com/en/dev/intro/tutorial01/
 i dont see mysite/urls.py, do i need to create mysite and urls.py,
 could you please let me know.

 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...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/2389c312-9fa1-4314-8266-cce998cea3cb%40googlegroups.com
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b41e988b-e70b-413e-aed6-8ce0d51bc906%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumgj-AedPNAoskne8jajmUt9vGDDC5jkATQUzGiVO%2BUeFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Signup ??

2018-10-02 Thread Aditya Singh
Very good evening mate,
You need to create a form and from one of your views create a new Object
inside django user model using the username and password from the form
fields that you will use for registering the users.
Kind Regards,
Aditya

On Tue, Oct 2, 2018, 5:00 PM Vikas Sri  wrote:

> Hello !!
> I need to get my users signup in my web app. Can't find it in official
> documentation. Would be thankful if someone shed a light on 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/158cccbd-09e7-4e79-83d2-5c93127820ff%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumgUg21ud6A7%3DEj4N5g5%2BW95qZ%3D4hgUSMEPSjm4Nqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: User Signup ??

2018-10-02 Thread Aditya Singh
My sincere apologies mate but I try to help out people I can in this
official Django chat thread/group only. Hope you understand.
Kind Regards,
Aditya

On Tue, Oct 2, 2018, 5:11 PM Idowu Tunde  wrote:

> Please let take this great group to WhatsApp please
>
> On Tuesday, October 2, 2018, Aditya Singh 
> wrote:
>
>> Very good evening mate,
>> You need to create a form and from one of your views create a new Object
>> inside django user model using the username and password from the form
>> fields that you will use for registering the users.
>> Kind Regards,
>> Aditya
>>
>> On Tue, Oct 2, 2018, 5:00 PM Vikas Sri  wrote:
>>
>>> Hello !!
>>> I need to get my users signup in my web app. Can't find it in official
>>> documentation. Would be thankful if someone shed a light on 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 post to this group, send email to django-users@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/158cccbd-09e7-4e79-83d2-5c93127820ff%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/158cccbd-09e7-4e79-83d2-5c93127820ff%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To post to this group, send email to django-users@googlegroups.com.
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAEPfumgUg21ud6A7%3DEj4N5g5%2BW95qZ%3D4hgUSMEPSjm4Nqg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAEPfumgUg21ud6A7%3DEj4N5g5%2BW95qZ%3D4hgUSMEPSjm4Nqg%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALp0kJc4feRXr1e0XX%2BDW1d8nrbkFEdbZJQZyTEDEcosPytUAA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALp0kJc4feRXr1e0XX%2BDW1d8nrbkFEdbZJQZyTEDEcosPytUAA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEPfumg1zQNBa08n64MJmwgZ%3D6aiOZRmWAsFm%2BdirPcrvToY0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: DRF with Rich Text

2019-08-20 Thread Aditya Singh
Hi,
Hope you are good.
Django ships with top of the line CSRF protection first of all, Secondly,
you may specify domain specific headers and strictly restrict the expected
type of data, cookies timeout, response data type from the server to the
client. Also, you may leverage several robust django compatible packages
which relate to security and prevent any requests to the API whiah are
unauthorized. From unauthorized, I feel obliged to mention that you must
make sure that all the endpoints in your api are well defined and that all
the methods being executed on those corresponding endpoints need strong
authentication.
Hope, I could be of some help,
Kind regards,
Aditya

On Wed, Aug 21, 2019, 9:11 AM Yoo  wrote:

> Hi, I'm gonna be using Django Rest Framework for API with a Postgres stack
> and not developing with website. Coding apps in Swift and Androidx Java.
> Users can POST rich text, or text that uses HTML, to the server, and then
> other users can GET that HTML and view it in (ui)TextView.
>
> Based on previous experience, it seemed like Android's TextView wouldn't
> have any trouble with XSS or the like. Not sure about Swift, so can someone
> tell me if I should worry on the iOS side?
>
> Last thing. Because this is just an API, how does DRF protect my server
> against some malicious JSON POST request? A request that isn't sent from
> the designated app or is hand-crafted. If DRF doesn't somehow serialize
> correctly, then there would be some server issues, right? Gah worrying.
>
> TL;DR. Programming mobile with DRF. Should I worry about Rich Text (HTML
> Editing) on client and/or server side?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6c6b92e2-7e49-42f8-abe5-d05b1d0f4619%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/CAEPfumiUNLrfAwEZWu5vkW3HKRk%2BD9NBRLMNANMBU_vjJ7-GcQ%40mail.gmail.com.