Contributing to Django

2018-01-24 Thread 'Anoosha Masood Keen' via Django users
Hi,
   I have assigned a ticket to myself. Now what do I need to do ? Fork 
django project and create branch for that ticket and push it ? Am I right? 

-- 
You received this message because you are subscribed to the Google Groups 
"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/6e715641-d6aa-4cdd-8ba4-a2f0a4f57fc2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: the version 2.0.1 login function refuses to take arguments... Login(request user)

2018-01-24 Thread Ozzy Walsh


On Thursday, January 25, 2018 at 4:50:10 AM UTC, Ozzy Walsh wrote:
>
> It would be helpful if you included the code associated with this as well.
>
> On Thursday, January 25, 2018 at 12:37:24 AM UTC, simon munuve wrote:
>>
>> Check the attached file ... 
>>
>
The actual code. Nobody can tell how you are using the function just by the 
debugger output you've show. 

-- 
You received this message because you are subscribed to the Google Groups 
"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/bd005c39-0a7e-4030-bfc4-b2ff83e44488%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: the version 2.0.1 login function refuses to take arguments... Login(request user)

2018-01-24 Thread Ozzy Walsh
It would be helpful if you included the code associated with this as well.

On Thursday, January 25, 2018 at 12:37:24 AM UTC, simon munuve wrote:
>
> Check the attached file ... 
>

-- 
You received this message because you are subscribed to the Google Groups 
"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/00ce3593-47ce-45d8-a58a-711c7362811d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: django 2 - How do I make search box?

2018-01-24 Thread Ozzy Walsh
Also, by the sounds of your question, you haven't worked through the 
tutorial.
Please take the time to do so. It might take you around an hour or whatever 
but gives an extremely good overview of everything you need to build stuff 
in Django.
I'm sure your dying to work on your big idea, but it pays to take the time 
to get the basics down. Tutorial here: 
https://docs.djangoproject.com/en/2.0/intro/#

On Tuesday, January 23, 2018 at 11:34:48 AM UTC, Carl Brubaker wrote:
>
> I am trying to make a search field in a template and connect it back to my 
> database so I can "find" stuff.
>
> I found this in the django docs:
>
> >>> Author.objects.filter(name__unaccent__icontains='Helen')[ >>> Mirren>, , ]
>
> which is helpful, but I'm having trouble connecting to my template:
>
> 
>
> I'm not sure what to call my variable or how to integrate it into models. All 
> of the existing stuff I can find is django 1.
>
> 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/15892139-2182-446e-8cef-75b2782568f5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


the version 2.0.1 login function refuses to take arguments... Login(request user)

2018-01-24 Thread simon munuve
Check the attached file ... 

-- 
You received this message because you are subscribed to the Google Groups 
"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/4e25e483-5099-4159-b386-605d9619d225%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread johnf

I doubt it is possible to install Postgres into virtualenv???

At least I'm not aware that it can be done.  I'll do a little research 
and see if I can be done.  Of course it can be installed on VM.


Johnf


On 01/24/2018 02:25 AM, tango ward wrote:

Noted. Thanks

On Wed, Jan 24, 2018 at 5:56 PM, Avraham Serour > wrote:


In any case you'll need to pip install the postgres drivers for
python, I suggest doing that inside the env


On Wed, Jan 24, 2018 at 11:32 AM, tango ward
> wrote:

Got it. Thanks Anoosha

On Wed, Jan 24, 2018 at 5:29 PM, 'Anoosha Masood Keen' via
Django users > wrote:

Install it on your computer.

On Wednesday, January 24, 2018 at 8:49:17 AM UTC,
tangoward15 wrote:


Hi,


Newbie question, since I installed django and pillow
inside virtualenv, shall I also install PostgreSQL
inside Virtualenv? At the moment I am still using
SQLite in my pet project.


Regards,
Jarvis


-- 
You received this message because you are subscribed to

the Google Groups "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/962726a2-e3b3-4ee1-b81b-c1227656b7da%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/CAA6wQLKYD2z4dvuxESSp67CSiDDOttMJuGxizhFHyVRhA%2BHq6w%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/CAFWa6tLjsVTidO1X4v8wB%2BBukYTjKMiif4_CLFjqsPW_3WdbDA%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 

Re: Getting Outlook Calendar In Django web page

