Saving data from query to another table

2019-12-02 Thread Irfan Khan
Hi all,

Requirement : I have two tables. In first table I have some data which is
already stored. And now I have created one form for search data from that
existing data table, when result found   I wanted to store that data to
another table, can any one pls guide my easy way to overcome.
Thank you in advance

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


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

2019-12-02 Thread Debabrata Chakraborty
Many thanks Bill,

I am starting to see the bigger picture now. My site is just a basic blog
for a non-profit. It's gonna be low traffic with no payment method
attached. I checked out AWS and it's a bit overwhelming for a beginner like
me. Guess I'll do a test run with Heroku's free account to get a feel of
the process.

Anyway, thanks again for all the efforts man!

Cheers!

Deb

On Mon, Dec 2, 2019 at 8:41 PM Bill Freeman  wrote:

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

Re: How can I host my application in web hosting?

2019-12-02 Thread Debabrata Chakraborty
Thanks for all the help guys. That was kind of you.

Cheers!

Deb

On Tue, Dec 3, 2019 at 3:19 AM RLM  wrote:

> Apologies for triple post, dont know why it happened.
> Roger
> On 2/12/19 9:09 am, RLM wrote:
>
> Hello.
> AWS has no limitations.
> Simply start an instance running ubuntu, windows, or what ever, just like
> you have for development,  install dependencies and updates and you should
> be good to go. Read the Docs first, it's not click and go like some other
> providers.
> With AWS you are totally responsible for security and everything else, and
> can lock it down so that your server is virtually hidden from the web. It's
> just like you are running a home dev machine, it's brilliant for our
> purposes. And for us, it's not expensive.
>
> On AWS we are currently running several Hugo static sites, a ubuntu server
> with python3.8, we've got django on it but not used since we moved to Hugo.
>
> HTH
> Roger
> On 1/12/19 5:00 pm, Jorge Gimeno wrote:
>
> Deb,
>
> Digital Ocean will allow you to run what you can install.  If you can get
> it on the server, you can use it.
>
> Heroku and Python Anywhere do have specific services that are available.
> You can check out their documentation to see what they are.
>
> I don't know much about AWS, so that I will not be able to answer.
>
> Hope it helps!
>
> -Jorge
>
> On Sat, Nov 30, 2019 at 6:01 AM Debabrata Chakraborty <
> debobroto.c...@gmail.com> wrote:
>
>> Hi everyone,
>>
>> I'm a beginner Django developer. So my apologies in advance for newbie
>> like questions.
>>
>> I am building my site with *" *Django version 2.2.5 *"* and *" *SQLite
>> 3.30 *" *in back-end. My question is -
>>
>> *#* Do services like "Heroku", "Digital Ocean", "Python Anywhere" and
>> "AWS" - have limitation on *which version of Django*  or *which DBMS* I
>> can use?
>>
>> I've seen this before with PHP/MySQL hosting where some hosting companies
>> will limit which version of PHP or MySQL one can use. Is the same
>> applicable to Django hosting in the above mentioned hosting platforms as
>> well?
>>
>> I will very much grateful if you can help me out with this confusion.
>>
>> Best
>>
>> Deb
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/a6ccc082-ae9d-4f67-8038-9db16008b956%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANfN%3DK9JwU8_NbuTUwhuO7YB_WiUKthkNNSwhO0OPE49pgd8tA%40mail.gmail.com
> 
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6865a441-dc8f-a1ec-49e2-a123bb1f9b47%40gmail.com
> 
> .
>

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


Re: Link a .css to a Html template

2019-12-02 Thread Integr@te System
Hi Leo,

Plz look at err/change log in developer tools to inspect whats up, after
you adjust files.



On Tue, Dec 3, 2019, 06:20 Gerardo Palazuelos Guerrero <
gerardo.palazue...@gmail.com> wrote:

> Hi,
> You better share your repo, my guess is you are not sharing all details...
>
> On my case I integrated a template with a Django project as a practice (
> my repo: https://github.com/gpalazuelosg/django-adminlte ), the important
> bits:
>
> #1: settings.py has at the end two entries:
> STATIC_URL = '/static/'
> STATICFILES_DIRS = (os.path.join(BASE_DIR,'static'),)
>
> #2: I have an "static" folder at the same level as manage.py, which has
> another folder called "base" inside
>
> #3: inside the /static/base folder, I have the following folders
> containing pertinent files as you might imagine:
> css
> js
> img
> plugins
>
> #4: On my layout.html file, I use the following:
> {% load static %}
> ...
> 
>
>
> This is how it looks:
>
>
>
> I hopes that helps.
>
> --
> Gerardo Palazuelos Guerrero
>
>
>
> On Mon, Dec 2, 2019 at 3:09 PM Leó Horváth 
> wrote:
>
>> hi,
>> I did what Kevin requested, now console says "GET /pages/ HTTP/1.1" 200
>> 536 and the style still doesn't work.
>> Any ideas?
>> Thanks,
>> Leó
>>
>> Kevin Dublin  ezt írta (időpont: 2019. dec. 2., H,
>> 21:41):
>>
>>> Hi Leo,
>>>
>>> Make sure that you point to the exact directory where the CSS file is
>>> located. If it's in static/pages/frame.css, then point to {% static
>>> "pages/frame.css" %}
>>>
>>> Cheers,
>>>
>>> Kevin
>>>
>>> On Mon, Dec 2, 2019, 11:15 AM Leó Horváth 
>>> wrote:
>>>
 hi! i still cant make it work. this is my html snippet and the .css is
 located at static/pages/frame.css.
 when i run the server the browser displays the hard coded html but not
 the style. console says "GET /static/frame.css HTTP/1.1" 404 1651
 

 {% load static %}

 
 
 
 {% block css %}
 
 {% endblock %}

 ‪‫אורי‬‎  ezt írta (időpont: 2019. dec. 2., H, 3:33):‬

