Re: Social media management

2019-06-26 Thread Django Dojo
I’m looking for something similar to buffer. Should I use an api or are there 
packages in Django that will make it easier.

Thank you all for your answer(s)

-- 
You received this message because you are subscribed to the Google Groups 
"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/db3e2bd8-716f-47b9-aed9-91a36abbb20a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[no subject]

2019-06-26 Thread Pradeep Singh
Does it make sense to create an application with Django as the backend and
Angular as the front end? I understand entire websites can be built from
Django, so how would Angular, as a front end framework, work with Django?
What would be the benefit of adding Angular, or is it an unnecessary
complexity even for large websites?

-- 
You received this message because you are subscribed to the Google Groups 
"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/CANwgZcYYsxyqQugJddtTv_2M_aLvq3PeQ%2BREEYTR%2BBX4SQX-Pg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid literal for int() with base 10: 'admin'

2019-06-26 Thread Sipum Mishra
Your problem is, in url you are passing id to detailview, but in views.py
you have done anything with that...

Check this again.

On Wed, 26 Jun, 2019, 4:01 AM onyilimba martins mclaren tochukwu, <
tochimcla...@gmail.com> wrote:

> I guess it's Django 2.2?
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/bb10db99-0411-468b-aace-e40509c34b51%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/CAGHZBzzi7Lt9u299aGQOhd0e6rYsFeWyDgX%3DM1yB%2BpgWP_v_iQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re:

2019-06-26 Thread Aldian Fazrihady
It is quite common that Django to be treated mostly as API backend and to
deliver a very basic HTML template to inform the browser about the URL of
the Angular JavaScript.

Regards,

Aldian Fazrihady

On Wed, Jun 26, 2019 at 3:18 PM Pradeep Singh  wrote:

> Does it make sense to create an application with Django as the backend and
> Angular as the front end? I understand entire websites can be built from
> Django, so how would Angular, as a front end framework, work with Django?
> What would be the benefit of adding Angular, or is it an unnecessary
> complexity even for large websites?
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/CANwgZcYYsxyqQugJddtTv_2M_aLvq3PeQ%2BREEYTR%2BBX4SQX-Pg%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/CAN7EoAZhYKghGtbAmxGwxUV8ZwqXw5zWN2PKgDqAY01g70QpAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: CSRF verification failed when I use smart phone

2019-06-26 Thread Anirudh Jain
Are you using it as a website or mobile app? If it is website then try
logging out and login again. You might have logged in as another user or it
might be a caching problem.

On Wed, 26 Jun 2019, 08:31 Aldian Fazrihady,  wrote:

> Please make sure csrftoken cookie is returned to the Android app
>
> Regards,
>
> Aldian Fazrihady
>
> On Wed, 26 Jun 2019, 09:46 Robert F.,  wrote:
>
>> Make sure you aren't blocking cookies on whatever device is giving you
>> problems.  You'll get this error if you are blocking them.
>>
>> On Tuesday, January 6, 2015 at 1:09:46 AM UTC-8, Sugita Shinsuke wrote:
>>>
>>> Hello.
>>>
>>> When I use Django via my smart phone Android and iOS.
>>> The error sometimes occurred.
>>>
>>> Forbidden (403)
>>> CSRF verification failed. Request aborted.
>>> Help
>>> Reason given for failure:
>>> CSRF token missing or incorrect.
>>>
>>> In general, this can occur when there is a genuine Cross Site Request
>>> Forgery, or when Django's CSRF mechanism has not been used correctly. For
>>> POST forms, you need to ensure:
>>> Your browser is accepting cookies.
>>> The view function uses RequestContext for the template, instead of
>>> Context.
>>> In the template, there is a {% csrf_token %} template tag inside each
>>> POST form that targets an internal URL.
>>> If you are not using CsrfViewMiddleware, then you must use csrf_protect
>>> on any views that use the csrf_token template tag, as well as those that
>>> accept the POST data.
>>> You're seeing the help section of this page because you have DEBUG =
>>> True in your Django settings file. Change that to False, and only the
>>> initial error message will be displayed.
>>> You can customize this page using the CSRF_FAILURE_VIEW setting.
>>>
>>> I append django.middleware.csrf.CsrfViewMiddleware', of
>>> MIDDLEWARE_CLASSES in settings.py
>>>
>>> I use
>>> Python 2.7.5
>>> Django 1.6.4
>>>
>>> Anyone who know this matter, please help.
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To 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/cb4f6aba-85e6-4105-9fe4-b3cbcddca727%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/CAN7EoAaW4%2BnBcppcvPWwxTO9EGHV2UjpM3-TChkZv2Cjp5uqow%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/CAC3mK7eRV9baLYHzw2RvMZPv0MWW5wZ_nONdTM6SjKaQEyajBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django create username and password, please help!

2019-06-26 Thread nitish kumar
Hi Jackeline ...

Are you able to start the server using (python manage.py runserver)
if yes you can create super user using below command
python manage.py createsuperuser

after giving username and password navigate to below URL
http://localhost:8000/admin/
and use  the superuser credentials to login and here you can N-number of
users :)

Regards,
Nitish

On Tue, Jun 25, 2019 at 8:34 PM Jackeline Peña Alejandro <
jacky.mela...@gmail.com> wrote:

> Hello everyone, I have a query, well is the first time I'm using django to
> create web pages, I would like help in that sense, I have to create a
> username and password, I would like guidance on it, there are tutorials on
> youtube, but do not help me, because the course of following the steps,
> there is always an error, and I get confused.
>
> I'm using pycharm which allowed me to create a virtual environment, to
> install django
>
> I look forward to your prompt response,
>
> Translated with www.DeepL.com/Translator
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/12768018-e286-4fa9-a8aa-6c143013e7e2%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/CAChxUc8Ua62jL5YwBbnxoiVmhn%3D8fmFtZEaL8LNzdgc1gGMjPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: invalid literal for int() with base 10: 'admin'

2019-06-26 Thread Piotr Duda
Try move first path to end in your main urls.py.

W dniu wtorek, 25 czerwca 2019 17:17:04 UTC+2 użytkownik Harshit napisał:
>
> Here is urls.py of my app
>
> from django.urls import path
> from . import views
> from django.conf import settings
> from django.conf.urls.static import static
>
> app_name="music"
>
> urlpatterns=[
> #/music/
> path('',views.IndexView.as_view(),name='index'),
>
> path('register/',views.UserFormView.as_view(),name='register'),
>
> path('/',views.DetailView.as_view(),name='detail'),
>
> path('album/add/',views.AlbumCreate.as_view(),name='album-add'),
> ]
> urlpatterns += static(settings.MEDIA_URL, document_root
> =settings.MEDIA_ROOT)
>
> Here is my main urls.py
> from django.contrib import admin
> from django.urls import path,include
> from . import settings
> from django.contrib.staticfiles.urls import static
> from django.contrib.staticfiles.urls import staticfiles_urlpatterns
>
> urlpatterns = [
> path('',include('music.urls')),
> path('music/',include('music.urls')),
> path('admin/', admin.site.urls),
> ]
> urlpatterns += staticfiles_urlpatterns()
> urlpatterns += static(settings.MEDIA_URL, document_root
> =settings.MEDIA_ROOT)
>
> On Tuesday, June 25, 2019 at 4:14:05 PM UTC+5:30, Sipum wrote:
>>
>> Can u plz attach your urls.py as functions associated in views.py
>>
>> Thanks. 
>>
>> On Mon, 24 Jun, 2019, 8:08 PM Harshit Agarwal,  
>> wrote:
>>
>>>  Hi guys,
>>> I am currently working on a working on a project. Everything is working 
>>> fine but i am not able to access my admin. How can i solve this? 
>>> Here is my Stack Trace 
>>> Traceback:
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\core\handlers\exception.py"
>>>  
>>> in inner
>>>   34. response = get_response(request)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\core\handlers\base.py" 
>>> in _get_response
>>>   126. response = 
>>> self.process_exception_by_middleware(e, request)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\core\handlers\base.py" 
>>> in _get_response
>>>   124. response = wrapped_callback(request, 
>>> *callback_args, **callback_kwargs)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\views\generic\base.py" 
>>> in view
>>>   68. return self.dispatch(request, *args, **kwargs)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\views\generic\base.py" 
>>> in dispatch
>>>   88. return handler(request, *args, **kwargs)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\views\generic\detail.py" 
>>> in get
>>>   106. self.object = self.get_object()
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\views\generic\detail.py" 
>>> in get_object
>>>   36. queryset = queryset.filter(pk=pk)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\query.py" in 
>>> filter
>>>   844. return self._filter_or_exclude(False, *args, **kwargs)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\query.py" in 
>>> _filter_or_exclude
>>>   862. clone.query.add_q(Q(*args, **kwargs))
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\sql\query.py" 
>>> in add_q
>>>   1263. clause, _ = self._add_q(q_object, self.used_aliases)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\sql\query.py" 
>>> in _add_q
>>>   1287. split_subq=split_subq,
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\sql\query.py" 
>>> in build_filter
>>>   1225. condition = self.build_lookup(lookups, col, value)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\sql\query.py" 
>>> in build_lookup
>>>   1096. lookup = lookup_class(lhs, rhs)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\lookups.py" in 
>>> __init__
>>>   20. self.rhs = self.get_prep_lookup()
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\lookups.py" in 
>>> get_prep_lookup
>>>   70. return self.lhs.output_field.get_prep_value(self.rhs)
>>>
>>> File 
>>> "C:\ProgramData\Anaconda3\lib\site-packages\django\db\models\fields\__init__.py"
>>>  
>>> in get_prep_value
>>>   965. return int(value)
>>>
>>> Exception Type: ValueError at /admin/
>>> Exception Value: invalid literal for int() with base 10: 'admin' 
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to django...@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

Re: Social media management

2019-06-26 Thread ravikumar dingari
Uid64 and tokens While trying to send password reset link to mail...
Error came

On 25-Jun-2019 8:35 PM, "Django Dojo"  wrote:

