Re: Devils advocate question

2014-12-16 Thread Daniele Procida
On Tue, Dec 16, 2014, Sayth Renshaw wrote: >Why hasn't a cms been designed off django or python? A language cultural >effect yoy would think python would be more stable than php/drupal. You mean like django CMS, to Fein CMS, Mezzanine, Wagtail or any of the other Django

Re: Django 1.7: How to migrate data between two external apps

2014-12-16 Thread John-Scott
My 'solution' was very smelly: - created the migration in 'my_app' as mentioned in my previous post - pushed this change to production to run - removed 'foo_tag' from INSTALLED_APPS *AND* deleted the migration file (which meant also manually deleting the history of this migration

Re: ANN: Django website redesign launched

2014-12-16 Thread Torsten Bronger
Hallöchen! Cal Leeming writes: > [...] > > The footer menu contrast is a little bright with the white/light > green, however it's worth noting that the color/contrast > experience will vary depending on what equipment your > using. Typically if a site has been designed on an Apple >

Re: Content using {% include %} not appearing on detailed page Django

2014-12-16 Thread Fred Stluka
Andrew, I'm not sure, but since no one else has answered yet... Maybe you can't pass an object as a keyword argument to include, can only pass strings? I've done it often with strings, but never with an object. Try: {% include "sidebar.html" title=object.title %} and in the included

Re: Devils advocate question

2014-12-16 Thread Tim Chase
On 2014-12-17 00:14, Cal Leeming wrote: > One thing to note, DigitalOcean is truly awesome but it is a > no-frills service. You get an API and raw performance at dirt cheap > pricing, everything else you have to handle yourself. I'd call it "cheap pricing", not "dirt cheap pricing" since PHP

Re: Devils advocate question

2014-12-16 Thread Cal Leeming
For what it's worth, you can cap your usage on Heroku, so any exceeded usage will just result in slow application rather than additional fees. For a small application with minimal traffic, a database, basic monitoring etc, you're looking around $40/month all in. Heroku is *not* a viable long term

Re: Devils advocate question

2014-12-16 Thread Sayth Renshaw
Definitely Thanks Cal. Hadn't realized that with digitalocean. Been spending my time in ipython and R and plotly and wanted to get some stuff out there. Rails not really in the equation too much black magic. Saw pythonanywhere, Heroku, Bitnami they just don't have a fixed cost. Eg Bitnami says

Re: ANN: Django website redesign launched

2014-12-16 Thread Mark Furbee
Looks slick to me! Clearly with mobile and responsive design in mind, but that's what we have to keep in mind these days. Great job to all contributors involved in this redesign! On Tue, Dec 16, 2014 at 4:01 PM, Cal Leeming wrote: > > Personally I really like it. > > The footer

Re: Devils advocate question

2014-12-16 Thread Cal Leeming
One thing to note, DigitalOcean is truly awesome but it is a no-frills service. You get an API and raw performance at dirt cheap pricing, everything else you have to handle yourself. If you don't have the necessary devops/sysadmin skills, e.g. knowledge of how to recover crashed databases,

Re: Devils advocate question

2014-12-16 Thread Sayth Renshaw
Wow never knew mezzanine existed, that's interesting. Yes php hosting is cheap, but so is digitalocean and it fully supports python and django. Sayth -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: ANN: Django website redesign launched

2014-12-16 Thread Cal Leeming
Personally I really like it. The footer menu contrast is a little bright with the white/light green, however it's worth noting that the color/contrast experience will vary depending on what equipment your using. Typically if a site has been designed on an Apple Thunderbolt/MBP Retina display,

Re: Swampdragon, the realtime framework for Django seems interesting. But will it scale ?

2014-12-16 Thread Cal Leeming
This actually looks like an interesting framework, and I'd like to start off with the good points. The author (Jonas) has very kindly shared his work the community, and I really do applaud the effort he has put into this. SPAs (single page applications) are becoming much more common, and

Re: ANN: Django website redesign launched

2014-12-16 Thread Russell Keith-Magee
On Wed, Dec 17, 2014 at 6:55 AM, Schmitt, Christian < c.schm...@briefdomain.de> wrote: > Somehow I hate it. The website is the worst website I've seen since a long > time. > The contrast is really aweful. > The issue Tracker got unusable due to the colors that aren't focused on > readability. > >

Re: ANN: Django website redesign launched

2014-12-16 Thread Russell Keith-Magee
On Wed, Dec 17, 2014 at 2:38 AM, Jannis Leidel wrote: > > > On 16 Dec 2014, at 17:17, Fred Stluka wrote: > > > > Jannis, > > > > Care to summarize what has changed? At first glance, it looks like > > mostly the same excellent content and the same sensible >

Re: ANN: Django website redesign launched

2014-12-16 Thread Schmitt, Christian
Somehow I hate it. The website is the worst website I've seen since a long time. The contrast is really aweful. The issue Tracker got unusable due to the colors that aren't focused on readability. Overall it looks like a mess, just to have a new design. Doesn't look like a designer or a graphic

Re: Questions about code reviews and static analysis tools for TU Delft research

2014-12-16 Thread Radjino Bholanath
Thanks for answering Tim, I appreciate it. On Tuesday, December 16, 2014 8:44:32 PM UTC+1, Tim Graham wrote: > > Hi Radjino, > > 1. 1. Do all developers (contributors and core developers) have to >> submit a code review for every change? I’m asking because many projects >> only review

Re: ANN: Django website redesign launched

2014-12-16 Thread Brad Rice
I noticed today when I went in to look something up. I like it. On Tuesday, December 16, 2014 11:12:54 AM UTC-5, Jannis Leidel wrote: > > Hi everyone, > > We're incredibly proud to share with you the new design of the Django > website, the documentation and the issue tracker. > > This is a

Re: Devils advocate question

2014-12-16 Thread Tim Chase
On 2014-12-16 13:15, Sayth Renshaw wrote: > With django what benefit do I get for the extra build time over > Drupal or Rails. Configuration I assume but real world benefits not > my/our joy of configuration. You're asking about two separate products. Over Rails, the feature-sets are fairly

CSRF Failing after server upgrade.

2014-12-16 Thread Ed Rahn
Hello, I get CSRF 403 errors intermittently while logging in. If I remove just the cookies for the site, it doesn't fix it. If I remove all the cookies on the browser or start in an incognito mode tab it works. Also some first time users get the error Only my clients seem to be getting this, I

Re: Devils advocate question

2014-12-16 Thread Avraham Serour
What extra build time? you mean like https://www.django-cms.org/en/ or http://mezzanine.jupo.org/ ? On Tue, Dec 16, 2014 at 11:15 PM, Sayth Renshaw wrote: > > With django what benefit do I get for the extra build time over Drupal or > Rails. Configuration I assume but

Devils advocate question

2014-12-16 Thread Sayth Renshaw
With django what benefit do I get for the extra build time over Drupal or Rails. Configuration I assume but real world benefits not my/our joy of configuration. Why hasn't a cms been designed off django or python? A language cultural effect yoy would think python would be more stable than

Re: Swampdragon, the realtime framework for Django seems interesting. But will it scale ?

2014-12-16 Thread Aaron Reabow
Work on his site (yes) -- 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

Content using {% include %} not appearing on detailed page Django

2014-12-16 Thread Andrew Nguyen
I'm having some problems getting some of my content to appear on my detailed page view, which I have in two separate html files that are being pulled in using {% include %}. Inside my two files, slider.htmland sidebar.html, I'm using tags like {{article.title}} to grab specific information I

Re: Questions about code reviews and static analysis tools for TU Delft research

2014-12-16 Thread Tim Graham
Hi Radjino, 1. 1. Do all developers (contributors and core developers) have to > submit a code review for every change? I’m asking because many projects > only review changes made by contributors. > While there is nothing that prevents core developers from committing a patch without

Re: control attributes on form fields in formset

2014-12-16 Thread Brad Rice
Ah, found it on the django read the docs site. This is what I did in my inline formset factory BookFormset = inlineformset_factory(Author, Book, extra=3, max_num=3, widgets={'name': forms.TextInput(attrs={'class':'u-full-width'})}) On Tuesday, December 16, 2014 8:34:25 AM UTC-5, Brad Rice

Re: ANN: Django website redesign launched

2014-12-16 Thread Jannis Leidel
> On 16 Dec 2014, at 19:07, Tom Evans wrote: > > Good work, it looks a lot cleaner. > > However: > > In the documentation, the page title "Documentation" always used to > link back to the index page for the current documentation version. Now > it appears there is

Re: ANN: Django website redesign launched

2014-12-16 Thread Jannis Leidel
> On 16 Dec 2014, at 18:37, Tim Chase wrote: > >> As you can imagine, there will be bugs, so please bear with us and >> report issues to the issue tracker at >> https://github.com/django/djangoproject.com/issues > > I appreciate the clarification/distinction

Re: ANN: Django website redesign launched

2014-12-16 Thread Jannis Leidel
> On 16 Dec 2014, at 17:17, Fred Stluka wrote: > > Jannis, > > Care to summarize what has changed? At first glance, it looks like > mostly the same excellent content and the same sensible > organization of info, with the same useful mechanisms like the > ability to easily

Re: ANN: Django website redesign launched

2014-12-16 Thread Ari Davidow
>On a related note, the larger font and increased spacing also means >that the line length before wrapping is reduced. The maximum line >length in a code block in the documentation is around 73 characters, >compared to around 97 characters in the old style. Since, at text sizes, the eye can track

Re: ANN: Django website redesign launched

2014-12-16 Thread Tom Evans
Good work, it looks a lot cleaner. However: In the documentation, the page title "Documentation" always used to link back to the index page for the current documentation version. Now it appears there is only a link in the "You are here" section of the sidebar? The cleaner look makes much less

Re: ANN: Django website redesign launched

2014-12-16 Thread Tim Chase
> As you can imagine, there will be bugs, so please bear with us and > report issues to the issue tracker at > https://github.com/django/djangoproject.com/issues I appreciate the clarification/distinction between Django-Users and Django-Developers mailing-lists. I don't remember them being this

Re: ANN: Django website redesign launched

2014-12-16 Thread Carol Willing
Thanks to all that made this happen. Much more user friendly. Bravo! > > -- 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: Django don't load css

2014-12-16 Thread Jovana Andjelkovic
Thank you very much,Vadims helped me. The problem wasn't related to the Django,I installed NuSphere and it changed values in os registry. In regedit.exe I changed all css to text/css,restarted PC and css is now working fine... Here is registry fix,if someone who is having this type of problem

Re: ANN: Django website redesign launched

2014-12-16 Thread Jose Regalado
NIce!. 2014-12-16 11:39 GMT-04:30 Jannis Leidel : > Hi everyone, > > We're incredibly proud to share with you the new design of the Django > website, the documentation and the issue tracker. > > This is a long time coming and we couldn't be happier to finally ship it :) > > As

