Re: django.db.utils.ProgrammingError: relation "django_content_type" already exists

2019-12-03 Thread Ram
Hi Integr,

I tried as per your suggestion and the issue is not fix yet. Please let me
know what I'm missing? Here is the result of each command.

(vkenv) shami@ubuntu-wed-01:~/vkproject$ python manage.py dumpdata
> --exclude=contenttypes --exclude=auth.Permission >
> vikreya120319afterdroppingcron.json
> (vkenv) shami@ubuntu-wed-01:~/vkproject$
>
> (vkenv) shami@ubuntu-wed-01:~/vkproject$ python manage.py loaddata
> vikreya120319afterdroppingcron.json
> Installed 82150 object(s) from 1 fixture(s)
> (vkenv) shami@ubuntu-wed-01:~/vkproject$
>
> (vkenv) shami@ubuntu-wed-01:~/vkproject$ python manage.py makemigrations
> No changes detected
> (vkenv) shami@ubuntu-wed-01:~/vkproject$
>

(vkenv) shami@ubuntu-wed-01:~/vkproject$ python manage.py migrate
> Operations to perform:
>   Apply all migrations: admin, auth, contenttypes, pages, sessions
> Running migrations:
>   Applying contenttypes.0002_remove_content_type_name...Traceback (most
> recent call last):
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/utils.py",
> line 84, in _execute
> return self.cursor.execute(sql, params)
> psycopg2.errors.UndefinedColumn: column "name" of relation
> "django_content_type" does not exist
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File "manage.py", line 21, in 
> main()
>   File "manage.py", line 17, in main
> execute_from_command_line(sys.argv)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/core/management/__init__.py",
> line 381, in execute_from_command_line
> utility.execute()
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/core/management/__init__.py",
> line 375, in execute
> self.fetch_command(subcommand).run_from_argv(self.argv)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/core/management/base.py",
> line 323, in run_from_argv
> self.execute(*args, **cmd_options)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/core/management/base.py",
> line 364, in execute
> output = self.handle(*args, **options)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/core/management/base.py",
> line 83, in wrapped
> res = handle_func(*args, **kwargs)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/core/management/commands/migrate.py",
> line 234, in handle
> fake_initial=fake_initial,
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/migrations/executor.py",
> line 117, in migrate
> state = self._migrate_all_forwards(state, plan, full_plan, fake=fake,
> fake_initial=fake_initial)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/migrations/executor.py",
> line 147, in _migrate_all_forwards
> state = self.apply_migration(state, migration, fake=fake,
> fake_initial=fake_initial)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/migrations/executor.py",
> line 245, in apply_migration
> state = migration.apply(state, schema_editor)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/migrations/migration.py",
> line 124, in apply
> operation.database_forwards(self.app_label, schema_editor, old_state,
> project_state)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/migrations/operations/fields.py",
> line 249, in database_forwards
> schema_editor.alter_field(from_model, from_field, to_field)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/base/schema.py",
> line 535, in alter_field
> old_db_params, new_db_params, strict)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/postgresql/schema.py",
> line 124, in _alter_field
> new_db_params, strict,
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/base/schema.py",
> line 685, in _alter_field
> params,
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/base/schema.py",
> line 137, in execute
> cursor.execute(sql, params)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/utils.py",
> line 99, in execute
> return super().execute(sql, params)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/utils.py",
> line 67, in execute
> return self._execute_with_wrappers(sql, params, many=False,
> executor=self._execute)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/utils.py",
> line 76, in _execute_with_wrappers
> return executor(sql, params, many, context)
>   File
> "/home/shami/vkproject/vkenv/lib/python3.6/site-packages/django/db/backends/utils.py",
> line 84, in _execute
> return self.cursor.execute(sql, params)
>   File
> "/home/shami/vkproject/vke

Re: Handler 500

2019-12-03 Thread Mike Dewhirst

On 4/12/2019 4:19 pm, Charles Jason Decena wrote:
is there a way to retrieve the handler 500 data/error?  and also can i 
have multiple handler 500 in my base url in order to be dynamic? and 
how to get the error message in handler500


Not sure I understand exactly what you are asking for but this is 
straight from the docs except where I set up my path to my log file. My 
WEB_ROOT is /var/www and PROJECT is myproject


HTH

Mike

 


# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500 error when DEBUG=False.
# See http://docs.djangoproject.com/en/dev/topics/logging for
# more details on how to customize your logging configuration.

import os

logpath = os.path.join(WEB_ROOT, "log", PROJECT)
if not os.path.isdir(logpath):
os.makedirs(logpath)
logfile = os.path.join(logpath, "django.log")