2018-01-24 Thread Harrison Latimer
I've looked through this library but I can't seem to find a way to get an 
existing calendar from outlook just ones you create using the exchangelib 
functionality. Has anyone used exchangelib to generate a static calendar to 
a django web page?

On Wednesday, January 17, 2018 at 2:20:29 PM UTC-8, Matthew Pava wrote:
>
> You might want to look into this 3rd-party package that will give you 
> access to the Exchange API.
>
> https://github.com/ecederstrand/exchangelib
>
>  
>
>  
>
> *From:* django...@googlegroups.com  [mailto:
> django...@googlegroups.com ] *On Behalf Of *Harrison Latimer
> *Sent:* Wednesday, January 17, 2018 3:59 PM
> *To:* Django users
> *Subject:* Getting Outlook Calendar In Django web page
>
>  
>
> I have tried taking an available bootstrap calendar and feeding calendar 
> items via JSON file but I'd rather find a way to export a static outlook 
> calendar to my django web page. Is this possible?
>
>  
>
> -Harrison 
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users...@googlegroups.com .
> To post to this group, send email to djang...@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/4d512f8e-8840-466f-b77b-b56a80e6865e%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/b8d2181c-f410-4b13-92aa-b42e62d5c5f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


how do I handle a dropdown in Django whose only purpose is to get data.

2018-01-24 Thread eileen
I need to create an edit box called handicapped with three drop down 
options on the display:
  0 - none
  1 - Mental
  2 - Phyiscal

and connect it to the handicapped field init(11) in the family database

I know I have to do something like:

if form['handicapped'].data == 1 or 2:
q = 
context['child_filter'].filter(Q(handicapped=handicapped_dict[request.POST['handicapped']]))

>>> But I'm really confused about the above part.

# start of output using search parameters

if q.count() > 1:
  search_message = "There are %s children that match your 
selection of %s"  %  (q.count(), request.POST['gender'])
else:
  search_message = "There is 1 child that matches your 
selection of %s"  %  (request.POST['gender'])

if q.count() > 1:
   search_message = ", age: %s"  %  (request.POST['age'])
else:
   search_message = ", age: %s"  % (request.POST['age'])

if form.data['handicapped'] is 'Physical' or 'Mental':
   if q.count() > 1:
  search_message = ", is %s handicapped" %  
(request.POST['handicapped'])
   elif q.count() == 1:
  search_message = ", is %s handicapped" % 
(request.POST['handicapped'])
else:
search_message = ", are %s handicapped" % 
(request.POST['handicapped'])

but it doesn't _work at all_.

I should say the database is defined correctly.

I get lots of different types of errors - sorry I can't include them now, 
...

I am  trying to find the children (already in the database) who may or may 
not have one of two types of handicaps.


I _do_ use Form. The form file contents follow:
from django import forms
from .widgets import ChainedSelectWidget
from .models import Child


class SponsorForm(forms.Form):
child = forms.IntegerField()


class FilterForm(forms.Form):
gender = forms.ChoiceField(choices=[(x, x) for x in ('-', 'MALE', 
'FEMALE')], required=False)
age = forms.ChoiceField(choices=[(x, x) for x in range(1, 18)], 
required=False)
#orphaned = forms.BooleanField(initial=False,required=False)
#extreme_need = forms.BooleanField(initial=False,required=False)
handicapped = forms.ChoiceField(choices=[(x, x) for x in ('---', 
'Mental', 'Physcal')], required=False)

def __init__(self, *args, **kwargs):
super(FilterForm, self).__init__(*args, **kwargs)

if 0 == len(self.data):
self.fields['age'].queryset = Child.objects.none()

# assign a widget to second select field
self.fields['age'].widget = ChainedSelectWidget(
parent_name='gender', # the name of parent field
app_name='sponsorship',# the name of model's 
application
model_name='child',  # the name of a model with the 
method
method_name='get_children',  # the name of queryset method
)


-Eileen

-- 
You received this message because you are subscribed to the Google Groups 
"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/a77173e5-8cf4-43bf-81e3-10757ba88ec3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


One model interface to read/write to multiple models Django

2018-01-24 Thread Chinmaya Patanaik
I've the following models in Django.
class User(models.Model):
   name = models.CharField(max_length=50)
   ...
   ...