Re: ANN: Django website redesign launched

2014-12-16 Thread Fred Stluka
Jannis, Care to summarize what has changed? At first glance, it looks like mostly the same excellent content and the same sensible organization of info, with the same useful mechanisms like the ability to easily flip between different versions of the docs. Are the changes mostly to do with CSS

ANN: Django website redesign launched

2014-12-16 Thread Jannis Leidel
Hi everyone, We're incredibly proud to share with you the new design of the Django website, the documentation and the issue tracker. This is a long time coming and we couldn't be happier to finally ship it :) As you can imagine, there will be bugs, so please bear with us and report issues to

Re: InMemoryUploadedFile object retrieved from request.FILES got closed automatically on django 1.7

2014-12-16 Thread Hong Yi
Many thanks for the detailed explanation, Russ! Really appreciate it. Now I understand much better why django 1.7 enforces this. I will follow your advice to re-structure my code to make it work on django 1.7. Best regards, Hong On Monday, December 15, 2014 6:55:04 PM UTC-5, Russell

Re: Django 1.7: How to migrate data between two external apps

2014-12-16 Thread Markus Holtermann
Hey John-Scott, I'm afraid but I don't see an obvious solution. There are 2 ways you could work on the issue, I don't like either: 1. remove all references to the "foo_tag" app from all migration files 2. make use of the MIGRATION_MODULES settings: 2.1. create a package