LOGGING = {
"version": 1,
"disable_existing_loggers": False,
# # # # # # # # # # #
"handlers": {
"file": {
"level": "DEBUG",
"class": "logging.FileHandler",
"formatter": "default",
"encoding": "utf_8",
"filename": logfile,
},
"console": {
"level": "DEBUG",
"class": "logging.StreamHandler",
"filters": ["require_debug_true"],
"formatter": "simple",
},
"mail_admins": {
"level": "ERROR",
"filters": ["require_debug_false"],
"class": "django.utils.log.AdminEmailHandler",
"include_html": True,
},
},
# # # # # # # # # # #
"loggers": {
# ensure that all log entries are propagated to root
"myproject": {"propagate": True},
"myproject.info": {
"handlers": ["console", "mail_admins"],
"level": "INFO",
"propagate": True,
},
"django": {"propagate": True},
"django.request": {
"handlers": ["mail_admins"],
"level": "ERROR",
"propagate": True,
},
"django.template": {"handlers": ["console"]},
"django.security": {"propagate": True},
"py.warnings": {"propagate": True},
},
# # # # # # # # # # #
"root": {"handlers": ["file"], "level": "DEBUG"},
# # # # # # # # # # #
"formatters": {
"default": {
"format": "%(levelname)s %(pathname)s TIME: %(asctime)s MSG: 
%(filename)s:%(funcName)s:%(lineno)d %(message)s"
},
"simple": {"format": "%(funcName)s:%(lineno)d %(message)s"},
},
# # # # # # # # # # #
"filters": {
"require_debug_false": {"()": "django.utils.log.RequireDebugFalse"},
"require_debug_true": {"()": "django.utils.log.RequireDebugTrue"},
},
# # # # # # # # # # #
}


 




--
You received this message because you are subscribed to the Google 
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to django-users+unsubscr...@googlegroups.com 
.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c65b91c2-dbea-4113-a446-6a4892f08135%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/dd4985a4-e9b9-e7cf-d33a-114ff7c5bf7f%40dewhirst.com.au.


Handler 500

2019-12-03 Thread Charles Jason Decena
is there a way to retrieve the handler 500 data/error?  and also can i have 
multiple handler 500 in my base url in order to be dynamic? and how to get 
the error message in handler500

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c65b91c2-dbea-4113-a446-6a4892f08135%40googlegroups.com.


Re: graphql-python/graphene-django

2019-12-03 Thread carlos
graphene-django is not compatible yet Django 3 :p

On Tue, Dec 3, 2019 at 2:26 PM BfutureP  wrote:

> After upgrading to Django 3.0 graphene as well as graphene-django is
> giving error.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/09770154-6727-412b-9a00-7a6025c096ac%40googlegroups.com
> 
> .
>


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAM-7rO37%3D2eR6SsvMPTMoY6GJuu06fF0%2ByynGdBVq5wZiCzMrA%40mail.gmail.com.


Re: Django- Display PDf document in an Iframe or Pdf VIewer

2019-12-03 Thread 1351552...@qq.com
hi:
1、the pdf file is static file,u can write the url in html to show it.
2、if u want to show it in half of web page,u can use  with fixed width and 
height besides iframe.



wblueboat
 
From: 'Lucas Gärtner' via Django users
Date: 2019-11-25 22:29
To: Django users
Subject: Django- Display PDf document in an Iframe or Pdf VIewer
Hello everyone!

I just signed up here, so maybe this thread is wrong in this group. 

The problem is as follows:

I need to display a PDF document in a half of a web application.
I tried it first with Iframe and now today with pdf.js.
Nothing helped. Do you have any idea? 
It is only showing the pdf, not more.

I am using django: 2.1.10 and Python 3.7.1

Hope you have some good recommendations!

Have a nice day!
Lucas
-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8304b914-3861-4c33-8948-87f9baeaf27f%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/5de6fd70.1c69fb81.8e64c.0da3SMTPIN_ADDED_BROKEN%40gmr-mx.google.com.


Re:

2019-12-03 Thread 1351552...@qq.com
r u mean u want to display the response?



wblueboat
 
From: vaneet bawa
Date: 2019-11-27 16:35
To: django-users
Subject: 
can someone please tell me that how I can display the message on the url from 
which I am getting the response
-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKubXnycx%3DqU2h4SgRJ%3D_HEXbSqfbJ8ii2TbVQVzYGzcT9m7Qg%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/5de6fbe9.1c69fb81.8ef74.2debSMTPIN_ADDED_BROKEN%40gmr-mx.google.com.


graphql-python/graphene-django

2019-12-03 Thread BfutureP
After upgrading to Django 3.0 graphene as well as graphene-django is giving 
error.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/09770154-6727-412b-9a00-7a6025c096ac%40googlegroups.com.