> Hi,
>
> Look at these templates for example:
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/core/templates/base.html#L12-L27
>
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/base_site.html#L7-L13
>
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/accounts/edit_profile/activate.html#L13-L18
>
>
> אורי
> u...@speedy.net
>
>
> On Mon, Dec 2, 2019 at 3:26 AM Leó Horváth 
> wrote:
>
>> Hi guys, I am experiencing an error while trying to Link a .css file
>> to a Html template of one of my Views. What is the correct way to do it?
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/b37e10ec-3b9d-4178-8757-1d0277f6cd15%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABD5YeHFgym3pJ4Q5_gE3ATWJiVJ9KDnoBCN8UqM0%2BhWPxXpbg%40mail.gmail.com
> 
> .
>
 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CAJBcW0w3qc8OcDgCJAFKrr881%2B2wyAyY3ENH6%3D2bi%2Bn%2BFALBDA%40mail.gmail.com
 
 .

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

Re: pip install Django==3.0

2019-12-02 Thread אורי
On Mon, Dec 2, 2019 at 9:24 PM Simon Charette  wrote:

> Dear Uri,
>
> > When I use pip to install a package, does it depend on the version of
> Python I'm using?
>
> Yes, it does.
>
> > I noticed that Django 3.0 doesn't support Python 3.5. But why does pip
> fail?
>
> Pip will respect the supported version metadata of the package. There's no
> package available for the Django
> and Python version constraints you provided.
>
> Instead of getting a non-nonsensical SyntaxError crash when trying to run
> Django on Python 3.5 pip prevents
> you from shooting yourself in the foot in the first place.
>
> Simon
>

Thank you. I didn't know that pip is that "smart" to check the version of
Python I'm using. Good to know.

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


Re: pip install Django==3.0

2019-12-02 Thread Abu Yusuf
[image: django-3.png]
*They clearly mentioned here.*

[image: photo]
Abu Yusuf
Jr. Software Engineer at  Binate Solutions Ltd.
A  Dhaka, Bangladesh
M  01828689381  <01828689381>
E  revelyusuf...@gmail.com  
W  https://yusuff.dev  
Linkedin https://www.linkedin.com/in/yusuf-dev/
live:9151cfda40e05eef <#SignatureSanitizer_SafeHtmlFilter_>

Create your own email signature



‪On Mon, Dec 2, 2019 at 10:05 PM ‫אורי‬‎  wrote:‬

> Django users,
>
> When I use pip to install a package, does it depend on the version of
> Python I'm using?
>
> pip install Django==3.0 fails with Python 3.5:
> https://travis-ci.org/speedy-net/speedy-net/builds/619671495
>
> But it succeeds with Python 3.6 and 3.7. I noticed that Django 3.0 doesn't
> support Python 3.5. But why does pip fail?
>
> אורי
> u...@speedy.net
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABD5YeG8ezgQpM7uHmVGsKMrQnw5OArZTf%3DHYTkar7s4QdHt2Q%40mail.gmail.com
> 
> .
>

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


ModelChoiceField get selected value

2019-12-02 Thread sum abiut
How do I get the value of a selected model choice field? I have a model
that has a field 'user' as a foreignKey and I am trying to figure out how
to get the value of a user that was selected.
I have a form that looks like below,
[image: image.png]

class update_entitlement_form(forms.ModelForm):
class Meta:
model = month_and_year
fields = ['user', 'Month', 'Year']

class month_and_year(models.Model):
user = models.ForeignKey(User, default='', on_delete=models.CASCADE)
Month = models.CharField(max_length=100, default="", null=True)
Year = models.CharField(max_length=100, default='')

def __str__(self):
return self.user.first_name

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


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

2019-12-02 Thread Mike Dewhirst

On 3/12/2019 2:10 am, Bill Freeman wrote:
You don't want sensitive customer financial (or medical) records on 
your site.  (You would need full time security staff, and probably 
private physical servers to do that safely.)


That is a very good point. All the major CPU manufacturers use 
multi-core technology and speculative execution nowadays and that is the 
gift that just keeps on giving. Spectre and Meltdown and more recently 
Zombieload make shared clouds insecure. Until CPUs can manage shared 
access to on-chip cache there is no end to this.




If you have a very high traffic site, then most providers, including 
Linode and certainly AWS, can offer geographic diversity of server 
location, which helps with responsiveness, and the ability to continue 
to conduct business if a natural disaster takes one of the provider's 
server farms off line for a while.


I have a possibly interesting experience here. One of my production 
servers is hosted on Digital Ocean in their Singapore data centre. The 
staging server is in Australia. Both run identical software. Part of it 
fetches chemical data from public databases all around the world. From 
Australia it works well. From Singapore, data from the European 
Chemicals Agency (ECHA) and eChemPortal (OECD) cannot be retrieved.


I haven't worked out how to diagnose this yet. I'm just figuring out how 
to document it for my users in a way which doesn't make me look foolish. 
Also, I'm aware of the self-healing properties of the internet so I'm 
not in too much of a hurry to jump up and down. But I'm glad of an 
opportunity to vent about it here.


Cheers

Mike




--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/aa4e6060-d1dc-3153-2efd-59816a4c4cd1%40dewhirst.com.au.


Re: Link a .css to a Html template

2019-12-02 Thread Gerardo Palazuelos Guerrero
Hi,
You better share your repo, my guess is you are not sharing all details...