> Are there any packages that will allow me to build a social media
> management platform?
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/47874e57-985c-4298-a069-e97168d7fc70%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%2BvYKMTQ4%3D9CV_JgeLYwO4J%2BaSK6oaFadPB9uuzbzV5ARaYebg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


How to connect Django with Hbase

2019-06-26 Thread Varun Kumar
Hello folks ,

   Does anyone know how to connect django with hbase as db ?
*Regards,*

*Varun Kumar *
*Mob: +91-8884601515*
*email: varunsingh...@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 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/CAP3uuCxqnnJXgR1ZD2-T9MUrQgcM5R33UG0P1iQrOeZ%2BioG9cA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
I need help.

I've followed the directions to a "T."

1.  My site works PERFECTLY on my local host in my virtual environment.  NO
errors, migrates fine, runs fine and looks beautiful.

2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.

3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run it.
I can find literally no documentation except for the textbook info from
DJango, which doesn't troubleshoot at all.

Has anyone had this trouble already?

I have to get this up and running!

ANY suggestions would be helpful.  ANY.


Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

*Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site:
https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckes...@epiccharterschools.org

 



-- 
You received this message because you are subscribed to the Google Groups 
"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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread Fabio C. Barrionuevo da Luz
Is very hard to help you without the full traceback of the errors.
run:

heroku logs

put the output into https://gist.github.com/

and send the generated link.

ps: make sure you remove from the traceback any line related to password,
api keys

Many years ago, they recommended me to read this text here
http://www.catb.org/esr/faqs/smart-questions.html.
(although it does not agree with some parts of it, it gives you an idea of
how to elaborate questions to make it easier for volunteers to help you)




Em qua, 26 de jun de 2019 às 12:59, Charlotte Wood <
charlotte.w...@epiccharterschools.org> escreveu:

> I need help.
>
> I've followed the directions to a "T."
>
> 1.  My site works PERFECTLY on my local host in my virtual environment.
> NO errors, migrates fine, runs fine and looks beautiful.
>
> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.
>
> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run it.
> I can find literally no documentation except for the textbook info from
> DJango, which doesn't troubleshoot at all.
>
> Has anyone had this trouble already?
>
> I have to get this up and running!
>
> ANY suggestions would be helpful.  ANY.
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Fábio C. Barrionuevo da Luz
Palmas - Tocantins - Brasil - América do Sul

http://pythonclub.com.br/

Blog colaborativo sobre Python e tecnologias Relacionadas, mantido
totalmente no https://github.com/pythonclub/pythonclub.github.io .

Todos são livres para publicar. É só fazer fork, escrever sua postagem e
mandar o pull-request. Leia mais sobre como publicar em README.md e
contributing.md.
Regra básica de postagem:
"Você" acha interessante? É útil para "você"? Pode ser utilizado com Python
ou é útil para quem usa Python? Está esperando o que? Publica logo, que
estou louco para ler...

-- 
You received this message because you are subscribed to the Google Groups 
"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/CAPVjvMYjujffJpGOwhBy_g2jaDRok1JiX5B376ifP8GgWOZ8%3DQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Hi Charlotte,

What sort of error do you see?

Also, have your checked your logs on Heroku?

Lastly, if you have a sandbox on Heroku, you could run the site there in
debug mode to get more specific error information.

Kind regards,
Lloyd


*Sent with Shift
*

On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <
charlotte.w...@epiccharterschools.org> wrote:

> I need help.
>
> I've followed the directions to a "T."
>
> 1.  My site works PERFECTLY on my local host in my virtual environment.
> NO errors, migrates fine, runs fine and looks beautiful.
>
> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.
>
> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run it.
> I can find literally no documentation except for the textbook info from
> DJango, which doesn't troubleshoot at all.
>
> Has anyone had this trouble already?
>
> I have to get this up and running!
>
> ANY suggestions would be helpful.  ANY.
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%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/CAH-SnCC0B1FYJpEtZYo72x-_uTwRMdBojg1mw9bkxw1tdWRe5Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
The only error I keep seeing is "No Module Found" for django-filters

But, I don't understand why it runs perfectly on my local host, every
single page, then heroku just hates django filters.  I was hoping someone
else had the same issues and remembered.  But, I will follow up with the
error logs in a sec.  Thanks ya'll!!



Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

*Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site:
https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckes...@epiccharterschools.org

 






On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube 
wrote:

> Hi Charlotte,
>
> What sort of error do you see?
>
> Also, have your checked your logs on Heroku?
>
> Lastly, if you have a sandbox on Heroku, you could run the site there in
> debug mode to get more specific error information.
>
> Kind regards,
> Lloyd
>
>
> *Sent with Shift
> *
>
> On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <
> charlotte.w...@epiccharterschools.org> wrote:
>
>> I need help.
>>
>> I've followed the directions to a "T."
>>
>> 1.  My site works PERFECTLY on my local host in my virtual environment.
>> NO errors, migrates fine, runs fine and looks beautiful.
>>
>> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.
>>
>> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run
>> it.  I can find literally no documentation except for the textbook info
>> from DJango, which doesn't troubleshoot at all.
>>
>> Has anyone had this trouble already?
>>
>> I have to get this up and running!
>>
>> ANY suggestions would be helpful.  ANY.
>>
>>
>> Charlotte Wood, MEd
>>
>> Educator
>>
>> (405) 578-5701
>>
>> Zoom Meeting ID#: 4055785701
>>
>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>
>> Classroom Google Site:
>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>
>> Epic Technical Support: (405) 652-0935
>>
>>
>>
>> Jordan McKesson Principal
>>
>> 405-749-4550 ext. 309
>>
>> jordan.mckes...@epiccharterschools.org
>>
>> 
>> 
>> 
>> 
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%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/CAH-SnCC0B1FYJpEtZYo72x-_uTwRMdBojg1mw9bkxw1tdWRe5Q%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/CAPZR0N7Okz5pk3aM24pD7kQHri4BZvqripKtimdbs5cHSs9GLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Getting posts of a category in blog application

2019-06-26 Thread Gaurav Sahu
I want to grab all the posts of a particular category. I am passing th url 
like this: {% url 'blog:post_list' %}?category={{ cat }}. But I am not able 
how to return the queryset for posts of the category cat passed in the url.

my Post model:

class Post(models.Model):
title = models.CharField(max_length=100, unique = True)
overview = RichTextUploadingField()
created_at = models.DateTimeField(editable=False)
published_at = models.DateTimeField( null=True)
updated_at = models.DateTimeField()
content = RichTextUploadingField(blank=False, null=True)
# comment_count = models.IntegerField(default = 0)
# view_count = models.IntegerField(default = 0)
author = models.ForeignKey(User, on_delete=models.CASCADE, related_name=
'posts')
thumbnail = ImageField(blank=True, null=True)
categories = models.ManyToManyField(Category, related_name='posts')
featured = models.BooleanField(blank=True, default=False)
slug = models.SlugField(max_length = 250, null = True, blank = True, 
unique = True)


{{post.title|safe}}
{% for cat in post.categories.all %}
{{cat}}
{% endfor %}



-- 
You received this message because you are subscribed to the Google Groups 
"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/fdf49d34-3aea-41e6-b4e0-0d810a62d222%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
It sounds like the package django-filters is not installed on your Heroku
environment.

Do you have a dependency file suck as a Pipfile or requirements.txt? If you
do, you will need to install all dependencies listed there on your Heroku
server (at least those you need for production use).

Kind regards,
Lloyd


*Sent with Shift
*

On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
charlotte.w...@epiccharterschools.org> wrote:

> The only error I keep seeing is "No Module Found" for django-filters
>
> But, I don't understand why it runs perfectly on my local host, every
> single page, then heroku just hates django filters.  I was hoping someone
> else had the same issues and remembered.  But, I will follow up with the
> error logs in a sec.  Thanks ya'll!!
>
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
>
>
> On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube 
> wrote:
>
>> Hi Charlotte,
>>
>> What sort of error do you see?
>>
>> Also, have your checked your logs on Heroku?
>>
>> Lastly, if you have a sandbox on Heroku, you could run the site there in
>> debug mode to get more specific error information.
>>
>> Kind regards,
>> Lloyd
>>
>>
>> *Sent with Shift
>> *
>>
>> On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <
>> charlotte.w...@epiccharterschools.org> wrote:
>>
>>> I need help.
>>>
>>> I've followed the directions to a "T."
>>>
>>> 1.  My site works PERFECTLY on my local host in my virtual environment.
>>> NO errors, migrates fine, runs fine and looks beautiful.
>>>
>>> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.
>>>
>>> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run
>>> it.  I can find literally no documentation except for the textbook info
>>> from DJango, which doesn't troubleshoot at all.
>>>
>>> Has anyone had this trouble already?
>>>
>>> I have to get this up and running!
>>>
>>> ANY suggestions would be helpful.  ANY.
>>>
>>>
>>> Charlotte Wood, MEd
>>>
>>> Educator
>>>
>>> (405) 578-5701
>>>
>>> Zoom Meeting ID#: 4055785701
>>>
>>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>>
>>> Classroom Google Site:
>>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>>
>>> Epic Technical Support: (405) 652-0935
>>>
>>>
>>>
>>> Jordan McKesson Principal
>>>
>>> 405-749-4550 ext. 309
>>>
>>> jordan.mckes...@epiccharterschools.org
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%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/CAH-SnCC0B1FYJpEtZYo72x-_uTwRMdBojg1mw9bkxw1tdWRe5Q%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> -

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Oops - I meant 'such as'.

Kind regards,
Lloyd


*Sent with Shift
*

On Wed, Jun 26, 2019 at 7:06 PM Sithembewena L. Dube 
wrote:

> It sounds like the package django-filters is not installed on your Heroku
> environment.
>
> Do you have a dependency file suck as a Pipfile or requirements.txt? If
> you do, you will need to install all dependencies listed there on your
> Heroku server (at least those you need for production use).
>
> Kind regards,
> Lloyd
>
>
> *Sent with Shift
> *
>
> On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
> charlotte.w...@epiccharterschools.org> wrote:
>
>> The only error I keep seeing is "No Module Found" for django-filters
>>
>> But, I don't understand why it runs perfectly on my local host, every
>> single page, then heroku just hates django filters.  I was hoping someone
>> else had the same issues and remembered.  But, I will follow up with the
>> error logs in a sec.  Thanks ya'll!!
>>
>>
>>
>> Charlotte Wood, MEd
>>
>> Educator
>>
>> (405) 578-5701
>>
>> Zoom Meeting ID#: 4055785701
>>
>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>
>> Classroom Google Site:
>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>
>> Epic Technical Support: (405) 652-0935
>>
>>
>>
>> Jordan McKesson Principal
>>
>> 405-749-4550 ext. 309
>>
>> jordan.mckes...@epiccharterschools.org
>>
>> 
>> 
>> 
>> 
>>
>>
>>
>>
>> On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube 
>> wrote:
>>
>>> Hi Charlotte,
>>>
>>> What sort of error do you see?
>>>
>>> Also, have your checked your logs on Heroku?
>>>
>>> Lastly, if you have a sandbox on Heroku, you could run the site there in
>>> debug mode to get more specific error information.
>>>
>>> Kind regards,
>>> Lloyd
>>>
>>>
>>> *Sent with Shift
>>> *
>>>
>>> On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <
>>> charlotte.w...@epiccharterschools.org> wrote:
>>>
 I need help.

 I've followed the directions to a "T."

 1.  My site works PERFECTLY on my local host in my virtual
 environment.  NO errors, migrates fine, runs fine and looks beautiful.

 2.  BEFORE I added Django-filters to my pages, it worked GREAT on
 Heroku.

 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run
 it.  I can find literally no documentation except for the textbook info
 from DJango, which doesn't troubleshoot at all.

 Has anyone had this trouble already?

 I have to get this up and running!

 ANY suggestions would be helpful.  ANY.


 Charlotte Wood, MEd

 Educator

 (405) 578-5701

 Zoom Meeting ID#: 4055785701

 *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

 Classroom Google Site:
 https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

 Epic Technical Support: (405) 652-0935



 Jordan McKesson Principal

 405-749-4550 ext. 309

 jordan.mckes...@epiccharterschools.org

 
 
 
 


 --
 You received this message because you are subscribed to the Google
 Groups "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%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.
>>> Vis

Re:

2019-06-26 Thread Andréas Kühne
Hi,

Yes it would make sense depending on what you want to build. I have
personally built both a complete Django fullstack application, serving
entire html pages (with some javascript) and also a django rest framework
based backend with a angular 8 frontend. So you can definitely build it and
it does make sense. The reason for using django in the backend even though
it is not generating any HTML is for the django ORM which I think is really
good.

Regards,

Andréas


Den ons 26 juni 2019 kl 10:27 skrev Aldian Fazrihady :

> It is quite common that Django to be treated mostly as API backend and to
> deliver a very basic HTML template to inform the browser about the URL of
> the Angular JavaScript.
>
> Regards,
>
> Aldian Fazrihady
>
> On Wed, Jun 26, 2019 at 3:18 PM Pradeep Singh 
> wrote:
>
>> Does it make sense to create an application with Django as the backend
>> and Angular as the front end? I understand entire websites can be built
>> from Django, so how would Angular, as a front end framework, work with
>> Django? What would be the benefit of adding Angular, or is it an
>> unnecessary complexity even for large websites?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "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/CANwgZcYYsxyqQugJddtTv_2M_aLvq3PeQ%2BREEYTR%2BBX4SQX-Pg%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/CAN7EoAZhYKghGtbAmxGwxUV8ZwqXw5zWN2PKgDqAY01g70QpAQ%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/CAK4qSCcPRquMZrJXFWYCOiWYd%3Dgg9-rbT6U%3DWCOdCNMXEvmJFw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread Arahmat Ayoub
Hi Charlotte ,
i 'd happy to help with your issue



[image: Mailtrack]

Sender
notified by
Mailtrack

06/26/19,
06:10:23 PM

Le mer. 26 juin 2019 à 17:59, Charlotte Wood <
charlotte.w...@epiccharterschools.org> a écrit :

> I need help.
>
> I've followed the directions to a "T."
>
> 1.  My site works PERFECTLY on my local host in my virtual environment.
> NO errors, migrates fine, runs fine and looks beautiful.
>
> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.
>
> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run it.
> I can find literally no documentation except for the textbook info from
> DJango, which doesn't troubleshoot at all.
>
> Has anyone had this trouble already?
>
> I have to get this up and running!
>
> ANY suggestions would be helpful.  ANY.
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%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/CAA%3D41fw94Hde%2B8wyG5%2BizZWbF6tw_-CfffNBa%2BZK-Bot9RnW9w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread SOUMAHORO Moussa
Hi Charlotte,
If you are using a versionning manager like git, you can create another
branch from the branch that contains the bug and reset the bug branch to
one of your commit which is good  and
go step by step to avoid the error that you got.


Le mer. 26 juin 2019 à 17:07, Sithembewena L. Dube  a
écrit :

> Oops - I meant 'such as'.
>
> Kind regards,
> Lloyd
>
>
> *Sent with Shift
> *
>
> On Wed, Jun 26, 2019 at 7:06 PM Sithembewena L. Dube 
> wrote:
>
>> It sounds like the package django-filters is not installed on your Heroku
>> environment.
>>
>> Do you have a dependency file suck as a Pipfile or requirements.txt? If
>> you do, you will need to install all dependencies listed there on your
>> Heroku server (at least those you need for production use).
>>
>> Kind regards,
>> Lloyd
>>
>>
>> *Sent with Shift
>> *
>>
>> On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
>> charlotte.w...@epiccharterschools.org> wrote:
>>
>>> The only error I keep seeing is "No Module Found" for django-filters
>>>
>>> But, I don't understand why it runs perfectly on my local host, every
>>> single page, then heroku just hates django filters.  I was hoping someone
>>> else had the same issues and remembered.  But, I will follow up with the
>>> error logs in a sec.  Thanks ya'll!!
>>>
>>>
>>>
>>> Charlotte Wood, MEd
>>>
>>> Educator
>>>
>>> (405) 578-5701
>>>
>>> Zoom Meeting ID#: 4055785701
>>>
>>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>>
>>> Classroom Google Site:
>>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>>
>>> Epic Technical Support: (405) 652-0935
>>>
>>>
>>>
>>> Jordan McKesson Principal
>>>
>>> 405-749-4550 ext. 309
>>>
>>> jordan.mckes...@epiccharterschools.org
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>>
>>> On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube 
>>> wrote:
>>>
 Hi Charlotte,

 What sort of error do you see?

 Also, have your checked your logs on Heroku?

 Lastly, if you have a sandbox on Heroku, you could run the site there
 in debug mode to get more specific error information.

 Kind regards,
 Lloyd


 *Sent with Shift
 *

 On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <
 charlotte.w...@epiccharterschools.org> wrote:

> I need help.
>
> I've followed the directions to a "T."
>
> 1.  My site works PERFECTLY on my local host in my virtual
> environment.  NO errors, migrates fine, runs fine and looks beautiful.
>
> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on
> Heroku.
>
> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run
> it.  I can find literally no documentation except for the textbook info
> from DJango, which doesn't troubleshoot at all.
>
> Has anyone had this trouble already?
>
> I have to get this up and running!
>
> ANY suggestions would be helpful.  ANY.
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
> 
> 
> 
> 
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%40mail.gmail.com
> 

Get Value of Drop Down

2019-06-26 Thread Aayush Bhattarai
Hi,
I have encountered a problem. How can I get the value of dropdown, Boolean 
Field and send it to the database. Note: I am not using forms.py files and 
using a function-based view. I have created own form in HTML. 
I am not able to match the value of database and value in html dropdown.

-- 
You received this message because you are subscribed to the Google Groups 
"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/dcde52cb-b6c6-4271-8d0a-8931fcbbf547%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
ok, stupid question

is there a heroku pip install?

all of my dependencies are installed and listed on my requirements.txt file
just like they're supposed to be.

do i pip install somewhere OTHER than my folder in my virtual environment?

i could be totally crazy, but i don't remember every using heroku pip
install.




Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

*Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site:
https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckes...@epiccharterschools.org

 






On Wed, Jun 26, 2019 at 12:07 PM Sithembewena L. Dube 
wrote:

> It sounds like the package django-filters is not installed on your Heroku
> environment.
>
> Do you have a dependency file suck as a Pipfile or requirements.txt? If
> you do, you will need to install all dependencies listed there on your
> Heroku server (at least those you need for production use).
>
> Kind regards,
> Lloyd
>
>
> *Sent with Shift
> *
>
> On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
> charlotte.w...@epiccharterschools.org> wrote:
>
>> The only error I keep seeing is "No Module Found" for django-filters
>>
>> But, I don't understand why it runs perfectly on my local host, every
>> single page, then heroku just hates django filters.  I was hoping someone
>> else had the same issues and remembered.  But, I will follow up with the
>> error logs in a sec.  Thanks ya'll!!
>>
>>
>>
>> Charlotte Wood, MEd
>>
>> Educator
>>
>> (405) 578-5701
>>
>> Zoom Meeting ID#: 4055785701
>>
>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>
>> Classroom Google Site:
>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>
>> Epic Technical Support: (405) 652-0935
>>
>>
>>
>> Jordan McKesson Principal
>>
>> 405-749-4550 ext. 309
>>
>> jordan.mckes...@epiccharterschools.org
>>
>> 
>> 
>> 
>> 
>>
>>
>>
>>
>> On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube 
>> wrote:
>>
>>> Hi Charlotte,
>>>
>>> What sort of error do you see?
>>>
>>> Also, have your checked your logs on Heroku?
>>>
>>> Lastly, if you have a sandbox on Heroku, you could run the site there in
>>> debug mode to get more specific error information.
>>>
>>> Kind regards,
>>> Lloyd
>>>
>>>
>>> *Sent with Shift
>>> *
>>>
>>> On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <
>>> charlotte.w...@epiccharterschools.org> wrote:
>>>
 I need help.

 I've followed the directions to a "T."

 1.  My site works PERFECTLY on my local host in my virtual
 environment.  NO errors, migrates fine, runs fine and looks beautiful.

 2.  BEFORE I added Django-filters to my pages, it worked GREAT on
 Heroku.

 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run
 it.  I can find literally no documentation except for the textbook info
 from DJango, which doesn't troubleshoot at all.

 Has anyone had this trouble already?

 I have to get this up and running!

 ANY suggestions would be helpful.  ANY.


 Charlotte Wood, MEd

 Educator

 (405) 578-5701

 Zoom Meeting ID#: 4055785701

 *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

 Classroom Google Site:
 https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

 Epic Technical Support: (405) 652-0935



 Jordan McKesson Principal

 405-749-4550 ext. 309

 jordan.mckes...@epiccharterschools.org

 
 
 
 


 --
 You received this message because you are subscribed to the Google
 Groups "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

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
I am currently uninstalling and re-installing everylthing, but I would love
for you to help with this issue.


Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

*Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site:
https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckes...@epiccharterschools.org

 






On Wed, Jun 26, 2019 at 1:39 PM Arahmat Ayoub 
wrote:

> Hi Charlotte ,
> i 'd happy to help with your issue
>
>
>
> [image: Mailtrack]
> 
>  Sender
> notified by
> Mailtrack
> 
>  06/26/19,
> 06:10:23 PM
>
> Le mer. 26 juin 2019 à 17:59, Charlotte Wood <
> charlotte.w...@epiccharterschools.org> a écrit :
>
>> I need help.
>>
>> I've followed the directions to a "T."
>>
>> 1.  My site works PERFECTLY on my local host in my virtual environment.
>> NO errors, migrates fine, runs fine and looks beautiful.
>>
>> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.
>>
>> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run
>> it.  I can find literally no documentation except for the textbook info
>> from DJango, which doesn't troubleshoot at all.
>>
>> Has anyone had this trouble already?
>>
>> I have to get this up and running!
>>
>> ANY suggestions would be helpful.  ANY.
>>
>>
>> Charlotte Wood, MEd
>>
>> Educator
>>
>> (405) 578-5701
>>
>> Zoom Meeting ID#: 4055785701
>>
>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>
>> Classroom Google Site:
>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>
>> Epic Technical Support: (405) 652-0935
>>
>>
>>
>> Jordan McKesson Principal
>>
>> 405-749-4550 ext. 309
>>
>> jordan.mckes...@epiccharterschools.org
>>
>> 
>> 
>> 
>> 
>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%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/CAA%3D41fw94Hde%2B8wyG5%2BizZWbF6tw_-CfffNBa%2BZK-Bot9RnW9w%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/CAPZR0N6jGB-Q%2BNqJ2rHXxNCATcZzLO5pVdxmR8Tuicj_2sXmCQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread Fabio C. Barrionuevo da Luz
Heroku use a "buildpack"  https://devcenter.heroku.com/articles/buildpacks to
do automate some things in the deployment.
you can attach one or more buildpacks to your project in heroku
you can also create your own buildpack to customize it.