class UserInformation(models.Model):
   user = models.ForeignKey(User)
   key = models.CharField(max_length=250)
   value = models.TextField()
   ...
   ...

class UserAddress(models.Model):
   user = models.ForeignKey(User)
   address = models.TextField(null=True)
   city = models.CharField(max_length=200)
   ...
   ...



Basically I want to create an interface for *User* through which I can 
route read and write operations to *UserInformation* and *UserAddress*.

user = User.objects.get(id=1)

Ex - If someone wants to get all addresses of a user.
   user.get_information('address') --> This will in turn search UserAddress 
table and return a list of addresses.

Ex - If someone wants to get the current age of a user.
   user.get_information('age') --> This will in turn search UserInformation 
table with key=age and return the value.

Similarly given a key I want to write data through the interface.

Ex - Insert age of a user.Enter code here...

user = User.objects.get(id=1)
   user.update_information('age', value=30) --> This will in turn insert a 
row in UserInformation table with key=age and value=30.


Problems:
=
* I'm planning to create another table *TableKeyMapping* to keep the 
mapping of keys to table names. Such as if *key_name=age*, 
*table_name=UserInformation*. If *key_name=address*, then 
*table_name=UserAddress*.

What should I save in table_name..the model name *UserAddress* or the 
complete path including the the app *user.models.UserAddress*.

* To get data, I was planning to create a property called *get_information* 
in *User* model which will take *key_name* as a parameter. Is this the 
proper approach or are there any better solutions available.

* Not sure how I'll write data into separate tables. Any links or 
documentation will be appreciated.

-- 
You received this message because you are subscribed to the Google Groups 
"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/310c38ec-68d8-49f5-bd80-c1d247015513%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: django 2 - How do I make search box?

2018-01-24 Thread Ozzy Walsh


On Tuesday, January 23, 2018 at 11:34:48 AM UTC, Carl Brubaker wrote:
>
> I am trying to make a search field in a template and connect it back to my 
> database so I can "find" stuff.
>
> I found this in the django docs:
>
> >>> Author.objects.filter(name__unaccent__icontains='Helen')[ >>> Mirren>, , ]
>
> which is helpful, but I'm having trouble connecting to my template:
>
> 
>
> I'm not sure what to call my variable or how to integrate it into models. All 
> of the existing stuff I can find is django 1.
>
>  

> Thanks!
>
>

Read the docs on Django Forms 
https://docs.djangoproject.com/en/2.0/topics/forms/ 

-- 
You received this message because you are subscribed to the Google Groups 
"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/0b47422a-32b1-48d8-a0ab-10b3e2665c24%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Etienne Robillard

Hi Jason,

Le 2018-01-24 à 06:11, Jason a écrit :
I'm curious about this to, but am struggling to see the use case for 
this.  Could you elaborate on how you'd use something like this, and 
its expected benefits?


The goal would be to use faster C code for accessing Django internal api.

Then I suppose you could build precompiled a Django binary for specific 
architectures/compilers (like llvm) :)


Here is my results so far:

erob@marina:~/src/django-hotsauce-devel$ python
Python 2.7.13 (default, Nov 24 2017, 17:33:09)
[GCC 6.3.0 20170516] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libdjango
>>> libdjango
'/home/erob/src/django-hotsauce-devel/lib/libdjango/__init__.pyc'>

>>> dir(libdjango)
['__builtins__', '__doc__', '__file__', '__name__', '__package__', 
'__path__']

>>> libdjango.main
Traceback (most recent call last):
  File "", line 1, in 
AttributeError: 'module' object has no attribute 'main'
>>> import libdjango.main
Traceback (most recent call last):
  File "", line 1, in 
ImportError: dynamic module does not define init function (initmain)

erob@marina:~/src/django-hotsauce-devel/lib/libdjango$ cat libdjango.pxd
from django import *

erob@marina:~/src/django-hotsauce-devel/lib/libdjango$ cat libdjango.pyx
from libdjango cimport *


Any ideas why the dynamic module does not define init function?




You received this message because you are subscribed to the Google 
Groups "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/9210f6ce-e01c-423f-a1a7-1eae6fe596a0%40googlegroups.com 
.

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


--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/

--
You received this message because you are subscribed to the Google Groups "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/99d0931e-2a14-c977-5519-6bcac70637c0%40yandex.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Jason
I'm curious about this to, but am struggling to see the use case for this.  
Could you elaborate on how you'd use something like this, and its expected 
benefits?