On my case I integrated a template with a Django project as a practice ( my
repo: https://github.com/gpalazuelosg/django-adminlte ), the important bits:

#1: settings.py has at the end two entries:
STATIC_URL = '/static/'
STATICFILES_DIRS = (os.path.join(BASE_DIR,'static'),)

#2: I have an "static" folder at the same level as manage.py, which has
another folder called "base" inside

#3: inside the /static/base folder, I have the following folders containing
pertinent files as you might imagine:
css
js
img
plugins

#4: On my layout.html file, I use the following:
{% load static %}
...



This is how it looks:



I hopes that helps.

--
Gerardo Palazuelos Guerrero



On Mon, Dec 2, 2019 at 3:09 PM Leó Horváth 
wrote:

> hi,
> I did what Kevin requested, now console says "GET /pages/ HTTP/1.1" 200
> 536 and the style still doesn't work.
> Any ideas?
> Thanks,
> Leó
>
> Kevin Dublin  ezt írta (időpont: 2019. dec. 2., H,
> 21:41):
>
>> Hi Leo,
>>
>> Make sure that you point to the exact directory where the CSS file is
>> located. If it's in static/pages/frame.css, then point to {% static
>> "pages/frame.css" %}
>>
>> Cheers,
>>
>> Kevin
>>
>> On Mon, Dec 2, 2019, 11:15 AM Leó Horváth 
>> wrote:
>>
>>> hi! i still cant make it work. this is my html snippet and the .css is
>>> located at static/pages/frame.css.
>>> when i run the server the browser displays the hard coded html but not
>>> the style. console says "GET /static/frame.css HTTP/1.1" 404 1651
>>> 
>>>
>>> {% load static %}
>>>
>>> 
>>> 
>>> 
>>> {% block css %}
>>> 
>>> {% endblock %}
>>>
>>> ‪‫אורי‬‎  ezt írta (időpont: 2019. dec. 2., H, 3:33):‬
>>>
 Hi,

 Look at these templates for example:

 https://github.com/speedy-net/speedy-net/blob/master/speedy/core/templates/base.html#L12-L27


 https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/base_site.html#L7-L13


 https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/accounts/edit_profile/activate.html#L13-L18


 אורי
 u...@speedy.net


 On Mon, Dec 2, 2019 at 3:26 AM Leó Horváth 
 wrote:

> Hi guys, I am experiencing an error while trying to Link a .css file
> to a Html template of one of my Views. What is the correct way to do it?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b37e10ec-3b9d-4178-8757-1d0277f6cd15%40googlegroups.com
> 
> .
>
 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CABD5YeHFgym3pJ4Q5_gE3ATWJiVJ9KDnoBCN8UqM0%2BhWPxXpbg%40mail.gmail.com
 
 .

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

Re: Link a .css to a Html template

2019-12-02 Thread Suraj Thapa FC
Remove cache and try again

On Tue, 3 Dec 2019, 3:39 am Leó Horváth,  wrote:

> hi,
> I did what Kevin requested, now console says "GET /pages/ HTTP/1.1" 200
> 536 and the style still doesn't work.
> Any ideas?
> Thanks,
> Leó
>
> Kevin Dublin  ezt írta (időpont: 2019. dec. 2., H,
> 21:41):
>
>> Hi Leo,
>>
>> Make sure that you point to the exact directory where the CSS file is
>> located. If it's in static/pages/frame.css, then point to {% static
>> "pages/frame.css" %}
>>
>> Cheers,
>>
>> Kevin
>>
>> On Mon, Dec 2, 2019, 11:15 AM Leó Horváth 
>> wrote:
>>
>>> hi! i still cant make it work. this is my html snippet and the .css is
>>> located at static/pages/frame.css.
>>> when i run the server the browser displays the hard coded html but not
>>> the style. console says "GET /static/frame.css HTTP/1.1" 404 1651
>>> 
>>>
>>> {% load static %}
>>>
>>> 
>>> 
>>> 
>>> {% block css %}
>>> 
>>> {% endblock %}
>>>
>>> ‪‫אורי‬‎  ezt írta (időpont: 2019. dec. 2., H, 3:33):‬
>>>
 Hi,

 Look at these templates for example:

 https://github.com/speedy-net/speedy-net/blob/master/speedy/core/templates/base.html#L12-L27


 https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/base_site.html#L7-L13


 https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/accounts/edit_profile/activate.html#L13-L18


 אורי
 u...@speedy.net


 On Mon, Dec 2, 2019 at 3:26 AM Leó Horváth 
 wrote:

> Hi guys, I am experiencing an error while trying to Link a .css file
> to a Html template of one of my Views. What is the correct way to do it?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/b37e10ec-3b9d-4178-8757-1d0277f6cd15%40googlegroups.com
> 
> .
>
 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to django-users+unsubscr...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/CABD5YeHFgym3pJ4Q5_gE3ATWJiVJ9KDnoBCN8UqM0%2BhWPxXpbg%40mail.gmail.com
 
 .

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CAJBcW0w3qc8OcDgCJAFKrr881%2B2wyAyY3ENH6%3D2bi%2Bn%2BFALBDA%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CANips4LSgRBQ1QAg7gDgq70r--d4zDvQc%3DnfoiwcyomLEJaj%3Dg%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJBcW0yX5x6ri3bbRUv9TFDPBqDda9dRP0kBYrQ0qXAh_Ds0_g%40mail.gmail.com
> 
> .
>

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


Re: Link a .css to a Html template

2019-12-02 Thread Leó Horváth
hi,
I did what Kevin requested, now console says "GET /pages/ HTTP/1.1" 200 536
and the style still doesn't work.
Any ideas?
Thanks,
Leó

Kevin Dublin  ezt írta (időpont: 2019. dec. 2., H,
21:41):

