On 13/02/2018 11:09 AM, Tom Tanner wrote:
I have a Django project that I want to work on with another computer.
Do I need to backup my current project's Postgres database and restore
it on the other computer's Postgres database to get my project up and
running there? Or is there a Django way
You should be using some kind of git system. Push your code to the repo
and pull it on the new machine. There should be no really concern switching
machines.
If your current DB has data that you need, export them and then import.
You need to know how to do this for production code, so you
It depends on where you want to house your app.if you need to house your
app on the new machine. Just pip install from your requirements.txt file,
then copy your django project to your new machine.
On 13/02/2018 11:10 AM, "Tom Tanner" wrote:
> I have a Django
Hi,
you can use rsync for your project's source code.
Etienne
Le 2018-02-12 à 19:09, Tom Tanner a écrit :
I have a Django project that I want to work on with another computer.
Do I need to backup my current project's Postgres database and restore
it on the other computer's Postgres database
I have a Django project that I want to work on with another computer. Do I
need to backup my current project's Postgres database and restore it on the
other computer's Postgres database to get my project up and running there?
Or is there a Django way to do this?
--
You received this message
Hi,
Below is the code for Javascript from Django template Google Maps API. I
need to be able to save this in my Django models with JSON response. I am
new user so an example will be really a great help.
Precisely I need to be able to save coordinates like latitude and longitude
and then convert
Use a storage/caching layer of CUIDs instead? http://usecuid.org/
Aha
On Mon, Feb 12, 2018 at 11:24 AM, M Mackey wrote:
> I've run into a strange issue with using a UUID as primary key, and I'm
> hoping we can either verify this is a bug, or figure out what I've done
> wrong.
>
You may want to check out sqlalchemy they provide a pretty good
documentation on what you are aftering
http://docs.sqlalchemy.org/en/latest/dialects/mssql.html
>From you view you can defile a function like so.
view.py
from sqlalchemy import*
from django.shortcuts import render
def
I'm trying to build an email notification system, and would appreciate some
guidance.
Triggers:
1. New item created & user assigned to instance
2. Existing item edited & user assigned to instance
3. Comment added to object where user is involved
4. Item date field expires & user
I've run into a strange issue with using a UUID as primary key, and I'm
hoping we can either verify this is a bug, or figure out what I've done
wrong.
I've got a core model object with a UUID for it's primary key. (Generated
external to this system, thus using that for when additional
Hi everyone,
I'm new to Django and currently working on a very simple app. It's
basically a note app, a bit like a Trello board but aimed at creating
user-story cards for software development teams (code at
https://github.com/Lylio/scrumbuddy_project).
I made a mock-up in Photoshop of how
Thanks, this fixed my issue.
On Tuesday, 12 April 2016 04:28:21 UTC+1, thinkwell wrote:
>
> I'd parked this problem for quite some time, until it finally became
> incontestably necessary to wrestle the issue to the ground.
>
> What I found, after many hours of experimenting - too much like the
Hi Mirek,
That's a good point. But for debugging and development purposes, i
prefer using mercurial or git to upgrade my packages. Also, having
access to the source tree while developing your app makes debugging more
convenient than with the python eggs format.
Cheers,
Etienne
Le
>> inderjeet
What about this tutorial:
https://simpleisbetterthancomplex.com/series/beginners-guide
(if you use it and will be confused about (old)virtualenv vs. python -m
venv, read the discussion bellow the article)
My tip for IDE: PyCharm. PyCharm Community Edition for beginning.
And my
>> inderjeet
What about this
tutorial: https://simpleisbetterthancomplex.com/series/beginners-guide
(if you use it and will be confused about (old)virtualenv vs. python -m
venv, read the discussion bellow the article)
My tip for IDE: PyCharm. PyCharm Community Edition for beginning.
And my
Hallo Etienne.
System Python and system python modules are provided for all system
applications written in Python (made compatible with distributed
python+modules versions).
Of course you can use it for your applications too, however you have no
control over system upgrades. After a system
Hi Weifeng,
I think the problem is here:
django.urls.exceptions.NoReverseMatch: Reverse for
'nmm_tokenservice_userprofile_change' with arguments '('',)' not found. 1
pattern(s) tried: ['admin/nmm_tokenservice\\/userprofile\\/(?P.+
)\\/change\\/$']
By all the Django is saying, you're trying to
Hi Weifeng,
plz show us your urls.py...
Etienne
Le 2018-02-11 à 22:20, Weifeng Pan a écrit :
I got this wired issue. who can help.
Python 3.6
Django Latest 2.0.2
following are stack trace---
Internal Server Error: /admin/nmm_tokenservice/userprofile/add/
Traceback
18 matches
Mail list logo