Hello andrew,
Thank you for the reply, found where my problem was on my url.py i had done
this
url(r'^resource/(?P)', ResourceDetailView.as_view(),
> name='resource_detail'),
>
instead of this
> url(r'^resource/(?P\d+)', ResourceDetailView.as_view(),
> name='resource_detail'),
>
i was l
Hi Eddilbert,
What are the URL patterns for the two views? I suspect a problem with
`pk_url_kwarg`, but I am surprised by the error output.
If that is not the problem: Does this error occur if you do not override the
`form_class` of `ResourceCreateView`? Could you supply the code for
`CreateRes
Hello All,
i get the following error when i try to load a model instancce using the
based DetailView to load the model instance on template after a CreateView
of the same model instance
> Environment:
>
>
> Request Method: GET
> Request URL: http://localhost:8000/management/resource/25
>
> Djan
List,
I've been using django-nose for a long time but now I'm trying to
specify command line parameters for "python manage.py test" that should be
passed to "nose" and can't find out how.
So, the question is: How do you pass nose parameters from the command
line? In an early blog post
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 inform you of the
creation of at least one migration file, typically in
project_name/app_name/mi
On Wed, Sep 10, 2014 at 12:08:35PM -0500, Andrew Pinkham wrote:
> Hi Jesse,
...
> Quick heads up: `syncdb` is deprecated in Django 1.7. If you're using Django
> 1.7, you should first call `makemigrations`, verify the contents of the file,
> and then call `migrate` to build/alter the database. How
Hi Jesse,
Yes, in certain cases, native Django migrations may run very slowly.
https://code.djangoproject.com/ticket/22608
My understanding is that this should not be a problem unless you have a huge
number of apps and models (note how the second benchmark from Paul in the
ticket has 200 models
I have a model with a FilePathField declared as follows:
ftp_path = models.FilePathField(path=settings.BASE_SFTP_DIRECTORY,
max_length=250, allow_files=False,
recursive=True, allow_folders=True,
blank=True)
In my save command
Thanks Collin for the tip. I printed out the cookies and can see both csrf
and sessionid cookies, turns out the problem was with my qooxdoo code. All
fixed now but thanks I was not sure if sessionid is sent out automatically
by the browser when within the same domain.
On Wednesday, September 10
First of all - I would advice you to downgrade your production site back to
the working django version you know and *after that , Check your
site compatibility (including all third party libs and apps) *to django
upgrade in a staging environment..
On Wednesday, September 10, 2014 8:32:24 AM UT
There's an ancient ticket about this:
https://code.djangoproject.com/ticket/897
and a workaround on stackoverflow:
http://stackoverflow.com/questions/9879687/adding-a-manytomanywidget-to-the-reverse-of-a-manytomanyfield-in-the-django-admi
--
You received this message because you are subscribed
Hello,
I have 2 questions:
1. How in Robot admin page do I limit Applications to only those which
belong to the same Project as Robot?
2. How can I use a better widget in ApplicationInline in Robot page?
Plus if you have any comments on the structure of models, be my guest.
I have following stru
you can't, you would need to write something yourself capable of doing this.
in any case why would you want to do that? adding an app to a project may
involve not only installing the python package and adding the app to
INSTALLED_APPS, but also adding configurations to settings.py, running
syncdb/
On Wednesday, 10 September 2014 09:06:20 UTC+1, ngangsia akumbo wrote:
>
> Please why am i having this error
>
> (djangoapps)yems firstapp # ls
> firstapp manage.py Procfile
>
>
>
> nano Procfile
> web: gunicorn hellodjango.wsgi --log-file -
>
> Please i need some help
>
>
Your project ap
thanks i have solved it
On Wednesday, September 10, 2014 9:06:20 AM UTC+1, ngangsia akumbo wrote:
>
> Please why am i having this error
>
> (djangoapps)yems firstapp # ls
> firstapp manage.py Procfile
>
>
> (djangoapps)yems firstapp # foreman start
> 08:47:00 web.1 | started with pid 4491
> 08:
i am following this tutorial
https://devcenter.heroku.com/articles/getting-started-with-django
On Wednesday, September 10, 2014 9:06:20 AM UTC+1, ngangsia akumbo wrote:
>
> Please why am i having this error
>
> (djangoapps)yems firstapp # ls
> firstapp manage.py Procfile
>
>
> (djangoapps)yems
Please why am i having this error
(djangoapps)yems firstapp # ls
firstapp manage.py Procfile
(djangoapps)yems firstapp # foreman start
08:47:00 web.1 | started with pid 4491
08:47:00 web.1 | exited with code 3
08:47:00 system | sending SIGTERM to all processes
(djangoapps)yems firstapp # nan
17 matches
Mail list logo