> Hi Leo,
>
> Make sure that you point to the exact directory where the CSS file is
> located. If it's in static/pages/frame.css, then point to {% static
> "pages/frame.css" %}
>
> Cheers,
>
> Kevin
>
> On Mon, Dec 2, 2019, 11:15 AM Leó Horváth 
> wrote:
>
>> hi! i still cant make it work. this is my html snippet and the .css is
>> located at static/pages/frame.css.
>> when i run the server the browser displays the hard coded html but not
>> the style. console says "GET /static/frame.css HTTP/1.1" 404 1651
>> 
>>
>> {% load static %}
>>
>> 
>> 
>> 
>> {% block css %}
>> 
>> {% endblock %}
>>
>> ‪‫אורי‬‎  ezt írta (időpont: 2019. dec. 2., H, 3:33):‬
>>
>>> Hi,
>>>
>>> Look at these templates for example:
>>>
>>> https://github.com/speedy-net/speedy-net/blob/master/speedy/core/templates/base.html#L12-L27
>>>
>>>
>>> https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/base_site.html#L7-L13
>>>
>>>
>>> https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/accounts/edit_profile/activate.html#L13-L18
>>>
>>>
>>> אורי
>>> u...@speedy.net
>>>
>>>
>>> On Mon, Dec 2, 2019 at 3:26 AM Leó Horváth 
>>> wrote:
>>>
 Hi guys, I am experiencing an error while trying to Link a .css file to
 a Html template of one of my Views. What is the correct way to do it?

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

>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/CABD5YeHFgym3pJ4Q5_gE3ATWJiVJ9KDnoBCN8UqM0%2BhWPxXpbg%40mail.gmail.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAJBcW0w3qc8OcDgCJAFKrr881%2B2wyAyY3ENH6%3D2bi%2Bn%2BFALBDA%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CANips4LSgRBQ1QAg7gDgq70r--d4zDvQc%3DnfoiwcyomLEJaj%3Dg%40mail.gmail.com
> 
> .
>

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


Re: How can I host my application in web hosting?

2019-12-02 Thread SOFI BILAL
i also don't know!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/94a91495-e7fb-4e2c-996d-49d20a5f21e7%40googlegroups.com.


Re: How can I host my application in web hosting?

2019-12-02 Thread RLM

Apologies for triple post, dont know why it happened.
Roger

On 2/12/19 9:09 am, RLM wrote:


Hello.
AWS has no limitations.
Simply start an instance running ubuntu, windows, or what ever, just 
like you have for development,  install dependencies and updates and 
you should be good to go. Read the Docs first, it's not click and go 
like some other providers.
With AWS you are totally responsible for security and everything else, 
and can lock it down so that your server is virtually hidden from the 
web. It's just like you are running a home dev machine, it's brilliant 
for our purposes. And for us, it's not expensive.


On AWS we are currently running several Hugo static sites, a ubuntu 
server with python3.8, we've got django on it but not used since we 
moved to Hugo.


HTH
Roger

On 1/12/19 5:00 pm, Jorge Gimeno wrote:

Deb,

Digital Ocean will allow you to run what you can install.  If you can 
get it on the server, you can use it.


Heroku and Python Anywhere do have specific services that are 
available.  You can check out their documentation to see what they are.


I don't know much about AWS, so that I will not be able to answer.

Hope it helps!

-Jorge

On Sat, Nov 30, 2019 at 6:01 AM Debabrata Chakraborty 
mailto:debobroto.c...@gmail.com>> wrote:


Hi everyone,

I'm a beginner Django developer. So my apologies in advance for
newbie like questions.

I am building my site with *" *Django version 2.2.5 *"* and *"
*SQLite 3.30 *" *in back-end. My question is -

*#* Do services like "Heroku", "Digital Ocean", "Python Anywhere"
and "AWS" - have limitation on _which version of Django_  or
_which DBMS_ I can use?

I've seen this before with PHP/MySQL hosting where some hosting
companies will limit which version of PHP or MySQL one can use.
Is the same applicable to Django hosting in the above mentioned
hosting platforms as well?

I will very much grateful if you can help me out with this
confusion.

Best

Deb
-- 
You received this message because you are subscribed to the

Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it,
send an email to django-users+unsubscr...@googlegroups.com
.
To view this discussion on the web visit

https://groups.google.com/d/msgid/django-users/a6ccc082-ae9d-4f67-8038-9db16008b956%40googlegroups.com

.

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


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


Re: Link a .css to a Html template

2019-12-02 Thread Kevin Dublin
Hi Leo,

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

Cheers,

Kevin

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

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

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


Re: Django 3.0 Released.

2019-12-02 Thread o1bigtenor
On Mon, Dec 2, 2019 at 6:18 AM Carlton Gibson  wrote:
>
> Django 3.0 is now available.
>
> https://www.djangoproject.com/weblog/2019/dec/02/django-3-released/
>
> With the release of Django 3.0, Django 2.2 has reached the end of
> mainstream support. The final minor bug fix release (which is also a
> security release), 2.2.8, was issued today. Django 2.2 is an LTS release and
> will receive security and data loss fixes until April 2022. All users are
> encouraged to upgrade before then to continue receiving fixes for
> security issues.
>
> See the downloads page [1] for a table of supported versions and the
> future release schedule.
>
> [1] https://www.djangoproject.com/download/#supported-versions
>
Greetings

Thank you - - - -interesting news!

I'm a little confused though - - - - I have, at least in many things
so far that I've used,
software I mean, tended to move from one long term service version to the next.
Yet - - - Django is different - - - - it is suggested that I leave a
long term version
for a short term version, which will itself be followed by a short
term version, and then
after another period of time there will be a long term service
version. Shortly after
that long term service version has been reached, if the pattern used
for the transition
from version 2 to 3, version 4 will be offered.

So - - - - what gives the best long term stability of function for use
of Django?

1. forget long term service versions and expect to revise you code
every 6 to 8 months
2. use LTS code but using it until the release of the next major
version means that
  interesting advancements again mean a relentless pattern of revision
3. don't worry about LTS and write the code and get the application to
work well and
 hope that I can hold things working without major security issues
until its worth
 redoing the application.

I'm starting to think that option #3 is looking more attractive.

