Re: Project layout

2017-04-15 Thread Simon McConnell
tem is actually clientmgmtsystem_project. On Saturday, 15 April 2017 01:33:03 UTC+10, richs wrote: > > As a Django newcomer I'm still confused about project layout naming > conventions. Following the author's layout in '2 Scoops' chapter 3 for a > project I'm building

Project layout

2017-04-14 Thread Rich Shepard
As a Django newcomer I'm still confused about project layout naming conventions. Following the author's layout in '2 Scoops' chapter 3 for a project I'm building for my own use to manage prospects and clients, I ran cookiecutter pointing to pydanny's cooki

Project layout

2017-04-14 Thread Rich Shepard
As a Django newcomer I'm still confused about project layout naming conventions. Following the author's layout in '2 Scoops' chapter 3 for a project I'm building for my own use to manage prospects and clients, I ran cookiecutter pointing to pydanny's cooki

Re: Changes to default project layout?

2012-01-12 Thread Lee Hinde
raft release notes for > the 1.4 release: > > > https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py > > Yours, > Russ Magee %-) > > On Wed, Nov 9, 2011 at 2:17 PM, Victor Hooi wrote: > > heya, > > > > A

Re: Startproject Project layout

2011-11-21 Thread Andre Terra
You may have a problem with your Python install and multiple django versions installed for the same environment. In a shell/cmd try: $ python -c "import django; print django.get_version()" and double check that you're not using a legacy version. Post back with your findings should you have any do

Startproject Project layout

2011-11-20 Thread kalyan
Hi, I have installed the laterst development version of django using svn. but when i try to start a project i still get the flat layout (no inner directories) and the tutorial says that happens only if i am using the old project (release). I ran into a few problems when trying to syncdb i was w

Re: Changes to default project layout?

2011-11-09 Thread Russell Keith-Magee
Hi Victor, All the answers you're looking for are in the draft release notes for the 1.4 release: https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py Yours, Russ Magee %-) On Wed, Nov 9, 2011 at 2:17 PM, Victor Hooi wrote: > heya, >

Re: Changes to default project layout?

2011-11-08 Thread Victor Hooi
heya, Also, I noticed that there's no models.py file in the first app that startproject creates - I assume this is by design, right? Hmm, what's the rationale behind it? Cheers, Victor -- You received this message because you are subscribed to the Google Groups "Django users" group. To view

Changes to default project layout?

2011-11-08 Thread Victor Hooi
angoproject.com/changeset/16964 https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py Just a couple quick questions: 1. Previously, we'd put the app name in INSTALLED_APPS in settings.py - however, since settings.py now lives inside one o

Re: Tutorial confusion: flat project layout with django 1.3.1

2011-10-17 Thread garyrob
Actually, it seems like the search popup should focus on whatever documentation you're looking at. So, instead of saying "Django 1.3" I would argue that it should have said "Django Dev". That would mean that it was defaulting to the use it would probably be put to, and simultaneously tell the r

Re: Tutorial confusion: flat project layout with django 1.3.1

2011-10-17 Thread garyrob
Ah! Thanks everyone for the feedback. The reason I was confused may be stupid, but FWIW here it is: Underneath the Search input area, there's a popup menu that says "Django 1.3". My eye went over there and registered the 1.3 without figuring out that it refers to what is being searched in. I re

Re: Tutorial confusion: flat project layout with django 1.3.1

