Re: CMS base to start with?

2013-09-27 Thread Mario Gudelj
Hey Anton, >From my experience if it's a 2 year project you're building don't use a CMS. Start with a plain Django project and then add apps you need. All these CMSs will just lock you in and become more of a hinderance then help. I also recommend building your own admin before you invest too

Re: CMS base to start with?

2013-09-27 Thread Mike Dewhirst
On 28/09/2013 7:37am, Anton Melser wrote: Are you try with https://www.djangopackages.com/ ?? The problem is the amount of choice. There seem to be many great packages there but I was hoping someone from the community with more intimate knowledge of

Re: CMS base to start with?

2013-09-27 Thread Anton Melser
> Are you try with https://www.djangopackages.com/ ?? > The problem is the amount of choice. There seem to be many great packages there but I was hoping someone from the community with more intimate knowledge of what is there might be able to shed some light on the subject. >From my

Re: CMS base to start with?

2013-09-27 Thread Rafael E. Ferrero
Are you try with https://www.djangopackages.com/ ?? 2013/9/27 Anton Melser > Hi, > > I'm pretty new to Django/Python and I'm starting a fairly major project > (hopefully next 2+ years of my life :-)). If all goes well, there will be > several developers on the project

Re: Not able to create an simple application using DB (syncdb error)

2013-09-27 Thread Bill Freeman
Not all that useful unless you un-hide the file extensions. I'm guessing that there are manage.py scripts in both the upper and lower blog1 directories. For recent Djangos, manage.py should only be in the upper directory. The lower directory contains settings.py, urls.py, wsgo/[u amd

CMS base to start with?

2013-09-27 Thread Anton Melser
Hi, I'm pretty new to Django/Python and I'm starting a fairly major project (hopefully next 2+ years of my life :-)). If all goes well, there will be several developers on the project in a year or two - getting our hands dirty is what it's all about. Use something I know? PHP/.NET/Java - no

Re: Determine gender from first name

2013-09-27 Thread Casper Strømgren
Hey Demetrio You can use http://genderize.io which is a free API. A problem with determining a gender from a name is that people can call their children almost anything they'd like. Genderize.io tries to solve this by collecting data from social networks (where people can also call themselves

new django template

2013-09-27 Thread Frédéric Bouin
I am trying to edit some things in django and am running into a few problems as I am quite new to it. I am working off an existing django configuration with templates that currently work, but I don't really understand how to create new templates. If I create a new .html file in my templates

Re: example for project with user login

2013-09-27 Thread Joachim Wuttke
Many thanks, Rafael and Jesús. I will study your suggestions carefully. - Joachim -- 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

Re: example for project with user login

2013-09-27 Thread Jesús Lucas Flores
You can watch my code: https://github.com/jelukas/django-usuarios-framework/ I am using django-registration with templates. And django 1.4 .. i have to update the code to django 1.5 but it is the same idea.

Re: example for project with user login

2013-09-27 Thread Rafael E. Ferrero
in settings.py in TEMPLATE_DIRS put all your templates folders where django go to find them in MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware',

Re: example for project with user login

2013-09-27 Thread Joachim Wuttke
With user login to the user views. I would like to build my application by incrementally modifying a working small application that is just a little more complete than the poll application from the basic tutorial. -- You received this message because you are subscribed to the Google Groups

Re: Multiple django web applications

2013-09-27 Thread Ben Lopatin
drakko, using virtualenv will certainly help in isolating your projects and dependencies. You can host both on the same server, how you go about doing this will depend in part on your setup. If you're using Apache with mod_wsgi I think - if memory serves correctly - that you could just use

Re: Homepage in Django

2013-09-27 Thread Iuri Machado
Thank you buddy! :) Em sexta-feira, 27 de setembro de 2013 10h02min27s UTC-3, vicherot escreveu: > > Thats its one aproach other its to handle directly with your webserver. I > delegate to webserver all static stuff and leave django to handle dinamic > thing. > > > see ya! > > > 2013/9/27 Iuri

Re: Homepage in Django

2013-09-27 Thread Rafael E. Ferrero
Thats its one aproach other its to handle directly with your webserver. I delegate to webserver all static stuff and leave django to handle dinamic thing. see ya! 2013/9/27 Iuri Machado > Hello everyone, I've got a silly question. > > Let's say I've create a project

Homepage in Django

2013-09-27 Thread Iuri Machado
Hello everyone, I've got a silly question. Let's say I've create a project called CAFis. My folder structure should be like: CAFis - CAFis | - __init__.py | - settings.py | - urls.py | - wsgi.py If I want to create a homepage for my project, should I create a views.py, inside

Re: example for project with user login

2013-09-27 Thread Rafael E. Ferrero
Please, can you be more specific? Did you mean on Admin Interface? (just activate admin) In your views? (use decorator) in your templates? (use request.user.is_authenticated() on a if block) Are more complex ways to do this by your own or you have apps to do this like allauth (who give you a way

Re: Multiple django web applications

2013-09-27 Thread Rafael E. Ferrero
I'm not a guru but... If you want to run two differents django projects with different versions of django then i think that virtualenv can help you... are some tutorial somewhere. If you want to run two differentes django projects with same version of django then just use virtual on appache (i do

example for project with user login

2013-09-27 Thread Joachim Wuttke
Could you kindly point me to a code example for a Django project with user login? - Joachim -- 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

Multiple django web applications

2013-09-27 Thread drakko
Hello django gurus! I wanted to kindly ask if there is a way how to keep two django web application on the same server? I have heard that it might be possible by using virtualenv. But as I'm new to python and web development I wanted to find out if what kind of approaches there are to achieve

Re: How to do 2-ModelForm-in-1-CVB right?

2013-09-27 Thread Adam
2013年9月27日金曜日 10時03分09秒 UTC+9 Yu Chen: > > Inlineformset may solve your problem, and this > http://haineault.com/blog/155/ is a good example. > > In the sample code, CBV has to attached to FormView and has to provide one 'form_class' member. Another extra form is set by context_data. It is still

Re: How to use selenium test against different browsers using LiveServerTestCase

2013-09-27 Thread Tianyi Wang
Thanks for all your answers. On Thursday, 26 September 2013 17:46:43 UTC+1, Tianyi Wang wrote: > > Hi guys, > > So follow the Django doc example, > https://docs.djangoproject.com/en/dev/topics/testing/overview/#django.test.LiveServerTestCase > > In the example, the test only test against

Re: Bootstrap - django-bootstrap3 or django-crispy-forms

2013-09-27 Thread Nigel Legg
Thanks both. Cheers, Nigel 07914 740972 On 27 September 2013 06:19, Lachlan Musicman wrote: > this is probably the answer you want: > > http://stackoverflow.com/a/11795186 > > L. > > On 27 September 2013 09:23, Sam Lai wrote: > > Yep.