Questions about code reviews and static analysis tools for TU Delft research

2014-12-16 Thread Radjino Bholanath
Hi everyone, I'm doing research on code reviews and static analysis tools at the SERG group of the Delft University of Technology. Currently, we want to give an overview of the usage of code review and static analysis tools in open source

control attributes on form fields in formset

2014-12-16 Thread Brad Rice
When I do a model form I can control the fields with attributes using name = forms.CharField(widget=forms.TextInput(attrs={'class':'u-full-width'})) How do I do something like that in an inline formset? I don't see where I can set attributes. -- You received this message because you are

Re: Need to search through several tables using one model

2014-12-16 Thread Collin Anderson
Hi, The new link isn't working either. Collin On Monday, December 15, 2014 8:45:10 AM UTC-5, Damjan Dimitrioski wrote: > > Oh, sorry about that, it was se to an hour, here is an updated one: > https://dpaste.de/q9sq > > On Mon, Dec 15, 2014 at 2:13 PM, Vijay Khemlani >

Re: Odd subform caching problem

2014-12-16 Thread Collin Anderson
Hi, It's probably better to handle the default in the save() method. def save(self, **kwargs): if not self.id: self.id = get_entity_id() super(Entity, self).save(**kwargs) Or, better yet, just remove the "id = models.BigIntegerField" line completely and let django give you a