Regards

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


Re: orm relation

2019-12-02 Thread Integr@te System
Hi friend,

All_list = list(users.object.aggregate(age =
cast(extractyear(datetime.now()) - extractyear(dat_nais), output_field =
IntField())).filter(extractyear(dat_enc) - extractyear(annee)__gt = 3
& extractyear(datetime.now())
- extractyear(dat_nais)__IN=range(54,70) & cod_nad__contain =
'CN').order_by('num___annee',
'prn'))


Plz add more alias field as your sql command according to a sample above.

Ps: check your question first(sql), then pass to communities.



On Mon, Dec 2, 2019, 21:16 bill dexter <55dexte...@gmail.com> wrote:

> thank you, but if you can give me answer to this  exacte probleme, as
> mentioned in question
>
> Le dim. 1 déc. 2019 à 18:55, Integr@te System 
> a écrit :
>
>> Hi,
>>
>> here u can try for complex queryset
>>
>>
>>
>> https://docs.djangoproject.com/en/2.2/topics/db/queries/#complex-lookups-with-q
>>
>> On Sun, Dec 1, 2019, 21:08 bill dexter <55dexte...@gmail.com> wrote:
>>
>>> ELECT a.matr
>>>   ,[nom]
>>>   ,[prn]
>>>   ,cast([dat_nais] as date) as dat_nais
>>>   , (YEAR(getdate()) - YEAR(dat_nais)) as age
>>>   ,cast([dat_deces] as date) as dat_deces
>>>   ,cast([dat_imm] as date) as dat_imm
>>>   ,cast([dat_aj] as date) as dat_j
>>>   ,[cod_position]
>>>   ,YEAR(dat_imm) as anne_imm
>>>   ,YEAR(dat_encais) as ann_regl
>>>   ,[annee]
>>>   ,[cod_nat]
>>>   ,cast([dat_e
>>>
>>> Snc] as date) as dat_regl
>>>   ,[mt_encais]
>>>   FROM users a
>>> left join enca e on e.matr = a.matr
>>> left join encr c on (c.cod_encais = e.cod_encais)
>>>   where (YEAR(c.dat_enc) - c.annee > 3 ) and ((YEAR(getdate()) -
>>> YEAR(a.dat_nais)) between 54 and 70) and c.cod_nat = 'CN'
>>>   order by a.nom_, a.prn, c.annee asc;
>>>
>>> hello;
>>> my models are users, enca; encr;
>>> who can i performe this query using django ORM, note that i'm using
>>> MSSQL; thank very much
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users+unsubscr...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/85f7f91b-0f52-4a96-8700-bee588eb4a3d%40googlegroups.com
>>> 
>>> .
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAP5HUWqap3ddCEmW-7yD_uRWhwxDNQdSNZ%2BQPPvHzcAwDf1e5Q%40mail.gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAA7%3DR20i-DNEFTgdHQ7bjmvzQHrmML3LjzamrSiK07oJgbC_%2Bw%40mail.gmail.com
> 
> .
>

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


Re: pip install Django==3.0

2019-12-02 Thread Simon Charette
Dear Uri,

> When I use pip to install a package, does it depend on the version of 
Python I'm using?

Yes, it does.

> I noticed that Django 3.0 doesn't support Python 3.5. But why does pip 
fail?

Pip will respect the supported version metadata of the package. There's no 
package available for the Django
and Python version constraints you provided.

Instead of getting a non-nonsensical SyntaxError crash when trying to run 
Django on Python 3.5 pip prevents
you from shooting yourself in the foot in the first place.

Simon

Le lundi 2 décembre 2019 11:06:18 UTC-5, Uri a écrit :
>
> Django users,
>
> When I use pip to install a package, does it depend on the version of 
> Python I'm using?
>
> pip install Django==3.0 fails with Python 3.5:
> https://travis-ci.org/speedy-net/speedy-net/builds/619671495 
>
> But it succeeds with Python 3.6 and 3.7. I noticed that Django 3.0 doesn't 
> support Python 3.5. But why does pip fail?
>  
> אורי
> u...@speedy.net 
>

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


Re: Link a .css to a Html template

2019-12-02 Thread Leó Horváth
hi! i still cant make it work. this is my html snippet and the .css is
located at static/pages/frame.css.
when i run the server the browser displays the hard coded html but not the
style. console says "GET /static/frame.css HTTP/1.1" 404 1651


{% load static %}




{% block css %}

{% endblock %}

‪‫אורי‬‎  ezt írta (időpont: 2019. dec. 2., H, 3:33):‬

> Hi,
>
> Look at these templates for example:
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/core/templates/base.html#L12-L27
>
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/base_site.html#L7-L13
>
>
> https://github.com/speedy-net/speedy-net/blob/master/speedy/match/templates/accounts/edit_profile/activate.html#L13-L18
>
>
> אורי
> u...@speedy.net
>
>
> On Mon, Dec 2, 2019 at 3:26 AM Leó Horváth 
> wrote:
>
>> Hi guys, I am experiencing an error while trying to Link a .css file to a
>> Html template of one of my Views. What is the correct way to do it?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/b37e10ec-3b9d-4178-8757-1d0277f6cd15%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABD5YeHFgym3pJ4Q5_gE3ATWJiVJ9KDnoBCN8UqM0%2BhWPxXpbg%40mail.gmail.com
> 
> .
>

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


Re: pip install Django==3.0

2019-12-02 Thread JP Smith
Django 3.0 does not support Python 3.5 .

https://docs.djangoproject.com/en/3.0/releases/3.0/

‪On Mon, Dec 2, 2019 at 11:06 AM ‫אורי‬‎  wrote:‬

