Hi Martin,
Virtualenv is use for using different version of python or python library
so it wont use the default python in system. So when open eclipse for
editing, no need to activate virtualenv, but when you need to run the code
in specific python install, you need to activate virtualenv.
VIrtu
Firstly, I want to say "thank you" to you, Thomas.
Secondly, could you or someone how does the development cycles work with
virtualenv? Is this way of working just as I wrote?
I think it works by activating the virtualenv every time with a "source
activate" command and after that starting to p
Use __gte lookup:
latest_articles_list = Article.objects.filter(pub_date__gte=thirty_days_ago)
and take a look at other lookups:
https://docs.djangoproject.com/en/1.6/ref/models/querysets/#field-lookups
Cheers,
Tom
Dne Sun, 20 Jul 2014 20:50:53 -0700 (PDT)
Conner DiPaolo napsal(a):
> I've b
I've been thinking about it and I think this should work but it doesn't.
latest_articles_list = Article.objects.filter(pub_date>=thirty_days_ago)
Django is saying 'pub_date' is not defined, even though I used it to filter
a different list and it worked fine. What is wrong??
Thanks
On Sunday, J
Hi!
I was wondering if anybody knew how to create a list based on that list
having a DateTime attribute that is less than 30 days old. I already have a
boolean in the model itself of 'published_recent_month' that can say if it
is or is not published within a month, but how do I put into that a l
there is no twitter in django-allauth.
Do you have any tutorial so how to create a user in database with
python-social-auth and django and get info from tw,fb, google ?
I will go back on this project tonight and will post code if i still cannot
make progress.
Regards
Bussiere
Le dimanche 20
You should use pip to install django.
This is how I go about it, from a fresh install.
mkdir ~/virtual
mkdir ~/projects
pip install virtualenv # unnecessary in python 3.3+
pip install virtualenvwrapper # use this. it will make your life much
simplerecho "export WORKON_HOME=$HOME/virtual" >> ~/.ba
try using Git / any other SCM
On Sun, Jul 20, 2014 at 2:37 PM, Eddilbert Macharia
wrote:
> hi guys i have created a web application and its my first one,so i luck
> the experience in the finer details requirement.
>
> what are some of the considerations i shld keep in mind before i move the
> a
Hi Martin,
I myself am new in Django, here's one tutorial I believe is worth visiting
when setting up your environment:
http://www.jeffknupp.com/blog/2013/12/18/starting-a-django-16-project-the-right-way/
Good luck
On Sun, Jul 20, 2014 at 6:09 AM, Martin Torre Castro
wrote:
> Hello,
>
> my n
On Saturday, July 19, 2014, Martin Torre Castro wrote:
> Hello,
>
> my name is Martin and I'm a computer engineer from Spain. I'm going to
> start a new project with a colleague and I decided to use Django because we
> searched for free opensource tools and I'm in love with Python.
>
Hello and w
10 matches
Mail list logo