specifically for Python, the heroku python buildpack (
https://github.com/heroku/heroku-buildpack-python) will:

- search a "requirements.txt" file on root directory and install all
packages listed on that file.
- search pipenv related files and install all packages listed on that file.

in short, have a requirements.txt file in your root directory





Em qua, 26 de jun de 2019 às 16:07, Charlotte Wood <
charlotte.w...@epiccharterschools.org> escreveu:

> ok, stupid question
>
> is there a heroku pip install?
>
> all of my dependencies are installed and listed on my requirements.txt
> file just like they're supposed to be.
>
> do i pip install somewhere OTHER than my folder in my virtual environment?
>
> i could be totally crazy, but i don't remember every using heroku pip
> install.
>
>
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
>
>
> On Wed, Jun 26, 2019 at 12:07 PM Sithembewena L. Dube 
> wrote:
>
>> It sounds like the package django-filters is not installed on your Heroku
>> environment.
>>
>> Do you have a dependency file suck as a Pipfile or requirements.txt? If
>> you do, you will need to install all dependencies listed there on your
>> Heroku server (at least those you need for production use).
>>
>> Kind regards,
>> Lloyd
>>
>>
>> *Sent with Shift
>> *
>>
>> On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
>> charlotte.w...@epiccharterschools.org> wrote:
>>
>>> The only error I keep seeing is "No Module Found" for django-filters
>>>
>>> But, I don't understand why it runs perfectly on my local host, every
>>> single page, then heroku just hates django filters.  I was hoping someone
>>> else had the same issues and remembered.  But, I will follow up with the
>>> error logs in a sec.  Thanks ya'll!!
>>>
>>>
>>>
>>> Charlotte Wood, MEd
>>>
>>> Educator
>>>
>>> (405) 578-5701
>>>
>>> Zoom Meeting ID#: 4055785701
>>>
>>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>>
>>> Classroom Google Site:
>>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>>
>>> Epic Technical Support: (405) 652-0935
>>>
>>>
>>>
>>> Jordan McKesson Principal
>>>
>>> 405-749-4550 ext. 309
>>>
>>> jordan.mckes...@epiccharterschools.org
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>>
>>> On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube 
>>> wrote:
>>>
 Hi Charlotte,

 What sort of error do you see?

 Also, have your checked your logs on Heroku?

 Lastly, if you have a sandbox on Heroku, you could run the site there
 in debug mode to get more specific error information.

 Kind regards,
 Lloyd


 *Sent with Shift
 *

 On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <
 charlotte.w...@epiccharterschools.org> wrote:

> I need help.
>
> I've followed the directions to a "T."
>
> 1.  My site works PERFECTLY on my local host in my virtual
> environment.  NO errors, migrates fine, runs fine and looks beautiful.
>
> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on
> Heroku.
>
> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run
> it.  I can find literally no documentation except for the textbook info
> from DJango, which doesn't troubleshoot at all.
>
> Has anyone had this trouble already?
>
> I have to get this up and running!
>
> ANY suggestions would be helpful.  ANY.
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
I have that.  That's not the problem.  My specific problem is
django_filters.  My app worked totally fine until I added these filters.
My questions was:  has anyone had trouble with django-filters and if so,
how did you fix it?


Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

*Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site:
https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckes...@epiccharterschools.org

 






On Wed, Jun 26, 2019 at 2:17 PM Fabio C. Barrionuevo da Luz <
bna...@gmail.com> wrote:

> Heroku use a "buildpack"  https://devcenter.heroku.com/articles/buildpacks to
> do automate some things in the deployment.
> you can attach one or more buildpacks to your project in heroku
> you can also create your own buildpack to customize it.
>
> specifically for Python, the heroku python buildpack (
> https://github.com/heroku/heroku-buildpack-python) will:
>
> - search a "requirements.txt" file on root directory and install all
> packages listed on that file.
> - search pipenv related files and install all packages listed on that file.
>
> in short, have a requirements.txt file in your root directory
>
>
>
>
>
> Em qua, 26 de jun de 2019 às 16:07, Charlotte Wood <
> charlotte.w...@epiccharterschools.org> escreveu:
>
>> ok, stupid question
>>
>> is there a heroku pip install?
>>
>> all of my dependencies are installed and listed on my requirements.txt
>> file just like they're supposed to be.
>>
>> do i pip install somewhere OTHER than my folder in my virtual environment?
>>
>> i could be totally crazy, but i don't remember every using heroku pip
>> install.
>>
>>
>>
>>
>> Charlotte Wood, MEd
>>
>> Educator
>>
>> (405) 578-5701
>>
>> Zoom Meeting ID#: 4055785701
>>
>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>
>> Classroom Google Site:
>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>
>> Epic Technical Support: (405) 652-0935
>>
>>
>>
>> Jordan McKesson Principal
>>
>> 405-749-4550 ext. 309
>>
>> jordan.mckes...@epiccharterschools.org
>>
>> 
>> 
>> 
>> 
>>
>>
>>
>>
>> On Wed, Jun 26, 2019 at 12:07 PM Sithembewena L. Dube 
>> wrote:
>>
>>> It sounds like the package django-filters is not installed on your
>>> Heroku environment.
>>>
>>> Do you have a dependency file suck as a Pipfile or requirements.txt? If
>>> you do, you will need to install all dependencies listed there on your
>>> Heroku server (at least those you need for production use).
>>>
>>> Kind regards,
>>> Lloyd
>>>
>>>
>>> *Sent with Shift
>>> *
>>>
>>> On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
>>> charlotte.w...@epiccharterschools.org> wrote:
>>>
 The only error I keep seeing is "No Module Found" for django-filters

 But, I don't understand why it runs perfectly on my local host, every
 single page, then heroku just hates django filters.  I was hoping someone
 else had the same issues and remembered.  But, I will follow up with the
 error logs in a sec.  Thanks ya'll!!



 Charlotte Wood, MEd

 Educator

 (405) 578-5701

 Zoom Meeting ID#: 4055785701

 *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

 Classroom Google Site:
 https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

 Epic Technical Support: (405) 652-0935



 Jordan McKesson Principal

 405-749-4550 ext. 309

 jordan.mckes...@epiccharterschools.org

 
 
 
 




 On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube <
 zebr...@gmail.com> wrote:

> Hi Charlotte,
>
> What sort of error do you see?
>
> Also, have your checked your logs on Heroku?
>
> Lastly, if you have a sandbox on Heroku, you could run the site there
> in debug mode to get more specific error information.
>
> Kind regards,
> Lloyd
>
>
> *Sent with Shift
> *
>
> On Wed, Jun 26, 2019 at

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
It's not stupid to ask :)

You could run the "pip freeze" command and then see what pip on Heroku says
it has.

Also, perhaps your virtual environment's site packages directory on Heroku
is not on the Python path. I have had such a challenge on WebFaction, but
having never used Heroku I wouldn't want to give you incorrect tips to
solve it.

You can find out what's on your path by running the command "echo $PATH"
without quotes and see if your virtual environment's path is in the PATH
variable.

Kind regards,
Lloyd


*Sent with Shift
*

On Wed, Jun 26, 2019 at 9:07 PM Charlotte Wood <
charlotte.w...@epiccharterschools.org> wrote:

> ok, stupid question
>
> is there a heroku pip install?
>
> all of my dependencies are installed and listed on my requirements.txt
> file just like they're supposed to be.
>
> do i pip install somewhere OTHER than my folder in my virtual environment?
>
> i could be totally crazy, but i don't remember every using heroku pip
> install.
>
>
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
>
>
> On Wed, Jun 26, 2019 at 12:07 PM Sithembewena L. Dube 
> wrote:
>
>> It sounds like the package django-filters is not installed on your Heroku
>> environment.
>>
>> Do you have a dependency file suck as a Pipfile or requirements.txt? If
>> you do, you will need to install all dependencies listed there on your
>> Heroku server (at least those you need for production use).
>>
>> Kind regards,
>> Lloyd
>>
>>
>> *Sent with Shift
>> *
>>
>> On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
>> charlotte.w...@epiccharterschools.org> wrote:
>>
>>> The only error I keep seeing is "No Module Found" for django-filters
>>>
>>> But, I don't understand why it runs perfectly on my local host, every
>>> single page, then heroku just hates django filters.  I was hoping someone
>>> else had the same issues and remembered.  But, I will follow up with the
>>> error logs in a sec.  Thanks ya'll!!
>>>
>>>
>>>
>>> Charlotte Wood, MEd
>>>
>>> Educator
>>>
>>> (405) 578-5701
>>>
>>> Zoom Meeting ID#: 4055785701
>>>
>>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>>
>>> Classroom Google Site:
>>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>>
>>> Epic Technical Support: (405) 652-0935
>>>
>>>
>>>
>>> Jordan McKesson Principal
>>>
>>> 405-749-4550 ext. 309
>>>
>>> jordan.mckes...@epiccharterschools.org
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>>
>>> On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube 
>>> wrote:
>>>
 Hi Charlotte,

 What sort of error do you see?

 Also, have your checked your logs on Heroku?

 Lastly, if you have a sandbox on Heroku, you could run the site there
 in debug mode to get more specific error information.

 Kind regards,
 Lloyd


 *Sent with Shift
 *

 On Wed, Jun 26, 2019 at 5:59 PM Charlotte Wood <
 charlotte.w...@epiccharterschools.org> wrote:

> I need help.
>
> I've followed the directions to a "T."
>
> 1.  My site works PERFECTLY on my local host in my virtual
> environment.  NO errors, migrates fine, runs fine and looks beautiful.
>
> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on
> Heroku.
>
> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run
> it.  I can find literally no documentation except for the textbook info
> from DJango, which doesn't troubleshoot at all.
>
> Has anyone had this trouble already?
>
> I have to get this up and running!
>
> ANY suggestions would be helpful.  ANY.
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/29705

Re: Heroku and DJango_Filters

2019-06-26 Thread Fabio C. Barrionuevo da Luz
make sure that you use the right package in your requirements.txt

This is the package that everyone uses:

django-filter
https://pypi.org/project/django-filter/

This is another package with a very similar name

https://pypi.org/project/django-filters/



Em qua, 26 de jun de 2019 às 16:21, Charlotte Wood <
charlotte.w...@epiccharterschools.org> escreveu:

> I have that.  That's not the problem.  My specific problem is
> django_filters.  My app worked totally fine until I added these filters.
> My questions was:  has anyone had trouble with django-filters and if so,
> how did you fix it?
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
>
>
> On Wed, Jun 26, 2019 at 2:17 PM Fabio C. Barrionuevo da Luz <
> bna...@gmail.com> wrote:
>
>> Heroku use a "buildpack"
>> https://devcenter.heroku.com/articles/buildpacks to do automate some
>> things in the deployment.
>> you can attach one or more buildpacks to your project in heroku
>> you can also create your own buildpack to customize it.
>>
>> specifically for Python, the heroku python buildpack (
>> https://github.com/heroku/heroku-buildpack-python) will:
>>
>> - search a "requirements.txt" file on root directory and install all
>> packages listed on that file.
>> - search pipenv related files and install all packages listed on that
>> file.
>>
>> in short, have a requirements.txt file in your root directory
>>
>>
>>
>>
>>
>> Em qua, 26 de jun de 2019 às 16:07, Charlotte Wood <
>> charlotte.w...@epiccharterschools.org> escreveu:
>>
>>> ok, stupid question
>>>
>>> is there a heroku pip install?
>>>
>>> all of my dependencies are installed and listed on my requirements.txt
>>> file just like they're supposed to be.
>>>
>>> do i pip install somewhere OTHER than my folder in my virtual
>>> environment?
>>>
>>> i could be totally crazy, but i don't remember every using heroku pip
>>> install.
>>>
>>>
>>>
>>>
>>> Charlotte Wood, MEd
>>>
>>> Educator
>>>
>>> (405) 578-5701
>>>
>>> Zoom Meeting ID#: 4055785701
>>>
>>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>>
>>> Classroom Google Site:
>>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>>
>>> Epic Technical Support: (405) 652-0935
>>>
>>>
>>>
>>> Jordan McKesson Principal
>>>
>>> 405-749-4550 ext. 309
>>>
>>> jordan.mckes...@epiccharterschools.org
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>>
>>> On Wed, Jun 26, 2019 at 12:07 PM Sithembewena L. Dube 
>>> wrote:
>>>
 It sounds like the package django-filters is not installed on your
 Heroku environment.

 Do you have a dependency file suck as a Pipfile or requirements.txt? If
 you do, you will need to install all dependencies listed there on your
 Heroku server (at least those you need for production use).

 Kind regards,
 Lloyd


 *Sent with Shift
 *

 On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
 charlotte.w...@epiccharterschools.org> wrote:

> The only error I keep seeing is "No Module Found" for django-filters
>
> But, I don't understand why it runs perfectly on my local host, every
> single page, then heroku just hates django filters.  I was hoping someone
> else had the same issues and remembered.  But, I will follow up with the
> error logs in a sec.  Thanks ya'll!!
>
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
> 
> 
> 
> 
>
>
>
>
> On Wed, Jun 26, 2019 at 11:13 AM Sithembewena L. Dube <
> zebr...@gm

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Charlotte, is django-filters listed in your settings file on Heroku as
below?

INSTALLED_APPS = [
...
'django_filters',
]


Kind regards,
Lloyd


*Sent with Shift
*

On Wed, Jun 26, 2019 at 9:21 PM Charlotte Wood <
charlotte.w...@epiccharterschools.org> wrote:

> I have that.  That's not the problem.  My specific problem is
> django_filters.  My app worked totally fine until I added these filters.
> My questions was:  has anyone had trouble with django-filters and if so,
> how did you fix it?
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
>
>
> On Wed, Jun 26, 2019 at 2:17 PM Fabio C. Barrionuevo da Luz <
> bna...@gmail.com> wrote:
>
>> Heroku use a "buildpack"
>> https://devcenter.heroku.com/articles/buildpacks to do automate some
>> things in the deployment.
>> you can attach one or more buildpacks to your project in heroku
>> you can also create your own buildpack to customize it.
>>
>> specifically for Python, the heroku python buildpack (
>> https://github.com/heroku/heroku-buildpack-python) will:
>>
>> - search a "requirements.txt" file on root directory and install all
>> packages listed on that file.
>> - search pipenv related files and install all packages listed on that
>> file.
>>
>> in short, have a requirements.txt file in your root directory
>>
>>
>>
>>
>>
>> Em qua, 26 de jun de 2019 às 16:07, Charlotte Wood <
>> charlotte.w...@epiccharterschools.org> escreveu:
>>
>>> ok, stupid question
>>>
>>> is there a heroku pip install?
>>>
>>> all of my dependencies are installed and listed on my requirements.txt
>>> file just like they're supposed to be.
>>>
>>> do i pip install somewhere OTHER than my folder in my virtual
>>> environment?
>>>
>>> i could be totally crazy, but i don't remember every using heroku pip
>>> install.
>>>
>>>
>>>
>>>
>>> Charlotte Wood, MEd
>>>
>>> Educator
>>>
>>> (405) 578-5701
>>>
>>> Zoom Meeting ID#: 4055785701
>>>
>>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>>
>>> Classroom Google Site:
>>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>>
>>> Epic Technical Support: (405) 652-0935
>>>
>>>
>>>
>>> Jordan McKesson Principal
>>>
>>> 405-749-4550 ext. 309
>>>
>>> jordan.mckes...@epiccharterschools.org
>>>
>>> 
>>> 
>>> 
>>> 
>>>
>>>
>>>
>>>
>>> On Wed, Jun 26, 2019 at 12:07 PM Sithembewena L. Dube 
>>> wrote:
>>>
 It sounds like the package django-filters is not installed on your
 Heroku environment.

 Do you have a dependency file suck as a Pipfile or requirements.txt? If
 you do, you will need to install all dependencies listed there on your
 Heroku server (at least those you need for production use).

 Kind regards,
 Lloyd


 *Sent with Shift
 *

 On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
 charlotte.w...@epiccharterschools.org> wrote:

> The only error I keep seeing is "No Module Found" for django-filters
>
> But, I don't understand why it runs perfectly on my local host, every
> single page, then heroku just hates django filters.  I was hoping someone
> else had the same issues and remembered.  But, I will follow up with the
> error logs in a sec.  Thanks ya'll!!
>
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
> 
> 
> 
> 
>
>
>
>
> On W

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
As per: https://github.com/carltongibson/django-filter

Kind regards,
Lloyd


*Sent with Shift
*

On Wed, Jun 26, 2019 at 9:26 PM Fabio C. Barrionuevo da Luz <
bna...@gmail.com> wrote:

> make sure that you use the right package in your requirements.txt
>
> This is the package that everyone uses:
>
> django-filter
> https://pypi.org/project/django-filter/
>
> This is another package with a very similar name
>
> https://pypi.org/project/django-filters/
>
>
>
> Em qua, 26 de jun de 2019 às 16:21, Charlotte Wood <
> charlotte.w...@epiccharterschools.org> escreveu:
>
>> I have that.  That's not the problem.  My specific problem is
>> django_filters.  My app worked totally fine until I added these filters.
>> My questions was:  has anyone had trouble with django-filters and if so,
>> how did you fix it?
>>
>>
>> Charlotte Wood, MEd
>>
>> Educator
>>
>> (405) 578-5701
>>
>> Zoom Meeting ID#: 4055785701
>>
>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>
>> Classroom Google Site:
>> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>>
>> Epic Technical Support: (405) 652-0935
>>
>>
>>
>> Jordan McKesson Principal
>>
>> 405-749-4550 ext. 309
>>
>> jordan.mckes...@epiccharterschools.org
>>
>> 
>> 
>> 
>> 
>>
>>
>>
>>
>> On Wed, Jun 26, 2019 at 2:17 PM Fabio C. Barrionuevo da Luz <
>> bna...@gmail.com> wrote:
>>
>>> Heroku use a "buildpack"
>>> https://devcenter.heroku.com/articles/buildpacks to do automate some
>>> things in the deployment.
>>> you can attach one or more buildpacks to your project in heroku
>>> you can also create your own buildpack to customize it.
>>>
>>> specifically for Python, the heroku python buildpack (
>>> https://github.com/heroku/heroku-buildpack-python) will:
>>>
>>> - search a "requirements.txt" file on root directory and install all
>>> packages listed on that file.
>>> - search pipenv related files and install all packages listed on that
>>> file.
>>>
>>> in short, have a requirements.txt file in your root directory
>>>
>>>
>>>
>>>
>>>
>>> Em qua, 26 de jun de 2019 às 16:07, Charlotte Wood <
>>> charlotte.w...@epiccharterschools.org> escreveu:
>>>
 ok, stupid question

 is there a heroku pip install?

 all of my dependencies are installed and listed on my requirements.txt
 file just like they're supposed to be.

 do i pip install somewhere OTHER than my folder in my virtual
 environment?

 i could be totally crazy, but i don't remember every using heroku pip
 install.




 Charlotte Wood, MEd

 Educator

 (405) 578-5701

 Zoom Meeting ID#: 4055785701

 *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

 Classroom Google Site:
 https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

 Epic Technical Support: (405) 652-0935



 Jordan McKesson Principal

 405-749-4550 ext. 309

 jordan.mckes...@epiccharterschools.org

 
 
 
 




 On Wed, Jun 26, 2019 at 12:07 PM Sithembewena L. Dube <
 zebr...@gmail.com> wrote:

> It sounds like the package django-filters is not installed on your
> Heroku environment.
>
> Do you have a dependency file suck as a Pipfile or requirements.txt?
> If you do, you will need to install all dependencies listed there on your
> Heroku server (at least those you need for production use).
>
> Kind regards,
> Lloyd
>
>
> *Sent with Shift
> *
>
> On Wed, Jun 26, 2019 at 6:53 PM Charlotte Wood <
> charlotte.w...@epiccharterschools.org> wrote:
>
>> The only error I keep seeing is "No Module Found" for django-filters
>>
>> But, I don't understand why it runs perfectly on my local host, every
>> single page, then heroku just hates django filters.  I was hoping someone
>> else had the same issues and remembered.  But, I will follow up with the
>> error logs in a sec.  Thanks ya'll!!
>>
>>
>>
>> Charlotte Wood, MEd
>>
>> Educator
>>
>> (405) 578-5701
>>
>> Zoom Meeting ID#: 4055785701
>>
>> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>>
>> Classroom Google Site:
>> https://sites.google.com/e

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
Thanks everyoneso I've unistalled and reinstalled everything and same
errors.  I so much appreciate ANY help:

settings.py file reads like this:


import os
import django_heroku
from decouple import config
import dj_database_url

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

SECRET_KEY = config('SECRET_KEY')

DEBUG = True

ALLOWED_HOSTS = []

INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'maintenance',
]

MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'whitenoise.middleware.WhiteNoiseMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]

ROOT_URLCONF = 'freshstart.urls'

TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.DjangoTemplates',
'DIRS': [],
'APP_DIRS': True,
'OPTIONS': {
'context_processors': [
'django.template.context_processors.debug',
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]

WSGI_APPLICATION = 'freshstart.wsgi.application'

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2',
}
}

AUTH_PASSWORD_VALIDATORS = [
{
'NAME':
'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.MinimumLengthValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.CommonPasswordValidator',
},
{
'NAME':
'django.contrib.auth.password_validation.NumericPasswordValidator',
},
]


LANGUAGE_CODE = 'en-us'

TIME_ZONE = 'UTC'

USE_I18N = True

USE_L10N = True

USE_TZ = True


PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))

STATIC_URL = '/static/'

STATICFILES_DIRS = [
os.path.join(BASE_DIR, 'static')
]

STATICFILES_STORAGE =
'whitenoise.storage.CompressedManifestStaticFilesStorage'

django_heroku.settings(locals())




REQUIREMENTS.TXT FILE:

j-database-url==0.5.0
Django==2.2
django-filter==2.1.0
django-heroku==0.3.1
gunicorn==19.9.0
psycopg2==2.8.3
python-decouple==3.1
pytz==2019.1
sqlparse==0.3.0
whitenoise==4.1.2

I have a Procfile and a Pipfile.  The Procfile was put there using touch .
Procfile in Git Bash.

When I try to push to Heroku, now I get this error for django_heroku, but
you can see, it's plainly installed and imported at the top of my settings
file.

Should I complete uninstall and re-install Python?


Here is my error:

Enumerating objects: 80, done.
Counting objects: 100% (80/80), done.
Delta compression using up to 4 threads
Compressing objects: 100% (76/76), done.
Writing objects: 100% (80/80), 38.18 KiB | 566.00 KiB/s, done.
Total 80 (delta 16), reused 0 (delta 0)
remote: Compressing source files... done.
remote: Building source:
remote:
remote: -> Python app detected
remote: -> Installing python-3.7.3
remote: -> Installing pip
remote: -> Installing dependencies with Pipenv 2018.5.18…
remote:Installing dependencies from Pipfile.lock (7fdd58)…
remote: -> Installing SQLite3
remote: -> $ python manage.py collectstatic --noinput
remote:Traceback (most recent call last):
remote:  File
"/app/.heroku/python/lib/python3.7/site-packages/django/core/management/__init__.py",
line 204, in fetch_command
remote:app_name = commands[subcommand]
remote:KeyError: 'collectstatic'
remote:During handling of the above exception, another exception
occurred:
remote:Traceback (most recent call last):
remote:  File "manage.py", line 21, in 
remote:main()
remote:  File "manage.py", line 17, in main
remote:execute_from_command_line(sys.argv)
remote:  File
"/app/.heroku/python/lib/python3.7/site-packages/django/core/management/__init__.py",
line 381, in execute_from_command_line
remote:utility.execute()
remote:  File
"/app/.heroku/python/lib/python3.7/site-packages/django/core/management/__init__.py",
line 375, in execute
remote:settings.INSTALLED_APPS
remote:  File
"/app/.heroku/python/lib/python3.7/site-packages/django/conf/__init__.py",
line 79, in __getattr__
remote:self._setup(name)
remote:  File
"/app/.heroku/python/lib/python3.7/site-packages/django/conf/__init__.py",
line 66, in _setup
remote:

Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Charlotte, I am now typing from my phone (away from my desk) but if you
still need help after trying out my last recommendation, I would be happy
to look at it for you.


Kind regards,
Lloyd

On Wed, Jun 26, 2019, 17:59 Charlotte Wood <
charlotte.w...@epiccharterschools.org> wrote:

> I need help.
>
> I've followed the directions to a "T."
>
> 1.  My site works PERFECTLY on my local host in my virtual environment.
> NO errors, migrates fine, runs fine and looks beautiful.
>
> 2.  BEFORE I added Django-filters to my pages, it worked GREAT on Heroku.
>
> 3.  AS SOON as I put the DJango_filters in it, BOOM, Heroku won't run it.
> I can find literally no documentation except for the textbook info from
> DJango, which doesn't troubleshoot at all.
>
> Has anyone had this trouble already?
>
> I have to get this up and running!
>
> ANY suggestions would be helpful.  ANY.
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/CAPZR0N4O0MorKsihVqZzbNmsrkptZgo2tqy_NfGUi%2BnF0_mZ6A%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/CAH-SnCBRL%2BkH47GSq_vFQ9R5ZSs42Jb3kQjYT1C%3Dp0eNtiodEg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Heroku and DJango_Filters

2019-06-26 Thread Sithembewena L. Dube
Hi Charlotte,

I spotted the problem.

You need to add 'django-filters' to your settings.py file.

Like so:


INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'maintenance',
  'django-filters',
]