> Django users,
>
> When I use pip to install a package, does it depend on the version of
> Python I'm using?
>
> pip install Django==3.0 fails with Python 3.5:
> https://travis-ci.org/speedy-net/speedy-net/builds/619671495
>
> But it succeeds with Python 3.6 and 3.7. I noticed that Django 3.0 doesn't
> support Python 3.5. But why does pip fail?
>
> אורי
> u...@speedy.net
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABD5YeG8ezgQpM7uHmVGsKMrQnw5OArZTf%3DHYTkar7s4QdHt2Q%40mail.gmail.com
> 
> .
>

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


Re: pip install Django==3.0

2019-12-02 Thread JP Smith
Django 3.0 does not support Python 3.5:
>
>
https://docs.djangoproject.com/en/3.0/releases/3.0/

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


Re: pip install Django==3.0

2019-12-02 Thread Ramiro Morales
‪On Mon, Dec 2, 2019 at 1:06 PM ‫אורי‬‎  wrote:‬

> Django users,
>
> When I use pip to install a package, does it depend on the version of
> Python I'm using?
>
> pip install Django==3.0 fails with Python 3.5:
> https://travis-ci.org/speedy-net/speedy-net/builds/619671495
>
> But it succeeds with Python 3.6 and 3.7. I noticed that Django 3.0 doesn't
> support Python 3.5. But why does pip fail?
>

Django 3.0 doesn't support Python 3.5.

It's the first item in the release notes document:
https://docs.djangoproject.com/en/3.0/releases/3.0/#python-compatibility

See also:

https://docs.djangoproject.com/en/3.0/faq/install/#what-python-version-can-i-use-with-django


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


-- 
Ramiro Morales
@ramiromorales

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


Re: pip install Django==3.0

2019-12-02 Thread John McClain
try without specifying version
try without using pip

what ide are you using

‪On Mon, 2 Dec 2019 at 16:05, ‫אורי‬‎  wrote:‬

> Django users,
>
> When I use pip to install a package, does it depend on the version of
> Python I'm using?
>
> pip install Django==3.0 fails with Python 3.5:
> https://travis-ci.org/speedy-net/speedy-net/builds/619671495
>
> But it succeeds with Python 3.6 and 3.7. I noticed that Django 3.0 doesn't
> support Python 3.5. But why does pip fail?
>
> אורי
> u...@speedy.net
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABD5YeG8ezgQpM7uHmVGsKMrQnw5OArZTf%3DHYTkar7s4QdHt2Q%40mail.gmail.com
> 
> .
>


-- 
John McClain

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

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


pip install Django==3.0

2019-12-02 Thread אורי
Django users,

When I use pip to install a package, does it depend on the version of
Python I'm using?

pip install Django==3.0 fails with Python 3.5:
https://travis-ci.org/speedy-net/speedy-net/builds/619671495

But it succeeds with Python 3.6 and 3.7. I noticed that Django 3.0 doesn't
support Python 3.5. But why does pip fail?

אורי
u...@speedy.net

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


Re: Retrying query when connection error

2019-12-02 Thread Mateusz MTB90
Some suggestion? 

W dniu czwartek, 28 listopada 2019 12:09:46 UTC+1 użytkownik Mateusz MTB90 
napisał:
>
> Hi It is possible to catch connection error in Django and retry query?  
> How this can be done?
>
> Scenario:
> query -> connection error occurs -> catch connection error -> create new 
> connection -> retry query
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d454388f-5c38-4f2a-ad60-0ce8c1e32cd0%40googlegroups.com.


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

2019-12-02 Thread Bill Freeman
Deployment for a production environment is never without complications.
 And that is affected by how much you choose to configure yourself.  I
can't speak for Heroku, Digital Ocean, or Python Anywhere, because I
haven't used them.  Perhaps some of their users will comment.

Even with virtual hosting it is best to pick one of the kernels that they
have customized to work well with their virtualization mechanisms.  (If you
had a physical host you would need to do kernel configuration yourself.)  I
know that AWS and Linode keep their eye on kernel security updates and will
offer new versions promptly, but you will need to keep your eyes open and
install the upgraded versions when they become available.  They may or may
not include application updates as part of these packages, particularly
database, but also perhaps http server and python version, though if you
want to pick your own version of these then you will be reinstalling them
when the kernel upgrades happen.  And you must watch for security updates
of the packages that you choose to hand install, which will include
Django.  (One of the attractions of shared hosting is that the provider
takes care of more of these things.)

But as far as picking your own version goes, you really want to stay close
to the latest stable version, rather than having to back port security
patches yourself.  You also don't want to go with versions so old that they
are unsupported, or the people finding new exploits will be limited to the
bad guys.  Doing the work right along to stay close to current best
practices is valuable so that you don't have a large panic update to do
when your version becomes unsupported, needs a security fix, and some old,
previously deprecated, way of doing something has been dropped.

You will want to learn how to use one of the automated deployment tools,
since setting things up by had every time gets old, and is error prone.  As
a python guy, I've had fun with fabric, but there are other fine open
source and free tools.  In addition to running pip for your, they can
remotely run apt, rpm, etc., build your database, http server, python
version (including plugging the http server into the desired python using
modwsgi, for example).