-- 
You received this message because you are subscribed to the Google Groups 
"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/9210f6ce-e01c-423f-a1a7-1eae6fe596a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Will django include a simpler way to change username to email for registration in the future ?

2018-01-24 Thread Nick Sarbicki
django allauth (http://django-allauth.readthedocs.io/en/latest/overview.html)
also has a pretty good setup for this as well as a lot of other
functionality. As suggested it just takes a change in settings.py to move
to email as username (although it isn't stored that way in the DB that is
how it looks to the user).

On Wed, Jan 24, 2018 at 10:03 AM Avraham Serour  wrote:

> someone posted an app for that here w while ago:
>
> http://django-improved-user.readthedocs.io/en/latest/index.html
>
>
>
> On Wed, Jan 24, 2018 at 1:23 AM, Vijay Khemlani 
> wrote:
>
>> I have been using django-custom-user for that without any issues
>>
>> On Tue, Jan 23, 2018 at 6:43 PM, Daniel Cîrstea <
>> daniel.cirste...@gmail.com> wrote:
>>
>>> Hello. For a while I noticed that it is a struggle to extend the
>>> AbstractBaseUser in order to change user to email for registration and
>>> login. Takes time and it is a lot of code. I was wondering if django will
>>> include a simpler way of doing it ? Something simple like just changing a
>>> settings.py variable to email and boom, u can create accounts with email
>>> address.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "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/606c63a3-792a-4827-8211-1d4be998cc2a%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/CALn3ei0evyKJEEkSabqRTNOEKRnRnyLqYi1SLHyauvvE%2Bk2oPg%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/CAFWa6tLw4r-Ejk-VAeVgo-ZF2orzGtWY%2BGRYXQ2ZOcJ4YB-%2BHQ%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/CAGuvt902TVnfeLmp469qRvm4s6M02THNZcAo8tr1XwpCO%2BOzkA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread tango ward
Noted. Thanks

On Wed, Jan 24, 2018 at 5:56 PM, Avraham Serour  wrote:

> In any case you'll need to pip install the postgres drivers for python, I
> suggest doing that inside the env
>
>
> On Wed, Jan 24, 2018 at 11:32 AM, tango ward 
> wrote:
>
>> Got it. Thanks Anoosha
>>
>> On Wed, Jan 24, 2018 at 5:29 PM, 'Anoosha Masood Keen' via Django users <
>> django-users@googlegroups.com> wrote:
>>
>>> Install it on your computer.
>>>
>>> On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 wrote:
>>>

 Hi,


 Newbie question, since I installed django and pillow inside virtualenv,
 shall I also install PostgreSQL inside Virtualenv? At the moment I am still
 using SQLite in my pet project.


 Regards,
 Jarvis


 --
>>> You received this message because you are subscribed to the Google
>>> Groups "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/ms
>>> gid/django-users/962726a2-e3b3-4ee1-b81b-c1227656b7da%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/ms
>> gid/django-users/CAA6wQLKYD2z4dvuxESSp67CSiDDOttMJuGxizhFHyV
>> RhA%2BHq6w%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/CAFWa6tLjsVTidO1X4v8wB%2BBukYTjKMiif4_CLFjqsPW_
> 3WdbDA%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/CAA6wQLJEfdRHPR1nqYp%2BuY6-dagjAPmaBYm0WD0Famg2i2j52g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Will django include a simpler way to change username to email for registration in the future ?

2018-01-24 Thread Avraham Serour
someone posted an app for that here w while ago:

http://django-improved-user.readthedocs.io/en/latest/index.html



On Wed, Jan 24, 2018 at 1:23 AM, Vijay Khemlani  wrote:

> I have been using django-custom-user for that without any issues
>
> On Tue, Jan 23, 2018 at 6:43 PM, Daniel Cîrstea <
> daniel.cirste...@gmail.com> wrote:
>
>> Hello. For a while I noticed that it is a struggle to extend the
>> AbstractBaseUser in order to change user to email for registration and
>> login. Takes time and it is a lot of code. I was wondering if django will
>> include a simpler way of doing it ? Something simple like just changing a
>> settings.py variable to email and boom, u can create accounts with email
>> address.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "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/ms
>> gid/django-users/606c63a3-792a-4827-8211-1d4be998cc2a%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/CALn3ei0evyKJEEkSabqRTNOEKRnRnyLqYi1SLHyauvvE%2Bk2oPg%
> 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/CAFWa6tLw4r-Ejk-VAeVgo-ZF2orzGtWY%2BGRYXQ2ZOcJ4YB-%2BHQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Avraham Serour
please try and share your findings, I'm sure I'm not the only one curious
about this


On Wed, Jan 24, 2018 at 11:21 AM, Etienne Robillard 
wrote:

> Hi Avraham
>
> On Tuesday, 23 January 2018 17:18:19 UTC-5, Avraham Serour wrote:
>>
>> Did you try doing this and see what happens?
>>
>
> Not yet. But I presume I could just use the libdjango.so shared library as
> a replacement for the django package?
>
> Regards,
>
> Etienne
>
>>
>> On 23 Jan 2018 9:56 PM, "Etienne Robillard"  wrote:
>>
>>> Can I create a file named libdjango.pyx with the following code:
>>>
>>> {{{
>>>
>>> import django
>>>
>>> from django import *
>>>
>>> }}}
>>>
>>> Then compile the C file with gcc to access django in C ?
>>>
>>> Etienne
>>>
>>>
>>> Le 2018-01-23 à 04:32, Etienne Robillard a écrit :
>>>
 Hi,


 I would like to know if it would be possible to autogenerate C bindings
 for the whole Django package in Cython or similar extension.

 What do you think? :)

 Cheers,

 Etienne



