t; @receiver(post_migrate)
> def sync_site(plan, **kwargs):
> # A migration of the `django.contrib.sites` app was applied.
> if plan and any(migration.app_label == 'sites' for migration, _ in
> plan):
> # ... perform actions
>
> Let me know if you nee
Hi All,
I have a small Django app that uses the sites framework and has a post_save
signal on Site that does some bits and bobs when a new site is created. On
1.9.7, when you run migrations for the first time, it correctly triggers
the post_save signal. However, after upgrading to 1.10.1, dro
Thanks for the info guys, after I slept on it I went a different way.
Used a model manager that added a column to the row (p.js_timestamp =
time.mktime(p.datetime.timetuple()) * 1000)
Matt
On 29 Nov, 18:16, Matt Thompson wrote:
> Hello guys and girls,
>
> I'm looking to use Flot
Hello guys and girls,
I'm looking to use Flot to graph some data I have in my Django app.
I'd like to graph a time based query and need to get the time is
Javascript format (milliseconds since 01/01/1970).
I can get it into seconds\unix format, this is seconds since
01/01/1970, but not millisecon
4 matches
Mail list logo