(Note that it is not difficult to have multiple versions of python
installed on a Linux system without them getting in one another's way.  So
the kernel scripts can run with the version for which they have been
designed and tested, and you can still have your favorite running behind
your http server, running Django.

I'm unaware of AWS pricing.  Last I checked Linode can be as cheap as $5/mo
(I pay closer to $20), depending on how big a server you need.  Linode, and
I presume AWS and others, provides a base amount of bandwidth to the
outside world, and if your site has a lot of users (including DDOS attacks)
you may have to pay for extra.  Having them run backups for you is an extra
cost option (at least for Linode, and probably for most others).  Otherwise
your bandwidth to storage at your house or office counts against your
bandwidth allotment.  (And you should back up this way, at least
occasionally, even if your regular backups are handled by the provider.)

Linode will host DNS records for your VPS.  I presume the others will too,
though there may be differences as to whether there is extra cost.

If you're going to accept money, don't do it on your server:  Hook up with
PayPal and/or one of the other credit card service providers.  You don't
want sensitive customer financial (or medical) records on your site.  (You
would need full time security staff, and probably private physical servers
to do that safely.)

If you have a very high traffic site, then most providers, including Linode
and certainly AWS, can offer geographic diversity of server location, which
helps with responsiveness, and the ability to continue to conduct business
if a natural disaster takes one of the provider's server farms off line for
a while.  (Most of us don't need this.  And if you have backups not
collocated with the failed farm, you can bring up an alternate instance
quickly.)

There is no substitute for doing your own research into costs, features,
restrictions, and reputation of the various possible providers.

Bill



On Sat, Nov 30, 2019 at 1:54 PM Debabrata Chakraborty <
debobroto.c...@gmail.com> wrote:

> Thanks a million ke1g!
>
> That was really helpful. I am definitely going to use PostgreSQL now.
>
> Only one question remains. I'm willing to deploy my site in any reasonably
> priced virtual server hosting. You mentioned using VPS means I can install
> what I want.
>
> So does that mean - it doesn't matter *which version of Django (i.e.
> Django 2.2.5) I use for the site development,* they will all be equally
> supported inside a VPS hosting plan?
>
> Also, what is the least complicated, least technically challenging Django
> hosting option for a beginner like me?
>
> Thanks again
>
> Deb
>
>
> *On Saturday, November 30, 2019 

Re: How to write raw SQL or ORM for Count

2019-12-02 Thread Luqman Shofuleji
You need to do some little reading about Django aggregation
https://docs.djangoproject.com/en/2.2/topics/db/aggregation/#topics-db-aggregation


Example
from django.db.models import Max, Count, Sum
Publisher.objects.values('name').annotate(*dcount*=Count('name'))

As seen above you can apply similar method to get Max, Sum and others


On Mon, Dec 2, 2019 at 2:43 PM xiaopeng luo  wrote:

> I am new to django ORM, I want query something like this:
>
> input:
> AAAfemale1
> AAAfemale2
> BBBmale   1
> BBBmale   3
> AAAmale   2
>
>
>
> output
> AAAfemale3
> AAAmale   2
> BBBmale   4
>
>
> Sorry, my english is not good. Thanks for everyone help me.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a297dc1f-6821-4bba-b04c-e8ce271b5a8d%40googlegroups.com
> 
> .
>

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


Re: orm relation

2019-12-02 Thread bill dexter
thank you, but if you can give me answer to this  exacte probleme, as
mentioned in question

Le dim. 1 déc. 2019 à 18:55, Integr@te System  a
écrit :

> Hi,
>
> here u can try for complex queryset
>
>
>
> https://docs.djangoproject.com/en/2.2/topics/db/queries/#complex-lookups-with-q
>
> On Sun, Dec 1, 2019, 21:08 bill dexter <55dexte...@gmail.com> wrote:
>
>> ELECT a.matr
>>   ,[nom]
>>   ,[prn]
>>   ,cast([dat_nais] as date) as dat_nais
>>   , (YEAR(getdate()) - YEAR(dat_nais)) as age
>>   ,cast([dat_deces] as date) as dat_deces
>>   ,cast([dat_imm] as date) as dat_imm
>>   ,cast([dat_aj] as date) as dat_j
>>   ,[cod_position]
>>   ,YEAR(dat_imm) as anne_imm
>>   ,YEAR(dat_encais) as ann_regl
>>   ,[annee]
>>   ,[cod_nat]
>>   ,cast([dat_e
>>
>> Snc] as date) as dat_regl
>>   ,[mt_encais]
>>   FROM users a
>> left join enca e on e.matr = a.matr
>> left join encr c on (c.cod_encais = e.cod_encais)
>>   where (YEAR(c.dat_enc) - c.annee > 3 ) and ((YEAR(getdate()) -
>> YEAR(a.dat_nais)) between 54 and 70) and c.cod_nat = 'CN'
>>   order by a.nom_, a.prn, c.annee asc;
>>
>> hello;
>> my models are users, enca; encr;
>> who can i performe this query using django ORM, note that i'm using
>> MSSQL; thank very much
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/85f7f91b-0f52-4a96-8700-bee588eb4a3d%40googlegroups.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAP5HUWqap3ddCEmW-7yD_uRWhwxDNQdSNZ%2BQPPvHzcAwDf1e5Q%40mail.gmail.com
> 
> .
>

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


Re: How to write raw SQL or ORM for Count

2019-12-02 Thread RONAK JAIN
What you want to hear please cear that one..

Thanks

On Mon, 2 Dec 2019, 19:13 xiaopeng luo,  wrote:

> I am new to django ORM, I want query something like this:
>
> input:
> AAAfemale1
> AAAfemale2
> BBBmale   1
> BBBmale   3
> AAAmale   2
>
>
>
> output
> AAAfemale3
> AAAmale   2
> BBBmale   4
>
>
> Sorry, my english is not good. Thanks for everyone help me.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a297dc1f-6821-4bba-b04c-e8ce271b5a8d%40googlegroups.com
> 
> .
>

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


How to write raw SQL or ORM for Count

2019-12-02 Thread xiaopeng luo
I am new to django ORM, I want query something like this:

input:
AAAfemale1
AAAfemale2
BBBmale   1
BBBmale   3
AAAmale   2



output
AAAfemale3
AAAmale   2
BBBmale   4


Sorry, my english is not good. Thanks for everyone help me.

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


Django 3.0 Released.

2019-12-02 Thread Carlton Gibson
Django 3.0 is now available. 

https://www.djangoproject.com/weblog/2019/dec/02/django-3-released/ 