Re: Django don't load css

2014-12-16 Thread Jovana Andjelkovic
Thank you,I will.I'll let you know if I solve my problem... -- 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

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-16 Thread Tom Christie
Thanks Cal. If you do get the time that'd be fab, positive criticism is always useful. Equally please don't feel obligated - sure you weren't expecting to have to give a blow-by-blow breakdown of pain points you found. :p May be worth taking any further convo over to the django-rest-framework

Re: Django don't load css

2014-12-16 Thread Héctor Urbina
Vadims Briksins seems to have had the same problem in Django 1.6.4. You could contact him and ask him if and how he resolved it. On Monday, December 15, 2014 6:38:50 PM UTC-3, Jovana Andjelkovic wrote: > >

Re: Swampdragon, the realtime framework for Django seems interesting. But will it scale ?

2014-12-16 Thread Shazwi Suwandi
Do the demos on the main site work for any of you? On Tuesday, 16 December 2014 12:22:06 UTC+8, Aaron Reabow wrote: > > the thing i am trying to figure out is how this works with my existing > setup. > > I get that you need to install redis. but how does the rest of the stack > change > > mine

Re: Seeking for advise on usage MySQL together with MongoDB

2014-12-16 Thread Cal Leeming
Hi Tom, Apologies for the slow answer, give me a week or so and I'll spend some time putting a proper detailed reply/breakdown together in a new thread. Cal On Sat, Dec 13, 2014 at 11:12 AM, Tom Christie wrote: > > Hi Cal, > > > DRF has it's own problems and (again

Re: Models not appearing in db. Am I missing something?

2014-12-16 Thread Mario Gudelj
Pgadmin3 is the bomb. Try that gui tool On 16/12/2014 4:40 pm, "Shazwi Suwandi" wrote: > Hey guys, > > I figured it was a problem with the app I'm using for the db. I went to > use another app and now the tables are showing. Silly me. Thanks Mario and > David for your

Re: Thinking about EAV database model for flexibility. How (in)compatible is it with the django model?

2014-12-16 Thread Felipe Faraggi
Thanks for your responses Jamie and Erik, We've since reconsidered and will in fact, be creating a standard relational structure. Again, thanks for your input and feedback On Tuesday, December 16, 2014 2:18:12 AM UTC+1, Jamie Lawrence wrote: > > Just to add to Erik's very good advice on

Re: Django-compressor manifest.json problem on Heroku

2014-12-16 Thread Guy Tamir
Hi, The COMPRESS_OFFLINE_MANIFEST is to set the name of the manifest, default is manifest.json this issue isn't that the server can't find the manifest, it finds the correct one but downloads (I think) it every request.. On Tuesday, December 16, 2014 4:49:22 AM UTC+2, Collin Anderson wrote: >