Re: Design by composition and persistance

2012-12-28 Thread Mike Dewhirst
On 29/12/2012 4:44pm, Taras_96 wrote: Hi, I'm stuck on the best way of implementing design by composition in Django, and was wondering if anyone had any suggestions/pointers/past experiences. Design by compositon is what you do before thinking about Django. The outcome would be, well, a

Re: manage.py collectstatic?

2012-12-28 Thread Mike Dewhirst
On 29/12/2012 6:32pm, Derek wrote: When I run this command, I get: You have requested to collect static files at the destination location as specified in your settings. This will overwrite existing files! Are you sure you want to do this? Q1: Where is this location specified in settings?

Re: manage.py collectstatic?

2012-12-28 Thread yati sagade
Hey Derek, this page will answer all your questions, hopfully: https://docs.djangoproject.com/en/dev/howto/static-files/ On Sat, Dec 29, 2012 at 1:02 PM, Derek wrote: > When I run this command, I get: > > You have requested to collect static files at the destination >

manage.py collectstatic?

2012-12-28 Thread Derek
When I run this command, I get: You have requested to collect static files at the destination location as specified in your settings. This will overwrite existing files! Are you sure you want to do this? Q1: Where is this location specified in settings? Q2: Which files will be overwritten and

Re: Django output time is 8 hours ahead of database time

2012-12-28 Thread Sergiy Khohlov
Could you please provide timezone from your local system ? Pacific time ? or UTC ? Many thanks, Serge +380 636150445 skype: skhohlov 2012/12/29 Jeff Hsu : > I'm very new to Django and I've been learning the framework from the book > "Practical django Projects" (the book

Design by composition and persistance

2012-12-28 Thread Taras_96
Hi, I'm stuck on the best way of implementing design by composition in Django, and was wondering if anyone had any suggestions/pointers/past experiences. Say you're designing an event management program. Each event has a name, occurs in a suburb, and has a start time and end time. Say you want

Re: Foreign Key + Primary key

2012-12-28 Thread vicherot
Well, i was looking for some help to this particulary problem... what Sandy want to do its callit "Generalization". Its use full for Generalize o Specialize models... look http://packages.python.org/djeneralize/terminology.html for a example... in Django you must to use "inheritance" of

admin-jquery inlines images MULTIupload

2012-12-28 Thread megido666
Hi, now in admin interface i must upload separetely, its long and not convenient , you can load two identical pictures by mistake. I want add some jquery widget which will save me from this work anybody knows such widget? -- You received this message because you are subscribed to the Google

Tie Social auth to contact retrievel

2012-12-28 Thread Gerald Klein
Hi, I have social-auth working great and I have the retrieval of contacts working also, I was wondering if someone can point me to a code example, that if someone is logged in with their google login that can automatically authenticate the retrieval of the contacts too instead of me asking for

Re: Task/project management open source django application?

2012-12-28 Thread Ryan Blunden
That's the only app I could quickly find that's been taken to completion. Unless you're wanting a plug-and-play solution like that, I would just create a todo-list app yourself. If you're not experienced in Django, there are plenty of tutorials out there for building one. If you go this route,

Task/project management open source django application?

2012-12-28 Thread Mark London
Hi - I'm looking for an open source project/task management system, based on django. Something like this one: http://birdhouse.org/software/2008/09/django-todo/ Are there any others out there like this? Thanks. - Mark -- You received this message because you are subscribed to the Google

Re: http://www.deploydjango.com/ - A good resource for advice on project structure and deployment

2012-12-28 Thread r4m
This is a good one. Thank you for sharing. I have realised that there are many tutorials or should I call it snippets but nothing complete for a beginner like me :). Let me try this. Michael On Fri 28 Dec 2012 08:47:41 PM CET, Ryan Blunden wrote: > I stumbled across

Re: Code guidance please review.

2012-12-28 Thread Glyn Jackson
thank you again Bill :0 makes perfect sense now. On Thursday, December 27, 2012 12:35:16 AM UTC, ke1g wrote: > > > > On Wed, Dec 26, 2012 at 3:50 PM, Glyn Jackson > wrote: > >> ke1g, thank you for such a well written reply, clearly explained, I learn >> a lot. again thanks.

Building a form to activate/deactivate m2m relationships, rather than add/delete.

2012-12-28 Thread Paul Caritj
Hello everyone, I'm new to Django and struggling a bit to build a form UI to manage a m2m relationship the way I would like. The stock inline formset technique gives me the functionality I need, of course, but I was hoping to be able to build a form that allows the user to "activate/deactivate"

http://www.deploydjango.com/ - A good resource for advice on project structure and deployment

2012-12-28 Thread Ryan Blunden
I stumbled across http://www.deploydjango.com/ while looking for info on running New Relic monitoring for Django 1.45 in pure WSGI. Looks like a good resource for people starting out with Django and looking for deployment guides. -- You received this message because you are subscribed to the

Re: Admin page not found error

2012-12-28 Thread Ryan Blunden
It appears that the problem is to do with the Sites app. Have you ran `python manage.py syncdb`? If the sites app is in the INSTALLED_APPS tuple, this takes care of creating a site for you that has an id of 1 which is what will match the default SITE_ID value in your settings.py Things to try:

alternate way for nested inline in django admin

2012-12-28 Thread Nikhil Verma
Hi Guys Here are my models :- class Blog(models.Model): """ This model represents information that is stored about a blog. """ seo_tag = models.CharField(max_length=100) title = models.CharField(max_length=100, unique=True) description =

Problem configuring Django 1.5b2 with PostGIS 2.0

2012-12-28 Thread Odagi
Hi, I have been struggling for two days to get a GeoDjango/PostGIS project started and I'll appreciate any help. Thanks == My project == Two virtual machines: Machine 1: Running Django 1.5b2 Machine 2: Running a geospatial DB server (postgresql-server-dev-9.1, geos-3.3.5, proj-4.8.0,

Re: Working with Django from a Shell

2012-12-28 Thread Javier Guerra Giraldez
On Fri, Dec 28, 2012 at 9:37 AM, chad petzoldt wrote: > With all of the other functionality I see, Im surprised that there isn't a > way to feed fake "URL Requests" through django-admin.py or something like > that, and have it dump the output to a file or even within the

Working with Django from a Shell

2012-12-28 Thread chad petzoldt
I do fully intend to deploy django on my web-server, but so far I havn't made it off of my development platform. Right now, I primarily use the built in test server, and do most of my composition using the template system. I know there are other systems designed with document publishing in

Admin page not found error

2012-12-28 Thread Shahjalal Hossain

Concat on Update

2012-12-28 Thread Àlex Pérez
Hello, Someone know how to do that in django?: url = "basE_url" query.update(url= url + models.F("slug_nombre")), and the result should be the concatenation of de column url like "basE_url(slug_nombre)" I'm a little bit confused, because I understand why doesn't work that, but don't know why