With the release of Django 3.0, Django 2.2 has reached the end of 
mainstream support. The final minor bug fix release (which is also a 
security release), 2.2.8, was issued today. Django 2.2 is an LTS release and
will receive security and data loss fixes until April 2022. All users are 
encouraged to upgrade before then to continue receiving fixes for 
security issues. 

See the downloads page [1] for a table of supported versions and the 
future release schedule. 

[1] https://www.djangoproject.com/download/#supported-versions 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5F7D9C4C-778C-43DB-A73C-12371C6EBF7F%40gmail.com.


Unit test in django

2019-12-02 Thread Saswat Ray
*def webhook_register(request, organization_pk, campaign_id):user_id =
Campaign.objects.filter(id=campaign_id)user_id =
user_id[0].__dict__["user_id"]# social_user_details =
UserSocialAuth.objects.filter(provider=request.GET["provider"],
user_id=user_id)social_user_details =
UserSocialAuth.objects.filter(provider="shopify", user_id=user_id)shop
= social_user_details[0].__dict__['extra_data']['shop']
SOCIAL_AUTH_ACCESS_TOKEN =
social_user_details[0].__dict__['extra_data']['access_token']# shop =
'store-adi.myshopify.com 'headers = {
  "X-Shopify-Access-Token": SOCIAL_AUTH_ACCESS_TOKEN,"Accept":
"application/json","Content-Type": "application/json",}
payload = {"webhook": {"topic": "orders/create",
"address": "https://%s/webhook/receiver/shopify/%s; % (NGROK_DOMAIN,
campaign_id),"format": "json"}}response =
requests.post("https://; + shop + "/admin/api/2019-10/webhooks.json",
data=json.dumps(payload), headers=headers)   #
print(response.content)return HttpResponse('success')*


*i am writing unitest for the above function,there are some Factory and
fakers method is used. I am looking how i can convert this *
user_id = Campaign.objects.filter(id=campaign_id)

to equivalent statment for unit test using  CampaignFactory method .



*Thanks*,
*Saswat*

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


Re: How can I host my application in web hosting?

2019-12-02 Thread John McClain
Deb,

I find Heroku very simple to use once you are setup.
Publish to github (free if not needing to be private repo)
Github updates Heroku automatically (also free but only runs when called to
so it is slow when first opening page then runs normal unless you upgrade
to paid.)
Also use AWS S3 Bucket for static images (lookuo boto3 for integration)

In heroku you have to set your dynos even if free account otherwise you'll
get the errors related to this
Also have to set you dependencies like postgress for db and others your
project requires

lots of little things to configure really, but youtube has many how to
videos

On Sat, 30 Nov 2019 at 14:01, Debabrata Chakraborty <
debobroto.c...@gmail.com> wrote:

> Hi everyone,
>
> I'm a beginner Django developer. So my apologies in advance for newbie
> like questions.
>
> I am building my site with *" *Django version 2.2.5 *"* and *" *SQLite
> 3.30 *" *in back-end. My question is -
>
> *#* Do services like "Heroku", "Digital Ocean", "Python Anywhere" and
> "AWS" - have limitation on *which version of Django*  or *which DBMS* I
> can use?
>
> I've seen this before with PHP/MySQL hosting where some hosting companies
> will limit which version of PHP or MySQL one can use. Is the same
> applicable to Django hosting in the above mentioned hosting platforms as
> well?
>
> I will very much grateful if you can help me out with this confusion.
>
> Best
>
> Deb
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/a6ccc082-ae9d-4f67-8038-9db16008b956%40googlegroups.com
> 
> .
>


-- 
John McClain

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

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


Re: Django security releases issued: 2.2.8 and 2.1.15.

2019-12-02 Thread Integr@te System
Many thanks Django Team and Carlton's informing.


On Mon, Dec 2, 2019, 16:28 אורי  wrote:

> Bugfixes is empty on
> https://docs.djangoproject.com/en/2.2/releases/2.1.15/
> אורי
> u...@speedy.net
>
>
> On Mon, Dec 2, 2019 at 11:12 AM Carlton Gibson 
> wrote:
>
>> Today the Django team issued 2.2.8 and 2.1.15 as part of our security
>> process. These releases address security issues, and we encourage all users
>> to upgrade as soon as possible:
>>
>> https://www.djangoproject.com/weblog/2019/dec/02/security-releases/
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django developers (Contributions to Django itself)" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-developers+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-developers/37826578-136E-422F-84F3-9C01C6A4625E%40gmail.com
>> 
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CABD5YeFzL_QF6UYy5nG4Jxb0ANJxaFoL%2BQhE-W%3DqvioLWaLSMw%40mail.gmail.com
> 
> .
>

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


Re: Django security releases issued: 2.2.8 and 2.1.15.

2019-12-02 Thread אורי
Bugfixes is empty on  https://docs.djangoproject.com/en/2.2/releases/2.1.15/

אורי
u...@speedy.net


On Mon, Dec 2, 2019 at 11:12 AM Carlton Gibson 
wrote:

> Today the Django team issued 2.2.8 and 2.1.15 as part of our security
> process. These releases address security issues, and we encourage all users
> to upgrade as soon as possible:
>
> https://www.djangoproject.com/weblog/2019/dec/02/security-releases/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django developers (Contributions to Django itself)" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-developers+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-developers/37826578-136E-422F-84F3-9C01C6A4625E%40gmail.com
> 
> .
>

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


Django security releases issued: 2.2.8 and 2.1.15.

2019-12-02 Thread Carlton Gibson
Today the Django team issued 2.2.8 and 2.1.15 as part of our security process. 
These releases address security issues, and we encourage all users to upgrade 
as soon as possible:

https://www.djangoproject.com/weblog/2019/dec/02/security-releases/ 


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/37826578-136E-422F-84F3-9C01C6A4625E%40gmail.com.