Linking various HTML files in template

2019-12-03 Thread Anointed
Hello guys,
 I need a description of how to link several HTML pages as in a navigation bar

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6ae84e5a-cd06-40ac-90e9-cb2e4a0c0e6b%40googlegroups.com.


Re: Link a .css to a Html template

2019-12-03 Thread Leó Horváth
hi guys, its still not working, one of you asked for my repo so here it
is:  https://github.com/leocsi/salesgrade
Any idea what might be wrong?

Thanks,
Leó

Integr@te System  ezt írta (időpont: 2019. dec.
3., K, 7:29):

> Hi Leo,
>
> Plz look at err/change log in developer tools to inspect whats up, after
> you adjust files.
>
>
>
> On Tue, Dec 3, 2019, 06:20 Gerardo Palazuelos Guerrero <
> gerardo.palazue...@gmail.com> wrote:
>
>> Hi,
>> You better share your repo, my guess is you are not sharing all details...
>>
>> On my case I integrated a template with a Django project as a practice (
>> my repo: https://github.com/gpalazuelosg/django-adminlte ), the
>> important bits:
>>
>> #1: settings.py has at the end two entries:
>> STATIC_URL = '/static/'
>> STATICFILES_DIRS = (os.path.join(BASE_DIR,'static'),)
>>
>> #2: I have an "static" folder at the same level as manage.py, which has
>> another folder called "base" inside
>>
>> #3: inside the /static/base folder, I have the following folders
>> containing pertinent files as you might imagine:
>> css
>> js
>> img
>> plugins
>>
>> #4: On my layout.html file, I use the following:
>> {% load static %}
>> ...
>> 
>>
>>
>> This is how it looks:
>>
>>
>>
>> I hopes that helps.
>>
>> --
>> Gerardo Palazuelos Guerrero
>>
>>
>>
>> On Mon, Dec 2, 2019 at 3:09 PM Leó Horváth 
>> wrote:
>>
>>> hi,
>>> I did what Kevin requested, now console says "GET /pages/ HTTP/1.1" 200
>>> 536 and the style still doesn't work.
>>> Any ideas?
>>> Thanks,
>>> Leó
>>>
>>> Kevin Dublin  ezt írta (időpont: 2019. dec. 2., H,
>>> 21:41):
>>>
 Hi Leo,

 Make sure that you point to the exact directory where the CSS file is
 located. If it's in static/pages/frame.css, then point to {% static
 "pages/frame.css" %}

 Cheers,

 Kevin

 On Mon, Dec 2, 2019, 11:15 AM Leó Horváth 
 wrote:

> hi! i still cant make it work. this is my html snippet and the .css is
> located at static/pages/frame.css.
> when i run the server the browser displays the hard coded html but not
> the style. console says "GET /static/frame.css HTTP/1.1" 404 1651
> 
>
> {% load static %}
>
> 
> 
> 
> {% block css %}
> 
> {% endblock %}
>
> ‪‫אורי‬‎  ezt írta (időpont: 2019. dec. 2., H, 3:33):‬
>
>> Hi,
>>
>> Look at these templates for example:
>>
>> https://github.com/speedy-net/speedy-net/blob/master/speedy/core/templates/base.html#L12-L27
>>
>>
>> https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/base_site.html#L7-L13
>>
>>
>> https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/accounts/edit_profile/activate.html#L13-L18
>>
>>
>> אורי
>> u...@speedy.net
>>
>>
>> On Mon, Dec 2, 2019 at 3:26 AM Leó Horváth 
>> wrote:
>>
>>> Hi guys, I am experiencing an error while trying to Link a .css file
>>> to a Html template of one of my Views. What is the correct way to do 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/b37e10ec-3b9d-4178-8757-1d0277f6cd15%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/CABD5YeHFgym3pJ4Q5_gE3ATWJiVJ9KDnoBCN8UqM0%2BhWPxXpbg%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/CAJBcW0w3qc8OcDgCJAFKrr881%2B2wyAyY3ENH6%3D2bi%2Bn%2BFALBDA%40mail.gmail.com
> 
> .
>
 --
 You received this message because you are subscribed to the Google

Re: Fixtures for django auth groups

2019-12-03 Thread Tim Graham
Take a look at https://docs.djangoproject.com/en/stable/howto/initial-data/.

On Tuesday, December 3, 2019 at 10:31:01 AM UTC-5, Arulselvam K wrote:
>
> I want to create fixtures for auth groups to get some preloaded auth 
> groups. Kindly educate me on how to create fixtures fixtures for built in 
> django models
>
> Thanks and regards,
> Arulselvam K
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b36c369b-1c17-44a3-893f-87c364c0a076%40googlegroups.com.