>>> --
>>> Etienne Robillard
>>> tka...@yandex.com
>>> https://www.isotopesoftware.ca/
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/django-users/5b89eee2-b69e-f35b-4a8f-ac3bbb362cda%40yandex.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/b6a19d7d-940b-4855-ab74-96f0e30b75fd%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/CAFWa6tLyLBJ3K8CG7KbxSeDY0K8BPz%2BH20V-LdX1uBEqOi_BJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread Avraham Serour
In any case you'll need to pip install the postgres drivers for python, I
suggest doing that inside the env


On Wed, Jan 24, 2018 at 11:32 AM, tango ward  wrote:

> Got it. Thanks Anoosha
>
> On Wed, Jan 24, 2018 at 5:29 PM, 'Anoosha Masood Keen' via Django users <
> django-users@googlegroups.com> wrote:
>
>> Install it on your computer.
>>
>> On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 wrote:
>>
>>>
>>> Hi,
>>>
>>>
>>> Newbie question, since I installed django and pillow inside virtualenv,
>>> shall I also install PostgreSQL inside Virtualenv? At the moment I am still
>>> using SQLite in my pet project.
>>>
>>>
>>> Regards,
>>> Jarvis
>>>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "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/ms
>> gid/django-users/962726a2-e3b3-4ee1-b81b-c1227656b7da%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/CAA6wQLKYD2z4dvuxESSp67CSiDDOttMJuGxizhFHyVRhA%2BHq6w%
> 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/CAFWa6tLjsVTidO1X4v8wB%2BBukYTjKMiif4_CLFjqsPW_3WdbDA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread tango ward
Got it. Thanks Anoosha

On Wed, Jan 24, 2018 at 5:29 PM, 'Anoosha Masood Keen' via Django users <
django-users@googlegroups.com> wrote:

> Install it on your computer.
>
> On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 wrote:
>
>>
>> Hi,
>>
>>
>> Newbie question, since I installed django and pillow inside virtualenv,
>> shall I also install PostgreSQL inside Virtualenv? At the moment I am still
>> using SQLite in my pet project.
>>
>>
>> Regards,
>> Jarvis
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "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/962726a2-e3b3-4ee1-b81b-c1227656b7da%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/CAA6wQLKYD2z4dvuxESSp67CSiDDOttMJuGxizhFHyVRhA%2BHq6w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread 'Anoosha Masood Keen' via Django users
Install it on your computer.

On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 wrote:
>
>
> Hi,
>
>
> Newbie question, since I installed django and pillow inside virtualenv, 
> shall I also install PostgreSQL inside Virtualenv? At the moment I am still 
> using SQLite in my pet project.
>
>
> Regards,
> Jarvis
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"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/962726a2-e3b3-4ee1-b81b-c1227656b7da%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: unable to save object Django (2.0)