2011-10-16 Thread Ramiro Morales
On Sun, Oct 16, 2011 at 11:27 PM, garyrob wrote: > [...] > But Part 1 of the django tutorial > (https://docs.djangoproject.com/en/dev/intro/tutorial01/) shows a directory > [...] > But the tutorial is for version 1.3 > 'final', 0). I'd ike to ask you what visual part of that online tutorial page

Re: Tutorial confusion: flat project layout with django 1.3.1

2011-10-16 Thread Kirill Spitsin
On Sun, Oct 16, 2011 at 07:27:42PM -0700, garyrob wrote: > I'm having a strange problem. > > When I run > > django-admin startproject mysite > > I get a directory structure that is flat in the sense that there is no inner > mysite directory -- the manage.py and urls.py files are at the same l

Tutorial confusion: flat project layout with django 1.3.1

2011-10-16 Thread garyrob
https://docs.djangoproject.com/en/dev/intro/tutorial01/) shows a directory structure with an inner mysite, such that manage.py is at the top layer and urls.py is in the inner mysite. And it also says: Doesn't match what you see? The default project layout recently changed. If you're seeing a "flat&quo

Re: Project layout: put templates and js/css together?

2010-01-18 Thread Bill Freeman
M, Stephan Walter wrote: > Hi, > After having Django used a long time ago, I recently started a new > project, using "django-admin.py startproject". What I found > inconvenient is that in the default project layout, the templates and > the static media are so "far away&q

Project layout: put templates and js/css together?

2010-01-18 Thread Stephan Walter
Hi, After having Django used a long time ago, I recently started a new project, using "django-admin.py startproject". What I found inconvenient is that in the default project layout, the templates and the static media are so "far away" from each other. What I mean is

Re: Django project layout - authentication

2009-10-17 Thread nausikaa
Great. Sorry for sending this twice. I thought it got deleted so I sent it again. Looks like it was delayed for ~2 days : ( But I'm still greatful for any advice : ) On Oct 17, 2:19 pm, nausikaa wrote: > Hi > > I'm writing a web interface where users (in groups with different > rights) can login

Django project layout - authentication

2009-10-17 Thread nausikaa
Hi I'm writing a web interface where users (in groups with different rights) can login and view and edit db entries. At the moment the authentication functionality is in myproject/ auth.py The authenticate method in auth.py does ldap authentication. Now my question: Would it be better to ma

Re: Django project layout - authentication

2009-10-15 Thread nausikaa
Correction: We have a class 'LDAPBackend' with an authenticate function. Then in the view we use 'authenticate' from django.contrib.auth and if that returns None, we call the 'authenticate' bound to 'LDAPBackend'. Does it make sense to have a separate app just for one class? I assume the answer

Django project layout - authentication

2009-10-15 Thread nausikaa
Hi I'm writing a web interface where users (in groups with different rights) can login and view and edit db entries. At the moment the login functionality is in myproject/ auth.py The authenticate method in auth.py checks the Users table and if that fails it tries ldap authentication. Now m

Re: I just need some feedback and advice about my project layout and design.

2009-07-28 Thread Alex Robbins
Sorry, I don't know anything about url namespaces, but this might help: If all you are doing is looking up an object and displaying it, I would use the built-in generic views[1]. Just provide a queryset and an object id or slug and slug field. Less code to debug and maintain. There is also a list

I just need some feedback and advice about my project layout and design.

2009-07-27 Thread chyea
Hi all, I'm writing a very small, simple video game news media site. I'm starting off small, with just Blurbs and Reviews. The Blurbs are basically quick news articles. The Reviews are extensive articles about a video game, ofcourse. So, since both Blurbs and Reviews are both types of articles,

Re: Project Layout When Using Multiple Sites, Revisited

2006-09-25 Thread Waylan Limberg
On 9/25/06, Scott McCracken <[EMAIL PROTECTED]> wrote: > > In continuing to diagnose this problem I have re-read the > DJANGO_SETTINGS documentation. Under the section for Default Settings > it says: > > "A Django settings file doesn't have to define any settings if it > doesn't need to. Each sett

Re: Project Layout When Using Multiple Sites, Revisited

2006-09-25 Thread Scott McCracken
In continuing to diagnose this problem I have re-read the DJANGO_SETTINGS documentation. Under the section for Default Settings it says: "A Django settings file doesn't have to define any settings if it doesn't need to. Each setting has a sensible default value. These defaults live in the file dj

Project Layout When Using Multiple Sites, Revisited

2006-09-25 Thread Scott McCracken
I have a few questions regarding a past topic which is now closed to comments after 30 days of inactivity: http://groups.google.com/group/django-users/browse_thread/thread/ca0485ca0ce4da56/4cb89ff5aa5dcb5d?lnk=gst&q=sites&rnum=1#4cb89ff5aa5dcb5d My questions revolve around trying to have multiple