Hi,
Problem: Empty migration doesn't show user friendly message.
When i run "python manage.py migrate" with no new migrations to be
applied it show me error message "AttributeError: '_Meta' object has no
attribute 'model_name'" instead of showing user friendly message "no
migration to
Little explanation: Failed - import into default database. All migration
are complete, but in default database.
--
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
Hi, guys.
Problem: django not loading db router.
In router.py
https://docs.djangoproject.com/en/1.8/topics/db/multi-db/#database-router
and pref settings.py
Migrations from 2 other app without --database flag are failed.
Migrations from one app with custom model field in others models are
I am on the exact same situation as the one described in the documentation
here:
https://docs.djangoproject.com/en/1.7/topics/class-based-views/mixins/#using-formmixin-with-detailview
I have followed the documentation but I get the following exception:
__init__() takes exactly 1 argument (3
> On Jul 27, 2015, at 11:48, Ingo Hohmann wrote:
>
> Thank you.
>
> It's the age old problem between management and development. I'd say develop
> on a small server, and then test how far it can go. But someone wants to know
> _now_.
“Thousands of entries” is
> Den 27/07/2015 kl. 20.48 skrev Ingo Hohmann :
>
> Thank you.
>
> It's the age old problem between management and development. I'd say develop
> on a small server, and then test how far it can go. But someone wants to know
> _now_.
Well, then tell them that the
Thank you.
It's the age old problem between management and development. I'd say
develop on a small server, and then test how far it can go. But someone
wants to know _now_.
Am Montag, 27. Juli 2015 19:04:26 UTC+2 schrieb alvaro.rosa1985:
>
> Não entendi nada.
>
> Erik Cederstrand
Hi all,
using Django 1.8.3, at this time I have code like this:
try:
mm = TestMonthModel.objects.select_for_update().get(jahr=Jahr,
monat=Monat)
except TestMonthModel.DoesNotExist:
mm = TestMonthModel(jahr=Jahr, monat=Monat)
# A *long* computation, eventually
> I think what you want is something like:
>
> # team URL's
> url(
> regex=r'organization/(?P\d+)/team/',
> view=include('project.teams.urls', namespace='organization-team',
> app_name='team'),
> ),
>
> # competition team listing - project.competitions.urls
> url(
>
Não entendi nada.
Erik Cederstrand escreveu:
>
>> Den 27/07/2015 kl. 07.32 skrev Ingo Hohmann :
>>
>> Hi,
>>
>> I'm new to django, and I would like to get a hint about system requirements.
>> If you know about any helpful links, these are
I have a need for a more robust permission system for objects in Django
than the one provided by it in the core distribution.
I want to have users and groups and each to have read, write and edit
permissions but I have no idea how to go about how to implement this.
I was thinking of having a
On 07/26/2015 10:46 AM, Tobias McNulty wrote:
> I just ran into this issue as well when updating an old project to
> Django 1.8. The only suitable workaround I found was to update first to
> Django 1.7 and fake the initial migrations for my apps (presumably
> Django's as well, though it seems to
Hi Maciej,
On 07/27/2015 07:03 AM, Maciej Gol wrote:
> I've been recently working (porting to Django 1.8) on a project where we
> need to use a few transactions in a single request, and these
> transactions cannot be correctly handled by the `atomic` decorator due
> to functions calls nesting.
> Den 27/07/2015 kl. 07.32 skrev Ingo Hohmann :
>
> Hi,
>
> I'm new to django, and I would like to get a hint about system requirements.
> If you know about any helpful links, these are welcome, too. So far what I
> dog up by googlng wasn't too helpful.
>
> Currently
Can someone please help me to resolve this.
Have basic understanding on this and would love to fix this issue, cannot
find an answer that would suit my project.
main details are here
I think what you want is something like:
# team URL's
url(
regex=r'organization/(?P\d+)/team/',
view=include('project.teams.urls', namespace='organization-team',
app_name='team'),
),
# competition team listing - project.competitions.urls
url(
regex=r'^(?P\d+)/team/',
I am not sure if there's a bug in Django or if it's user error that's
causing these problems. If I run syncdb on the Django 1.6 with the
tutorial, then upgrade directly to 1.8, all seems okay:
$ python manage.py migrate --fake-initial
Operations to perform:
Apply all migrations: contenttypes,
Hey!
I've been recently working (porting to Django 1.8) on a project where we
need to use a few transactions in a single request, and these transactions
cannot be correctly handled by the `atomic` decorator due to functions
calls nesting. Basically, we are sending celery tasks at the end of
I would suggest you to convert ppt to html files and use reveal.js to show
slides. There is also github repo. Just google django and reveal.js
Amitt Bhardwj
Blog: amittbhardwj.wordpress.com
Github: https://github.com/amittbhardwj
On Jul 27, 2015 4:43 PM, "Selva sundar raj"
Hi,
I'm new to django, and I would like to get a hint about system
requirements. If you know about any helpful links, these are welcome, too.
So far what I dog up by googlng wasn't too helpful.
Currently we have a
- Database with mostly static entries in the thousands
- it should be possible
i want to show slides of ppt using django framework any embed package is
there to view ppt
--
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
It seems that my last message didn't submitted for some reason, but
whatever. I found the problem: it was the *MEDIA_ROOT*. And because of such
a noob like me.
*Correct:*
os.path.join(BASE_DIR, 'myApp/media/')
*Wrong:*
os.path.join(BASE_DIR, '/media/')
*Also correct (media is below
22 matches
Mail list logo