Re: Django 1.5.1 - Mysql - Setting

2014-09-12 Thread Muhammad Ahmed
Thank you very much Collin Anderson. On Friday, 12 September 2014 21:25:42 UTC+5, Collin Anderson wrote: > > https://pip.readthedocs.org/en/latest/quickstart.html > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

develeopment servers stops at syntax error.

2014-09-12 Thread Lee
Providing the actual error and traceback would be the only way we can really help you. Could you paste that here? Thanks -- 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

Return to paginated ListView page after update

2014-09-12 Thread James Y
It must be more simple than the nothingness that searching google is showing me... how can I to get back to the last page (say page 2: http://127.0.0.1:8000/articlelist/2, which works) in a ListView after an UpdateView. I can go to a random page - 10 in the below UpdateView - but how do I

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
I just looked at my ticket and it was marked as a duplicate of issue 2201. http://bugs.jython.org/issue2201 On Fri, Sep 12, 2014 at 3:11 PM, Michael A. Martin wrote: > The same application works fine on jython2.7b2 and Django 1.7 > > I followed a tutorial step by

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael A. Martin
The same application works fine on jython2.7b2 and Django 1.7 I followed a tutorial step by step and it fails on a simple example. It isn't a matter of not being able to access the CSS. It appears as if there is some loop issue or connection issue. I didn't try to run a debugger against it

develeopment servers stops at syntax error.

2014-09-12 Thread Yunus Koçyiğit
when i change source code of a model at django 1.7 with python 2.7. development server stops immediately when a syntax error occurs. am i need option with runserver ? also in my settings.py debug= true -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread James Schneider
When you say "won't render", do you mean that a stack trace error is thrown and the server quits, or that a page comes up but your CSS/JavaScript goodies aren't applied/working? If your problem is the latter: Both CSS and JS are rendered client-side, so all Django is doing is creating links to

Right way to create proxy to User model in Django 1.7

2014-09-12 Thread Izabella Gál
Hi! Could you, please, help me to find the right way to create proxy to User model in Django 1.7? In 'myapp.models.py' I have a MyUser class which should inherit from the user model specified in settings.AUTH_USER_MODEL: If I am using the get_user_model() method, I receive the

django 1.7 Groups

2014-09-12 Thread John Rodkey
How can I modify the auto generated auth groups to include a foreign key? We wish to add a foreign key to show group ownership to a company table. For example, Company A could create a librarians group and assign users. Company B could create a brokers group and assign users -- You received

Re: extremely slow django migrations

2014-09-12 Thread John Schmitt
On Wed, Sep 10, 2014 at 02:06:09PM -0500, Andrew Pinkham wrote: > On Sep 10, 2014, at 12:25 PM, John Schmitt wrote: > > Which file? What do I look for? What do I 'verify' and to what should it > > be compared? > > When you run `makemigrations app_name`, the output will

Re: How to express a seemingly straightforward upate in the ORM?

2014-09-12 Thread Benjamin Scherrey
I should assume then that this is something that the existing Django ORM cannot model? -- Ben On Mon, Sep 8, 2014 at 1:06 PM, Benjamin Scherrey wrote: > I've got an application that needs to frequently update a boolean value > (ChannelItem.channel_stocks) against a

Re: Issue with models.FilePathField in Django 1.7 Admin?

2014-09-12 Thread Benjamin Scherrey
Yes that all works. My unit tests and when reviewing the resulting objects via the django shell show everything is absolutely working and the content of my FilePathField data is correct. It's only the Admin UI that is giving me fits. thanx, -- Ben On Thu, Sep 11, 2014 at 11:19 PM, Collin

Re: Install Django Apps via Admin Interface

2014-09-12 Thread Andreas Kuhne
I really can't see a usecase for something like this. The only time I want to install new packages to my django system is on my dev server while developing something. I would also want the change to be permanent, therefore writing it in my settings.py file. I often forget to add the package to

Re: Django 1.5.1 - Mysql - Setting

2014-09-12 Thread Collin Anderson
https://pip.readthedocs.org/en/latest/quickstart.html -- 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

Re: Install Django Apps via Admin Interface

2014-09-12 Thread Collin Anderson
> > And you would expect that to happen just through admin? Would you trust > your users really to do all > that - basically giving full control what users installs to your system > without discretion? Installing apps via the admin would be useful when the user is the same person as the

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
After trying so many things regarding the settings in Django I found that the issue isn't with the official 1.7 stable release. I found that the current official version of jython2.7b3 doesn't work with Django. With the jython2.7b3 version I was able to start Django server, but the server is

Re: Django 1.5.1 - Mysql - Setting

2014-09-12 Thread Muhammad Ahmed
Thank you very much Fred for your detailed answer. I have never used pip. I will be pleased if you kindly provide a reference / tutorial link to understand pip. Or the direct link to adapter. I am using Win7 x86. Thanks indeed for your help. On Thursday, 11 September 2014 21:34:25

Re: Install Django Apps via Admin Interface

2014-09-12 Thread Jani Tiainen
Hi, It seems that you're confusing Django to to be something that it isn't. Django is a web application framework. In short meaning that it is set of (Python) libraries that are used to build web applications. Django app is usually reusable piece of code that brings some (usually common)

Re: Install Django Apps via Admin Interface

2014-09-12 Thread Thomas Güttler
Am 10.09.2014 um 11:07 schrieb Avraham Serour: you can't, you would need to write something yourself capable of doing this. that's sad. in any case why would you want to do that? Convenience. It would be great if some admin plugin could do this: Connect to pypi and list all available

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
https://www.youtube.com/watch?v=JZVPbHilwLI On Thu, Sep 11, 2014 at 11:59 PM, Michael Martin wrote: > opps, I forgot the url > com/watch?v=JZVPbHilwLI > > On Thu, Sep 11, 2014 at 11:52 PM, Michael Martin > wrote: > >> I know there has to be

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
opps, I forgot the url com/watch?v=JZVPbHilwLI On Thu, Sep 11, 2014 at 11:52 PM, Michael Martin wrote: > I know there has to be something wrong with either jython2.7b3 or with the > django 1.7 releases. What I did was follow someones tutorial to show where > I start

Re: Django 1.7 has issues rendering pages on laptop

2014-09-12 Thread Michael Martin
I know there has to be something wrong with either jython2.7b3 or with the django 1.7 releases. What I did was follow someones tutorial to show where I start experiencing problems with rendering. If do tutorials 2-5, in the middle of tutorial 5 around 6:51 in the video is where Django fails to