2018-01-24 Thread 'Anoosha Masood Keen' via Django users
Try this in models.py file
















*class personmanager(models.Model):notes = models.TextField()link = 
models.URLField()number = models.IntegerField()def 
create_person(self,note,link,number):self.notes=note
self.link=linkself.number=numberreturn selfdef 
__str__(self):return self.notesobject = 
personmanager()a=object.create_person("this","c.com",1);a.save()*

On Tuesday, January 23, 2018 at 8:10:00 PM UTC, harsh sharma wrote:
>
> i am trying to save the basic information about a person 
> i have created a model form for it but i am unable to save the object 
> (unable to update the database)
>
> here is my views file
>
> @login_required
> def dashboard(request):
> if request.method=="post":
> form = linkform(request.POST)
> if form.is_valid():
> try:
> notes = form.cleaned_data['note']
> link = form.cleaned_data['link']
> number = form.cleaned_data['number']
> perso = person.object.create_person(notes,link,number)
> perso.save()
> return HttpResponse('succeess')
> except:
> return HttpResponse('can not create object')
> else:
> return HttpResponse('bad form')
> else:
> form = linkform(request.POST)
> return render(request, 'dashboard.html', {'form':form})
>
>
> here is my model file :
>
> class personmanager(models.Manager):
> def create_person(self,note,link,number):
> pers = self.create(note=note,link=link,number=number)
> return pers
>
>
>
> class person(models.Model):
> notes = models.TextField()
> link = models.URLField()
> number = models.IntegerField()
> object = personmanager()
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"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/29d485ff-544d-48d6-bf2a-9170b0ba77e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread tango ward
Got it. Thanks Andréas

On Wed, Jan 24, 2018 at 5:12 PM, Andréas Kühne 
wrote:

> Hi,
>
> The virtualenv is only for python things (django, pillow, the postgres
> connector). Postgres itself is a database server and needs to be installed
> on the host that you want to communicate with. It cannot be installed
> "only" in the virtualenv.
>
> Regards,
>
> Andréas
>
> 2018-01-24 9:59 GMT+01:00 tango ward :
>
>> Hi Anoosha,
>>
>>
>> Thanks for the response. I'm just curious if the installation of
>> PostgreSQL should be inside Virtualenv too or should it be installed
>> directly into the computer.
>>
>> On Wed, Jan 24, 2018 at 4:55 PM, 'Anoosha Masood Keen' via Django users <
>> django-users@googlegroups.com> wrote:
>>
>>>
>>> Hi tangoward15. No need to install PostgreSQl at this stage. Just
>>> continue with the tutorial. SQLite works fine.
>>>
>>> On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 wrote:


 Hi,


 Newbie question, since I installed django and pillow inside virtualenv,
 shall I also install PostgreSQL inside Virtualenv? At the moment I am still
 using SQLite in my pet project.


 Regards,
 Jarvis


 --
>>> You received this message because you are subscribed to the Google
>>> Groups "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/ms
>>> gid/django-users/5a31147a-423c-4cd9-8caf-f443aa75f45f%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/ms
>> gid/django-users/CAA6wQLK94jS2V8KFprd5_mtUeYpfk3A8VpeWSUrMmN
>> Lk2AnRNQ%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/CAK4qSCcDeVfk%2B_D%3DzLSkGvqW1GxY1qRmXV3Xgij%3D-
> 8DPjG%2BmAQ%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/CAA6wQLLAOLYRP03hvcKiCeG3V%2BopLgOdwmUwfMAKTBUQ0OgW8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to autoGenerate C bindings for Django 1.11 ?

2018-01-24 Thread Etienne Robillard
Hi Avraham
 
On Tuesday, 23 January 2018 17:18:19 UTC-5, Avraham Serour wrote:
>
> Did you try doing this and see what happens?
>

Not yet. But I presume I could just use the libdjango.so shared library as 
a replacement for the django package?

Regards,

Etienne