Fixtures for django auth groups

2019-12-03 Thread Arulselvam K
I want to create fixtures for auth groups to get some preloaded auth
groups. Kindly educate me on how to create fixtures fixtures for built in
django models

Thanks and regards,
Arulselvam K

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


Re: Why is the Django server running even when pytlinter shows that there's some bug in the code?

2019-12-03 Thread Aaryan Dewan
Thanks! :)

On Tuesday, December 3, 2019 at 7:00:18 PM UTC+5:30, Bruckner de Villiers 
wrote:
>
> I had the same issue and after trying various weird solutions on 
> Stackoverflow, none of which worked, I found this simple solution – add 
> this comment code to each line giving the error and it magically disappears:
>
>  
>
> *# pylint: disable=no-member*
>
>  
>
>  
>
> Bruckner de Villiers
>
> 083 625 1086
>
>  
>
> *From: *> on behalf of Aaryan 
> Dewan >
> *Reply to: *>
> *Date: *Tuesday, 03 December 2019 at 14:34
> *To: *Django users >
> *Subject: *Why is the Django server running even when pytlinter shows 
> that there's some bug in the code?
>
>  
>
> I was just following this tutorial, on how to make Django apps and how to 
> display a database to the user. I created a simple database in models.py 
> and then, I defined a function in views.py, which used Item.objects.all(). 
> Now Pylinter says that* 'Item' has no 'objects' member*!
>
> So this should prevent the server from running ( as its a bug after all!), 
> but if I type in *python manage.py runserver,* the terminal shows no 
> error and the server starts functioning. 
>
>  
>
> Please see the photo attachment to get a clearer view of the problem!
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/6428642e-3d7d-4d95-b387-0894c8410897%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/29ca61e2-640f-4e9e-8264-0bb691d0729c%40googlegroups.com.


Re: Why is the Django server running even when pytlinter shows that there's some bug in the code?

2019-12-03 Thread Aaryan Dewan
Thanks for the reply! It was very helpful. 

"Class 'Item' has no 'objects' member" -- Could you explain what exactly a 
member is? 
By the way, this problem is common! 
See: https://stackoverflow.com/questions/45135263/class-has-no-objects-member

On Tuesday, December 3, 2019 at 6:57:35 PM UTC+5:30, Daniel Hepper wrote:
>
> Python is a dynamic programming language with a dynamic type system (as 
> opposed to a static type system like for example Java), see 
> https://en.wikipedia.org/wiki/Dynamic_programming_language
>
> Among other things, that means that type checks are done during runtime.
>
> That means, if Item really does not have an 'objects' member (i.e. Item is 
> not a Django model), this will only lead to an error if this line of code 
> is executed, i.e. you visit the URL that points to the index view function.
>
> But if Item is a Django model, this is most likely a false positive of 
> pylint. The Django ORM makes extensive use of the dynamic nature of Python, 
> which can confuse pylint. There is a plugin for pylint to make it work more 
> reliably with Django code: https://pypi.org/project/pylint-django/
>
> Hope that helps,
> Daniel
>
>
> On Tue, Dec 3, 2019 at 1:34 PM Aaryan Dewan  > wrote:
>
>> I was just following this tutorial, on how to make Django apps and how to 
>> display a database to the user. I created a simple database in models.py 
>> and then, I defined a function in views.py, which used Item.objects.all(). 
>> Now Pylinter says that* 'Item' has no 'objects' member*!
>>
>> So this should prevent the server from running ( as its a bug after 
>> all!), but if I type in *python manage.py runserver,* the terminal shows 
>> no error and the server starts functioning. 
>>
>> Please see the photo attachment to get a clearer view of the problem!
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django...@googlegroups.com .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/6428642e-3d7d-4d95-b387-0894c8410897%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/27d48dc3-87b7-4ad7-8002-1dbb1879591f%40googlegroups.com.


Re: Styling in Django

2019-12-03 Thread Tafadzwa Marshal
thanks

On Tue, Dec 3, 2019 at 6:40 AM Thiago Luiz Parolin 
wrote:

> My last project materializecss uses materialize with great success and to
> stylizing forms i am using django-materializecss-form
>
> Em ter., 3 de dez. de 2019 às 10:52, Alan Gómez 
> escreveu:
>
>> You can work with materializecss In django. You must configure the static
>> path and put the materializecss files in these path.
>>
>> At night, I can send you an example.
>>
>> Regards.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/74571e79-91d6-4fb8-b03f-1195893bfc91%40googlegroups.com
>> .
>>
>
>
> --
> Thiago Luiz Parolin
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANbmKys45f1c8s4W5SK0qDXUOJHBcRtq2Eo9LvQ9shz2%3DOBoAA%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/CAFgO-6hWOhj6YrnFjpFz9bH1W%2BynA71uXh0QmB3JijaTjhJMig%40mail.gmail.com.