Then run python manage.py migrate (if the app needs a database schema, the
command will generate it.


Try this?


Kind regards,
Lloyd

On Thu, Jun 27, 2019, 00:58 Charlotte Wood <
charlotte.w...@epiccharterschools.org> wrote:

> Thanks everyoneso I've unistalled and reinstalled everything and same
> errors.  I so much appreciate ANY help:
>
> settings.py file reads like this:
>
>
> import os
> import django_heroku
> from decouple import config
> import dj_database_url
>
> BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
>
> SECRET_KEY = config('SECRET_KEY')
>
> DEBUG = True
>
> ALLOWED_HOSTS = []
>
> INSTALLED_APPS = [
> 'django.contrib.admin',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
> 'maintenance',
> ]
>
> MIDDLEWARE = [
> 'django.middleware.security.SecurityMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'whitenoise.middleware.WhiteNoiseMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.common.CommonMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware',
> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
> ]
>
> ROOT_URLCONF = 'freshstart.urls'
>
> TEMPLATES = [
> {
> 'BACKEND': 'django.template.backends.django.DjangoTemplates',
> 'DIRS': [],
> 'APP_DIRS': True,
> 'OPTIONS': {
> 'context_processors': [
> 'django.template.context_processors.debug',
> 'django.template.context_processors.request',
> 'django.contrib.auth.context_processors.auth',
> 'django.contrib.messages.context_processors.messages',
> ],
> },
> },
> ]
>
> WSGI_APPLICATION = 'freshstart.wsgi.application'
>
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.postgresql_psycopg2',
> }
> }
>
> AUTH_PASSWORD_VALIDATORS = [
> {
> 'NAME':
> 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
> },
> {
> 'NAME':
> 'django.contrib.auth.password_validation.MinimumLengthValidator',
> },
> {
> 'NAME':
> 'django.contrib.auth.password_validation.CommonPasswordValidator',
> },
> {
> 'NAME':
> 'django.contrib.auth.password_validation.NumericPasswordValidator',
> },
> ]
>
>
> LANGUAGE_CODE = 'en-us'
>
> TIME_ZONE = 'UTC'
>
> USE_I18N = True
>
> USE_L10N = True
>
> USE_TZ = True
>
>
> PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
>
> STATIC_URL = '/static/'
>
> STATICFILES_DIRS = [
> os.path.join(BASE_DIR, 'static')
> ]
>
> STATICFILES_STORAGE =
> 'whitenoise.storage.CompressedManifestStaticFilesStorage'
>
> django_heroku.settings(locals())
>
>
>
>
> REQUIREMENTS.TXT FILE:
>
> j-database-url==0.5.0
> Django==2.2
> django-filter==2.1.0
> django-heroku==0.3.1
> gunicorn==19.9.0
> psycopg2==2.8.3
> python-decouple==3.1
> pytz==2019.1
> sqlparse==0.3.0
> whitenoise==4.1.2
>
> I have a Procfile and a Pipfile.  The Procfile was put there using touch .
> Procfile in Git Bash.
>
> When I try to push to Heroku, now I get this error for django_heroku, but
> you can see, it's plainly installed and imported at the top of my settings
> file.
>
> Should I complete uninstall and re-install Python?
>
>
> Here is my error:
>
> Enumerating objects: 80, done.
> Counting objects: 100% (80/80), done.
> Delta compression using up to 4 threads
> Compressing objects: 100% (76/76), done.
> Writing objects: 100% (80/80), 38.18 KiB | 566.00 KiB/s, done.
> Total 80 (delta 16), reused 0 (delta 0)
> remote: Compressing source files... done.
> remote: Building source:
> remote:
> remote: -> Python app detected
> remote: -> Installing python-3.7.3
> remote: -> Installing pip
> remote: -> Installing dependencies with Pipenv 2018.5.18…
> remote:Installing dependencies from Pipfile.lock (7fdd58)…
> remote: -> Installing SQLite3
> remote: -> $ python manage.py collectstatic --noinput
> remote:Traceback (most recent call last):
> remote:  File
> "/app/.heroku/python/lib/python3.7/site-packages/django/core/management/__init__.py",
> line 204, in fetch_command
> remote:app_name = commands[subcommand]
> remote:KeyError: 'collectstatic'
> remote:During handling of the above exception, another exception
> occurred:
> remo

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
remote:  File
"/tmp/build_c255721dd1d2732fd6d23e4f7726e08a/freshstart/settings.py", line
6, in 
remote:import django_heroku
remote:ModuleNotFoundError: No module named 'django_heroku'


Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

*Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site:
https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckes...@epiccharterschools.org

 






On Wed, Jun 26, 2019 at 6:57 PM Charlotte Wood <
charlotte.w...@epiccharterschools.org> wrote:

> yes, but look at the error...now it isn't recognize the django-heroku app
> all of a sudden.  it's not yielding any error on django_filters.  you
> think my python is corrupt?
>
>
> Charlotte Wood, MEd
>
> Educator
>
> (405) 578-5701
>
> Zoom Meeting ID#: 4055785701
>
> *Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
>
> Classroom Google Site:
> https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home
>
> Epic Technical Support: (405) 652-0935
>
>
>
> Jordan McKesson Principal
>
> 405-749-4550 ext. 309
>
> jordan.mckes...@epiccharterschools.org
>
>  
> 
> 
>
>
>
>
> On Wed, Jun 26, 2019 at 6:09 PM Sithembewena L. Dube 
> wrote:
>
>> Hi Charlotte,
>>
>> I spotted the problem.
>>
>> You need to add 'django-filters' to your settings.py file.
>>
>> Like so:
>>
>>
>> INSTALLED_APPS = [
>> 'django.contrib.admin',
>> 'django.contrib.auth',
>> 'django.contrib.contenttypes',
>> 'django.contrib.sessions',
>> 'django.contrib.messages',
>> 'django.contrib.staticfiles',
>> 'maintenance',
>>   'django-filters',
>> ]
>>
>> Then run python manage.py migrate (if the app needs a database schema,
>> the command will generate it.
>>
>>
>> Try this?
>>
>>
>> Kind regards,
>> Lloyd
>>
>> On Thu, Jun 27, 2019, 00:58 Charlotte Wood <
>> charlotte.w...@epiccharterschools.org> wrote:
>>
>>> Thanks everyoneso I've unistalled and reinstalled everything and
>>> same errors.  I so much appreciate ANY help:
>>>
>>> settings.py file reads like this:
>>>
>>>
>>> import os
>>> import django_heroku
>>> from decouple import config
>>> import dj_database_url
>>>
>>> BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
>>>
>>> SECRET_KEY = config('SECRET_KEY')
>>>
>>> DEBUG = True
>>>
>>> ALLOWED_HOSTS = []
>>>
>>> INSTALLED_APPS = [
>>> 'django.contrib.admin',
>>> 'django.contrib.auth',
>>> 'django.contrib.contenttypes',
>>> 'django.contrib.sessions',
>>> 'django.contrib.messages',
>>> 'django.contrib.staticfiles',
>>> 'maintenance',
>>> ]
>>>
>>> MIDDLEWARE = [
>>> 'django.middleware.security.SecurityMiddleware',
>>> 'django.contrib.sessions.middleware.SessionMiddleware',
>>> 'whitenoise.middleware.WhiteNoiseMiddleware',
>>> 'django.contrib.sessions.middleware.SessionMiddleware',
>>> 'django.middleware.common.CommonMiddleware',
>>> 'django.middleware.csrf.CsrfViewMiddleware',
>>> 'django.contrib.auth.middleware.AuthenticationMiddleware',
>>> 'django.contrib.messages.middleware.MessageMiddleware',
>>> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
>>> ]
>>>
>>> ROOT_URLCONF = 'freshstart.urls'
>>>
>>> TEMPLATES = [
>>> {
>>> 'BACKEND': 'django.template.backends.django.DjangoTemplates',
>>> 'DIRS': [],
>>> 'APP_DIRS': True,
>>> 'OPTIONS': {
>>> 'context_processors': [
>>> 'django.template.context_processors.debug',
>>> 'django.template.context_processors.request',
>>> 'django.contrib.auth.context_processors.auth',
>>> 'django.contrib.messages.context_processors.messages',
>>> ],
>>> },
>>> },
>>> ]
>>>
>>> WSGI_APPLICATION = 'freshstart.wsgi.application'
>>>
>>> DATABASES = {
>>> 'default': {
>>> 'ENGINE': 'django.db.backends.postgresql_psycopg2',
>>> }
>>> }
>>>
>>> AUTH_PASSWORD_VALIDATORS = [
>>> {
>>> 'NAME':
>>> 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
>>> },
>>> {
>>> 'NAME':
>>> 'django.contrib.auth.password_validation.MinimumLengthValidator',
>>> },
>>> {
>>> 'NAME':
>>> 'django.contrib.auth.password_validation.CommonPasswordValidator',
>>> },
>>> {
>>> 'NAME':
>>> 'django.contrib.auth.password_validation.NumericPasswordValidator',
>>> },
>>> ]
>>>
>>>
>>> LANGUAGE_CODE = 'en-us'
>>>
>>> TIME_ZONE = 'UTC'
>>>
>>> USE_I18N = 

Re: Heroku and DJango_Filters

2019-06-26 Thread Charlotte Wood
yes, but look at the error...now it isn't recognize the django-heroku app
all of a sudden.  it's not yielding any error on django_filters.  you
think my python is corrupt?


Charlotte Wood, MEd

Educator

(405) 578-5701

Zoom Meeting ID#: 4055785701

*Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912

Classroom Google Site:
https://sites.google.com/epiccharterschools.org/charlottewoodclassroom/home

Epic Technical Support: (405) 652-0935



Jordan McKesson Principal

405-749-4550 ext. 309

jordan.mckes...@epiccharterschools.org

 






On Wed, Jun 26, 2019 at 6:09 PM Sithembewena L. Dube 
wrote:

> Hi Charlotte,
>
> I spotted the problem.
>
> You need to add 'django-filters' to your settings.py file.
>
> Like so:
>
>
> INSTALLED_APPS = [
> 'django.contrib.admin',
> 'django.contrib.auth',
> 'django.contrib.contenttypes',
> 'django.contrib.sessions',
> 'django.contrib.messages',
> 'django.contrib.staticfiles',
> 'maintenance',
>   'django-filters',
> ]
>
> Then run python manage.py migrate (if the app needs a database schema, the
> command will generate it.
>
>
> Try this?
>
>
> Kind regards,
> Lloyd
>
> On Thu, Jun 27, 2019, 00:58 Charlotte Wood <
> charlotte.w...@epiccharterschools.org> wrote:
>
>> Thanks everyoneso I've unistalled and reinstalled everything and same
>> errors.  I so much appreciate ANY help:
>>
>> settings.py file reads like this:
>>
>>
>> import os
>> import django_heroku
>> from decouple import config
>> import dj_database_url
>>
>> BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
>>
>> SECRET_KEY = config('SECRET_KEY')
>>
>> DEBUG = True
>>
>> ALLOWED_HOSTS = []
>>
>> INSTALLED_APPS = [
>> 'django.contrib.admin',
>> 'django.contrib.auth',
>> 'django.contrib.contenttypes',
>> 'django.contrib.sessions',
>> 'django.contrib.messages',
>> 'django.contrib.staticfiles',
>> 'maintenance',
>> ]
>>
>> MIDDLEWARE = [
>> 'django.middleware.security.SecurityMiddleware',
>> 'django.contrib.sessions.middleware.SessionMiddleware',
>> 'whitenoise.middleware.WhiteNoiseMiddleware',
>> 'django.contrib.sessions.middleware.SessionMiddleware',
>> 'django.middleware.common.CommonMiddleware',
>> 'django.middleware.csrf.CsrfViewMiddleware',
>> 'django.contrib.auth.middleware.AuthenticationMiddleware',
>> 'django.contrib.messages.middleware.MessageMiddleware',
>> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
>> ]
>>
>> ROOT_URLCONF = 'freshstart.urls'
>>
>> TEMPLATES = [
>> {
>> 'BACKEND': 'django.template.backends.django.DjangoTemplates',
>> 'DIRS': [],
>> 'APP_DIRS': True,
>> 'OPTIONS': {
>> 'context_processors': [
>> 'django.template.context_processors.debug',
>> 'django.template.context_processors.request',
>> 'django.contrib.auth.context_processors.auth',
>> 'django.contrib.messages.context_processors.messages',
>> ],
>> },
>> },
>> ]
>>
>> WSGI_APPLICATION = 'freshstart.wsgi.application'
>>
>> DATABASES = {
>> 'default': {
>> 'ENGINE': 'django.db.backends.postgresql_psycopg2',
>> }
>> }
>>
>> AUTH_PASSWORD_VALIDATORS = [
>> {
>> 'NAME':
>> 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
>> },
>> {
>> 'NAME':
>> 'django.contrib.auth.password_validation.MinimumLengthValidator',
>> },
>> {
>> 'NAME':
>> 'django.contrib.auth.password_validation.CommonPasswordValidator',
>> },
>> {
>> 'NAME':
>> 'django.contrib.auth.password_validation.NumericPasswordValidator',
>> },
>> ]
>>
>>
>> LANGUAGE_CODE = 'en-us'
>>
>> TIME_ZONE = 'UTC'
>>
>> USE_I18N = True
>>
>> USE_L10N = True
>>
>> USE_TZ = True
>>
>>
>> PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
>>
>> STATIC_URL = '/static/'
>>
>> STATICFILES_DIRS = [
>> os.path.join(BASE_DIR, 'static')
>> ]
>>
>> STATICFILES_STORAGE =
>> 'whitenoise.storage.CompressedManifestStaticFilesStorage'
>>
>> django_heroku.settings(locals())
>>
>>
>>
>>
>> REQUIREMENTS.TXT FILE:
>>
>> j-database-url==0.5.0
>> Django==2.2
>> django-filter==2.1.0
>> django-heroku==0.3.1
>> gunicorn==19.9.0
>> psycopg2==2.8.3
>> python-decouple==3.1
>> pytz==2019.1
>> sqlparse==0.3.0
>> whitenoise==4.1.2
>>
>> I have a Procfile and a Pipfile.  The Procfile was put there using touch
>> . Procfile in Git Bash.
>>
>> When I try to push to Heroku, now I get this error for django_heroku, but
>> you can see, it's plainly installed and imported at the top of my settings
>> file.
>>
>> Should I complete uninstall and re-install Python?
>>
>>
>> Here is my error:
>>
>> Enumerating objects: 80, done.
>> Counting objects: 100% (80/80), done.
>> Delta com

Re:

2019-06-26 Thread Abishek Goda
It depends. I think it makes sense if you are considering multiple frontends as 
in an API driven application. Consider having a bunch of native apps (one for 
each platform) and a web app. In this case, you will end up maintaining two 
views for each action  - one to display the HTML and another to return API data 
for the app. In this case, a front end over angular could make more sense.

Abishek
On 26 Jun 2019, 4:18 PM +0800, Pradeep Singh , wrote:
> Does it make sense to create an application with Django as the backend and 
> Angular as the front end? I understand entire websites can be built from 
> Django, so how would Angular, as a front end framework, work with Django? 
> What would be the benefit of adding Angular, or is it an unnecessary 
> complexity even for large websites?
> --
> You received this message because you are subscribed to the Google Groups 
> "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/CANwgZcYYsxyqQugJddtTv_2M_aLvq3PeQ%2BREEYTR%2BBX4SQX-Pg%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/4313f459-52cd-4b28-9992-fa0d0e42779d%40Spark.
For more options, visit https://groups.google.com/d/optout.


Re: Get Value of Drop Down

2019-06-26 Thread Sipum Mishra
Hello csn u plz share ur codes as well as errors.

On Thu, 27 Jun, 2019, 12:09 AM Aayush Bhattarai, <
bhattaraiaayus...@gmail.com> wrote:

> Hi,
> I have encountered a problem. How can I get the value of dropdown,
> Boolean Field and send it to the database. Note: I am not using forms.py
> files and using a function-based view. I have created own form in HTML.
> I am not able to match the value of database and value in html dropdown.
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/dcde52cb-b6c6-4271-8d0a-8931fcbbf547%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/CAGHZBzzozhAP-_XUVOp9hW%3DSbTbgrtNR_mS-em0%3D96ksomQboQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Polls app not showing?

2019-06-26 Thread ScottW
Hi, 

I'm attempting to get started with Django and very first part of the polls 
app. When I type "python manage.py startapp polls"  into the Windows 
Powershell I don't see a folder for it in my file explorer under "mysite". 
Even stranger is that when I type 'tree' for this folder it shows that its 
on the computer, but there's nothing in it besides 'migrations' and 
'_pycache_ '. Please refer to the screenshot attached for a picture of the 
Powershell code. If someone could help steer me in the right direction that 
would be great! 

-- 
You received this message because you are subscribed to the Google Groups 
"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/8b63e259-40fa-4f96-b641-821218626be8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Using OAuth2 with Django

2019-06-26 Thread Derek Dong
So I've been trying to learn how to authenticate users in my Django 
application with OAuth.
The token provider has already been established, and the provided 
documentation is here: 
https://ion.readthedocs.io/en/latest/developing/oauth.html
However, once I've followed the instructions in the "Python" part I got 
confused. I successfully logged in using my Ion account, but when I went to 
the admin page (localhost:8000/admin)
I got __init__() missing 1 required positional argument: 'strategy'

views.py:

def login(request):
oauth = OAuth2Session("SsRYDH1iY6jqLO6rSVnF3A1NtYz4Y3fiO9qUMNAX", 
redirect_uri="http://127.0.0.1:8000/callback",scope=["read";, "write"])
authorization_url, state = 
oauth.authorization_url("https://ion.tjhsst.edu/oauth/authorize/";)
return redirect(authorization_url)

def callback(request):
oauth = OAuth2Session("SsRYDH1iY6jqLO6rSVnF3A1NtYz4Y3fiO9qUMNAX", 
redirect_uri="http://127.0.0.1:8000/callback";, scope=["read", "write"])
code = request.GET.get('code', None)
token = oauth.fetch_token("https://ion.tjhsst.edu/oauth/token/";, code=code, 
client_secret="H78F4vUYd1uTtRSQcCWm0IrSesEhRAXNNh2JRe8KG0LyaJAPY2cPFhIQtKfzqKtMNk6vQxbuOAW2WfedjyNdJ4TLobwKh3NLfe2Am9NNL95T28XTPZWItLqRLKnJOdDu")
return render(request, 'index.html')


urls.py:

path(r'oauth/', views.login, name='login'),
path(r'callback/', views.callback, name='callback'),


settings.py:

INSTALLED_APPS = (

...
'users.apps.UsersConfig',
'ion_oauth',
)


How am I supposed to do this? I had already implemented an internal 
login/logout system through Django's forms, but I want to authenticate it 
through the provided servers. Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To 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/7022da04-ff84-400b-8e24-78327417d4f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Look forward to taking part in open source projects

2019-06-26 Thread wanbao jin
Hello, everyone.
I am a python developer and not doing python related works for 2 months.
I'd like to join open source projects and sharpen my python skills.
Look forward to hearing from you.
Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To 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/c7958f6f-f888-4b90-baf7-18b7f83a0b2f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Look forward to taking part in open source projects

2019-06-26 Thread Lutalo Bbosa joseph
for opensource contributions visit www.codetriage.com it has many open
source issues that need contributors

On Thu, Jun 27, 2019 at 6:55 AM wanbao jin  wrote:

> Hello, everyone.
> I am a python developer and not doing python related works for 2 months.
> I'd like to join open source projects and sharpen my python skills.
> Look forward to hearing from you.
> Thanks in advance.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To 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/c7958f6f-f888-4b90-baf7-18b7f83a0b2f%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/CAMz%3Dh%3DQszXQMqWe2DHQUbq4vpmGF%3DYiHpsYjKrGQQqnjW%2BUGjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Polls app not showing?

2019-06-26 Thread ojakol emma
first go to installed apps in settings  then you install that app "POLLS"

On Thu, Jun 27, 2019 at 5:33 AM ScottW  wrote:

> Hi,
>
> I'm attempting to get started with Django and very first part of the polls
> app. When I type "python manage.py startapp polls"  into the Windows
> Powershell I don't see a folder for it in my file explorer under "mysite".
> Even stranger is that when I type 'tree' for this folder it shows that its
> on the computer, but there's nothing in it besides 'migrations' and
> '_pycache_ '. Please refer to the screenshot attached for a picture of the
> Powershell code. If someone could help steer me in the right direction that
> would be great!
>
> --
> You received this message because you are subscribed to the Google Groups
> "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/8b63e259-40fa-4f96-b641-821218626be8%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/CAKVKrTyxyyvgY9033YE0JZX4RyEtBbF_T3iR1QVKLBhFmRQUTQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.