>
> On 23 Jan 2018 9:56 PM, "Etienne Robillard"  > wrote:
>
>> Can I create a file named libdjango.pyx with the following code:
>>
>> {{{
>>
>> import django
>>
>> from django import *
>>
>> }}}
>>
>> Then compile the C file with gcc to access django in C ?
>>
>> Etienne
>>
>>
>> Le 2018-01-23 à 04:32, Etienne Robillard a écrit :
>>
>>> Hi,
>>>
>>>
>>> I would like to know if it would be possible to autogenerate C bindings 
>>> for the whole Django package in Cython or similar extension.
>>>
>>> What do you think? :)
>>>
>>> Cheers,
>>>
>>> Etienne
>>>
>>>
>>>
>> -- 
>> Etienne Robillard
>> tka...@yandex.com 
>> https://www.isotopesoftware.ca/
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/5b89eee2-b69e-f35b-4a8f-ac3bbb362cda%40yandex.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/b6a19d7d-940b-4855-ab74-96f0e30b75fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread Andréas Kühne
Hi,

The virtualenv is only for python things (django, pillow, the postgres
connector). Postgres itself is a database server and needs to be installed
on the host that you want to communicate with. It cannot be installed
"only" in the virtualenv.

Regards,

Andréas

2018-01-24 9:59 GMT+01:00 tango ward :

> Hi Anoosha,
>
>
> Thanks for the response. I'm just curious if the installation of
> PostgreSQL should be inside Virtualenv too or should it be installed
> directly into the computer.
>
> On Wed, Jan 24, 2018 at 4:55 PM, 'Anoosha Masood Keen' via Django users <
> django-users@googlegroups.com> wrote:
>
>>
>> Hi tangoward15. No need to install PostgreSQl at this stage. Just
>> continue with the tutorial. SQLite works fine.
>>
>> On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 wrote:
>>>
>>>
>>> Hi,
>>>
>>>
>>> Newbie question, since I installed django and pillow inside virtualenv,
>>> shall I also install PostgreSQL inside Virtualenv? At the moment I am still
>>> using SQLite in my pet project.
>>>
>>>
>>> Regards,
>>> Jarvis
>>>
>>>
>>> --
>> You received this message because you are subscribed to the Google Groups
>> "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/ms
>> gid/django-users/5a31147a-423c-4cd9-8caf-f443aa75f45f%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/CAA6wQLK94jS2V8KFprd5_mtUeYpfk3A8VpeWSUrMmNLk2AnRNQ%
> 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/CAK4qSCcDeVfk%2B_D%3DzLSkGvqW1GxY1qRmXV3Xgij%3D-8DPjG%2BmAQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread tango ward
Hi Anoosha,


Thanks for the response. I'm just curious if the installation of PostgreSQL
should be inside Virtualenv too or should it be installed directly into the
computer.

On Wed, Jan 24, 2018 at 4:55 PM, 'Anoosha Masood Keen' via Django users <
django-users@googlegroups.com> wrote:

>
> Hi tangoward15. No need to install PostgreSQl at this stage. Just
> continue with the tutorial. SQLite works fine.
>
> On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 wrote:
>>
>>
>> Hi,
>>
>>
>> Newbie question, since I installed django and pillow inside virtualenv,
>> shall I also install PostgreSQL inside Virtualenv? At the moment I am still
>> using SQLite in my pet project.
>>
>>
>> Regards,
>> Jarvis
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "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/5a31147a-423c-4cd9-8caf-f443aa75f45f%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/CAA6wQLK94jS2V8KFprd5_mtUeYpfk3A8VpeWSUrMmNLk2AnRNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: PostrgreSQL Inside Virtualenv

2018-01-24 Thread 'Anoosha Masood Keen' via Django users

Hi tangoward15. No need to install PostgreSQl at this stage. Just continue 
with the tutorial. SQLite works fine.
On Wednesday, January 24, 2018 at 8:49:17 AM UTC, tangoward15 wrote:
>
>
> Hi,
>
>
> Newbie question, since I installed django and pillow inside virtualenv, 
> shall I also install PostgreSQL inside Virtualenv? At the moment I am still 
> using SQLite in my pet project.
>
>
> Regards,
> Jarvis
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"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/5a31147a-423c-4cd9-8caf-f443aa75f45f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PostrgreSQL Inside Virtualenv

2018-01-24 Thread tango ward
Hi,


Newbie question, since I installed django and pillow inside virtualenv,
shall I also install PostgreSQL inside Virtualenv? At the moment I am still
using SQLite in my pet project.


Regards,
Jarvis

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