Re: ERROR IndentationError: unindent does not match any outer indentation level

2019-12-03 Thread Kasper Laudrup

Hi EMPOWER EXCEL,

On 03/12/2019 15.30, EMPOWER EXCEL wrote:


   File "/home/flavien/MyProjects/alertprot/ZSalertprot/models.py", line 11
 objects = models.GeoManager()
   ^
IndentationError: unindent does not match any outer indentation level



Indentation is important in Python as it is used for scoping. You 
clearly have placed this line:


objects = models.GeoManager()

so it doesn't match the surrounding scope.

This is very basic Python, so I suggest you start with a basic tutorial 
on Python programming before going on to more advanced topics like 
Django. That will save you a lot of time.


Maybe someone can recommend some tutorials books for beginners?

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/1cc71dd8-8ccb-1c09-09c8-98d1a60712a9%40stacktrace.dk.


Re: Styling in Django

2019-12-03 Thread Thiago Luiz Parolin
My last project materializecss uses materialize with great success and to
stylizing forms i am using django-materializecss-form

Em ter., 3 de dez. de 2019 às 10:52, Alan Gómez 
escreveu:

> You can work with materializecss In django. You must configure the static
> path and put the materializecss files in these path.
>
> At night, I can send you an example.
>
> Regards.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/74571e79-91d6-4fb8-b03f-1195893bfc91%40googlegroups.com
> .
>


-- 
Thiago Luiz Parolin

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


Re: ERROR IndentationError: unindent does not match any outer indentation level

2019-12-03 Thread Tafadzwa Marshal
make sure the "objects=models.GeoManager()"  statement aligns with the
statement "location=models.PointField(sid=4326)"

On Tue, Dec 3, 2019 at 6:30 AM EMPOWER EXCEL  wrote:

> PLEASE PUSH ME UP TO CORRECT THIS PROBLEM:
>
> class Alerts(models.Model):
> name = models.CharField(max_length=20)
> location = models.PointField(srid=4326)
> objects = models.GeoManager()
>
>
> self.models_module = import_module(models_module_name)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
>   File "/home/flavien/MyProjects/alertprot/ZSalertprot/models.py", line 11
> objects = models.GeoManager()
>   ^
> IndentationError: unindent does not match any outer indentation level
>
> --
> FLAVIEN HERI
>
> *Information management AscociateUNHCR-Kinshasa*
> Tél:+243978587009
> Skype: flavien.heri1
> Facebook: flavien semi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAG3GEnzWm_4wAcFboaT%3Dn8OD%3DC1cigm%2B9N-%2Bvib8pin2Uv7BCA%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/CAFgO-6jn5dr-hBM5_SA6kZFiNLi4rk%2B-5ZnzNsbbErmfWpVeHw%40mail.gmail.com.


ERROR IndentationError: unindent does not match any outer indentation level

2019-12-03 Thread EMPOWER EXCEL
PLEASE PUSH ME UP TO CORRECT THIS PROBLEM:

class Alerts(models.Model):
name = models.CharField(max_length=20)
location = models.PointField(srid=4326)
objects = models.GeoManager()


self.models_module = import_module(models_module_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
  File "/home/flavien/MyProjects/alertprot/ZSalertprot/models.py", line 11
objects = models.GeoManager()
  ^
IndentationError: unindent does not match any outer indentation level

-- 
FLAVIEN HERI

*Information management AscociateUNHCR-Kinshasa*
Tél:+243978587009
Skype: flavien.heri1
Facebook: flavien semi

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAG3GEnzWm_4wAcFboaT%3Dn8OD%3DC1cigm%2B9N-%2Bvib8pin2Uv7BCA%40mail.gmail.com.


Styling in Django

2019-12-03 Thread Alan Gómez
You can work with materializecss In django. You must configure the static path 
and put the materializecss files in these path.

At night, I can send you an example.

Regards.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/74571e79-91d6-4fb8-b03f-1195893bfc91%40googlegroups.com.


Styling in Django

2019-12-03 Thread marshalx4
How can I use Materialize CSS with Django? Seems like bootstrap is the only 
framework that works with little to no hassle at all.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/620982a5-d1fc-4151-8dd7-f8d0f4971e1a%40googlegroups.com.


Re: Why is the Django server running even when pytlinter shows that there's some bug in the code?

2019-12-03 Thread Bruckner de Villiers
I had the same issue and after trying various weird solutions on Stackoverflow, 
none of which worked, I found this simple solution – add this comment code to 
each line giving the error and it magically disappears:

 

# pylint: disable=no-member

 

 

Bruckner de Villiers

083 625 1086

 

From:  on behalf of Aaryan Dewan 

Reply to: 
Date: Tuesday, 03 December 2019 at 14:34
To: Django users 
Subject: Why is the Django server running even when pytlinter shows that 
there's some bug in the code?

 

I was just following this tutorial, on how to make Django apps and how to 
display a database to the user. I created a simple database in models.py and 
then, I defined a function in views.py, which used Item.objects.all(). Now 
Pylinter says that 'Item' has no 'objects' member!

So this should prevent the server from running ( as its a bug after all!), but 
if I type in python manage.py runserver, the terminal shows no error and the 
server starts functioning. 

 

Please see the photo attachment to get a clearer view of the problem!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6428642e-3d7d-4d95-b387-0894c8410897%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/AA2D925E-0996-4647-B984-997BAF0FE9E2%40gmail.com.


Re: Why is the Django server running even when pytlinter shows that there's some bug in the code?

2019-12-03 Thread Daniel Hepper
Python is a dynamic programming language with a dynamic type system (as
opposed to a static type system like for example Java), see
https://en.wikipedia.org/wiki/Dynamic_programming_language

Among other things, that means that type checks are done during runtime.

That means, if Item really does not have an 'objects' member (i.e. Item is
not a Django model), this will only lead to an error if this line of code
is executed, i.e. you visit the URL that points to the index view function.

But if Item is a Django model, this is most likely a false positive of
pylint. The Django ORM makes extensive use of the dynamic nature of Python,
which can confuse pylint. There is a plugin for pylint to make it work more
reliably with Django code: https://pypi.org/project/pylint-django/

Hope that helps,
Daniel


On Tue, Dec 3, 2019 at 1:34 PM Aaryan Dewan  wrote:

> I was just following this tutorial, on how to make Django apps and how to
> display a database to the user. I created a simple database in models.py
> and then, I defined a function in views.py, which used Item.objects.all().
> Now Pylinter says that* 'Item' has no 'objects' member*!
>
> So this should prevent the server from running ( as its a bug after all!),
> but if I type in *python manage.py runserver,* the terminal shows no
> error and the server starts functioning.
>
> Please see the photo attachment to get a clearer view of the problem!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6428642e-3d7d-4d95-b387-0894c8410897%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/CAHEnUVV8bMk82rTnWQWFO6O-Yr-gg7d64vUXaAwv_c7KhdBDOQ%40mail.gmail.com.


Re: orm relation

2019-12-03 Thread Integr@te System
Hi issuer,

Plz refer to docs to customize statement base on your use case, my work for
a sample with limited time. Plz try remove space around equal sign.



On Tue, Dec 3, 2019, 19:26 bill dexter <55dexte...@gmail.com> wrote:

> hi friend;
> i tryed your answer, but it says that error in syntax near  __gt  in ""
> extractyear(dat_enc) - extractyear(annee)__gt = 3""; don't work
>
> Le lun. 2 déc. 2019 à 20:31, Integr@te System 
> a écrit :
>
>> Hi friend,
>>
>> All_list = list(users.object.aggregate(age =
>> cast(extractyear(datetime.now()) - extractyear(dat_nais), output_field =
>> IntField())).filter(extractyear(dat_enc) - extractyear(annee)__gt = 3 & 
>> extractyear(datetime.now())
>> - extractyear(dat_nais)__IN=range(54,70) & cod_nad__contain = 
>> 'CN').order_by('num___annee',
>> 'prn'))
>>
>>
>> Plz add more alias field as your sql command according to a sample above.
>>
>> Ps: check your question first(sql), then pass to communities.
>>
>>
>>
>> On Mon, Dec 2, 2019, 21:16 bill dexter <55dexte...@gmail.com> wrote:
>>
>>> thank you, but if you can give me answer to this  exacte probleme, as
>>> mentioned in question
>>>
>>> Le dim. 1 déc. 2019 à 18:55, Integr@te System 
>>> a écrit :
>>>
 Hi,

 here u can try for complex queryset



 https://docs.djangoproject.com/en/2.2/topics/db/queries/#complex-lookups-with-q

 On Sun, Dec 1, 2019, 21:08 bill dexter <55dexte...@gmail.com> wrote:

> ELECT a.matr
>   ,[nom]
>   ,[prn]
>   ,cast([dat_nais] as date) as dat_nais
>   , (YEAR(getdate()) - YEAR(dat_nais)) as age
>   ,cast([dat_deces] as date) as dat_deces
>   ,cast([dat_imm] as date) as dat_imm
>   ,cast([dat_aj] as date) as dat_j
>   ,[cod_position]
>   ,YEAR(dat_imm) as anne_imm
>   ,YEAR(dat_encais) as ann_regl
>   ,[annee]
>   ,[cod_nat]
>   ,cast([dat_e
>
> Snc] as date) as dat_regl
>   ,[mt_encais]
>   FROM users a
> left join enca e on e.matr = a.matr
> left join encr c on (c.cod_encais = e.cod_encais)
>   where (YEAR(c.dat_enc) - c.annee > 3 ) and ((YEAR(getdate()) -
> YEAR(a.dat_nais)) between 54 and 70) and c.cod_nat = 'CN'
>   order by a.nom_, a.prn, c.annee asc;
>
> hello;
> my models are users, enca; encr;
> who can i performe this query using django ORM, note that i'm using
> MSSQL; thank very much
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/85f7f91b-0f52-4a96-8700-bee588eb4a3d%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/CAP5HUWqap3ddCEmW-7yD_uRWhwxDNQdSNZ%2BQPPvHzcAwDf1e5Q%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/CAA7%3DR20i-DNEFTgdHQ7bjmvzQHrmML3LjzamrSiK07oJgbC_%2Bw%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/CAP5HUWoRjYGOMbQf2Lz9npLi7%2BhsOfDoN-wYLAUAjbr9ites-Q%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...@googlegro

Re: Which Cloud Service Provider should be chosen to host Django Application

2019-12-03 Thread Bill Freeman
That sounds like a good choice. Do pay attention to any security procedures
that they suggest in their documentation.  And do keep backups of at least
the basic system and configuration files, if not occasional database dumps,
that are local to you.

Good luck, and have fun.

Bill

On Tue, Dec 3, 2019 at 2:30 AM Debabrata Chakraborty <
debobroto.c...@gmail.com> wrote:

> Many thanks Bill,
>
> I am starting to see the bigger picture now. My site is just a basic blog
> for a non-profit. It's gonna be low traffic with no payment method
> attached. I checked out AWS and it's a bit overwhelming for a beginner like
> me. Guess I'll do a test run with Heroku's free account to get a feel of
> the process.
>
> Anyway, thanks again for all the efforts man!
>
> Cheers!
>
> Deb
>
> On Mon, Dec 2, 2019 at 8:41 PM Bill Freeman  wrote:
>
>> Deployment for a production environment is never without complications.
>>  And that is affected by how much you choose to configure yourself.  I
>> can't speak for Heroku, Digital Ocean, or Python Anywhere, because I
>> haven't used them.  Perhaps some of their users will comment.
>>
>> Even with virtual hosting it is best to pick one of the kernels that they
>> have customized to work well with their virtualization mechanisms.  (If you
>> had a physical host you would need to do kernel configuration yourself.)  I
>> know that AWS and Linode keep their eye on kernel security updates and will
>> offer new versions promptly, but you will need to keep your eyes open and
>> install the upgraded versions when they become available.  They may or may
>> not include application updates as part of these packages, particularly
>> database, but also perhaps http server and python version, though if you
>> want to pick your own version of these then you will be reinstalling them
>> when the kernel upgrades happen.  And you must watch for security updates
>> of the packages that you choose to hand install, which will include
>> Django.  (One of the attractions of shared hosting is that the provider
>> takes care of more of these things.)
>>
>> But as far as picking your own version goes, you really want to stay
>> close to the latest stable version, rather than having to back port
>> security patches yourself.  You also don't want to go with versions so old
>> that they are unsupported, or the people finding new exploits will be
>> limited to the bad guys.  Doing the work right along to stay close to
>> current best practices is valuable so that you don't have a large panic
>> update to do when your version becomes unsupported, needs a security fix,
>> and some old, previously deprecated, way of doing something has been
>> dropped.
>>
>> You will want to learn how to use one of the automated deployment tools,
>> since setting things up by had every time gets old, and is error prone.  As
>> a python guy, I've had fun with fabric, but there are other fine open
>> source and free tools.  In addition to running pip for your, they can
>> remotely run apt, rpm, etc., build your database, http server, python
>> version (including plugging the http server into the desired python using
>> modwsgi, for example).
>>
>> (Note that it is not difficult to have multiple versions of python
>> installed on a Linux system without them getting in one another's way.  So
>> the kernel scripts can run with the version for which they have been
>> designed and tested, and you can still have your favorite running behind
>> your http server, running Django.
>>
>> I'm unaware of AWS pricing.  Last I checked Linode can be as cheap as
>> $5/mo (I pay closer to $20), depending on how big a server you need.
>> Linode, and I presume AWS and others, provides a base amount of bandwidth
>> to the outside world, and if your site has a lot of users (including DDOS
>> attacks) you may have to pay for extra.  Having them run backups for you is
>> an extra cost option (at least for Linode, and probably for most others).
>> Otherwise your bandwidth to storage at your house or office counts against
>> your bandwidth allotment.  (And you should back up this way, at least
>> occasionally, even if your regular backups are handled by the provider.)
>>
>> Linode will host DNS records for your VPS.  I presume the others will
>> too, though there may be differences as to whether there is extra cost.
>>
>> If you're going to accept money, don't do it on your server:  Hook up
>> with PayPal and/or one of the other credit card service providers.  You
>> don't want sensitive customer financial (or medical) records on your site.
>> (You would need full time security staff, and probably private physical
>> servers to do that safely.)
>>
>> If you have a very high traffic site, then most providers, including
>> Linode and certainly AWS, can offer geographic diversity of server
>> location, which helps with responsiveness, and the ability to continue to
>> conduct business if a natural disaster takes one of the provider's server
>> farms off line for a

Re: orm relation

2019-12-03 Thread bill dexter
hi friend;
i tryed your answer, but it says that error in syntax near  __gt  in ""
extractyear(dat_enc) - extractyear(annee)__gt = 3""; don't work

Le lun. 2 déc. 2019 à 20:31, Integr@te System  a
écrit :

> Hi friend,
>
> All_list = list(users.object.aggregate(age =
> cast(extractyear(datetime.now()) - extractyear(dat_nais), output_field =
> IntField())).filter(extractyear(dat_enc) - extractyear(annee)__gt = 3 & 
> extractyear(datetime.now())
> - extractyear(dat_nais)__IN=range(54,70) & cod_nad__contain = 
> 'CN').order_by('num___annee',
> 'prn'))
>
>
> Plz add more alias field as your sql command according to a sample above.
>
> Ps: check your question first(sql), then pass to communities.
>
>
>
> On Mon, Dec 2, 2019, 21:16 bill dexter <55dexte...@gmail.com> wrote:
>
>> thank you, but if you can give me answer to this  exacte probleme, as
>> mentioned in question
>>
>> Le dim. 1 déc. 2019 à 18:55, Integr@te System 
>> a écrit :
>>
>>> Hi,
>>>
>>> here u can try for complex queryset
>>>
>>>
>>>
>>> https://docs.djangoproject.com/en/2.2/topics/db/queries/#complex-lookups-with-q
>>>
>>> On Sun, Dec 1, 2019, 21:08 bill dexter <55dexte...@gmail.com> wrote:
>>>
 ELECT a.matr
   ,[nom]
   ,[prn]
   ,cast([dat_nais] as date) as dat_nais
   , (YEAR(getdate()) - YEAR(dat_nais)) as age
   ,cast([dat_deces] as date) as dat_deces
   ,cast([dat_imm] as date) as dat_imm
   ,cast([dat_aj] as date) as dat_j
   ,[cod_position]
   ,YEAR(dat_imm) as anne_imm
   ,YEAR(dat_encais) as ann_regl
   ,[annee]
   ,[cod_nat]
   ,cast([dat_e

 Snc] as date) as dat_regl
   ,[mt_encais]
   FROM users a
 left join enca e on e.matr = a.matr
 left join encr c on (c.cod_encais = e.cod_encais)
   where (YEAR(c.dat_enc) - c.annee > 3 ) and ((YEAR(getdate()) -
 YEAR(a.dat_nais)) between 54 and 70) and c.cod_nat = 'CN'
   order by a.nom_, a.prn, c.annee asc;

 hello;
 my models are users, enca; encr;
 who can i performe this query using django ORM, note that i'm using
 MSSQL; thank very much

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/85f7f91b-0f52-4a96-8700-bee588eb4a3d%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/CAP5HUWqap3ddCEmW-7yD_uRWhwxDNQdSNZ%2BQPPvHzcAwDf1e5Q%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/CAA7%3DR20i-DNEFTgdHQ7bjmvzQHrmML3LjzamrSiK07oJgbC_%2Bw%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/CAP5HUWoRjYGOMbQf2Lz9npLi7%2BhsOfDoN-wYLAUAjbr9ites-Q%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/CAA7%3DR22g%3DsVQJA1d4JdBC-biw%2BzcRCec9FPn_rbnBNo7%2B2%3DkTw%40mail.gmail.com.


V fv fvvvffvvvvvv vv vv vcvvccvv v vf vvf cvv cvfvv c

2019-12-03 Thread aman kumar


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