Hello guys,
I'm in the process of migrating from self managed MySQL DB to Xeround cloud
database and would like to synchronize my objects. The sync is only in one
direction: OLD DB -> NEW DB, then switch to the new DB entirely.
South mentions data migrations which are in fact data transformatio
I generated a models.py from an existing SQLite database using
django-admin.py inspectdb but it is missing the foreign key definitions.
https://docs.djangoproject.com/en/dev/ref/django-admin/#inspectdb says it's
not supported in SQLite (only PostgresSQL and some MySQL scenarios) but
then I dug
Hello,everyone.
I met some problems,I really hope that anyone can help me.
*
*
I had writen some code in below:
*DICT_INDIUSERFORUN_LIST_BY_TYPE* = {}
def get_indiuserforum_list_by_type_form_cache(obj,obj_type,parentnode):
if parentnode == "-1":
key = "%s_%s_%s"%(obj.id,obj_type,"00")
Hi,
I'm sure this question has been asked before, but I thought I'd throw it
out there as it's something I've come across in a project I'm working on at
present.
What is the best way to include a request object in a custom
template_loader?
The reason I need the request object available in my
Why not just professionally answer the question asked?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/cv7rds5K84EJ.
To post to this group, send email to dj
Would you tell the steps you followed to make that work?
Thanks in advance.
Regards,
Sibi
On Tuesday, November 15, 2011 12:14:53 PM UTC+5:30, Daryl wrote:
>
> Thanks for that Brett.
> I ended up finding what I was after, django-httpproxy.
> https://bitbucket.org/bkroeze/django-http-proxy
> I
You can add GIS support to your existing project, but as you suspected,
your current db will not be sufficient. Unless someone knows how to
convert an existing database, i believe you'll need to set up a new
database from the postgis template, and move all your data to it. That
process might
Do you already have data on the new database which you need to preserve?
If not, would a simple SQL dump work?
_Nik
On 10/16/2012 2:15 AM, Alexander Todorov wrote:
> Hello guys,
> I'm in the process of migrating from self managed MySQL DB to Xeround
> cloud database and would like to synchronize
I integrated the Django Admin datewidget into my front end. I want to
change the appearance and some text in the calendar that appears. So, I
found out that somehow, the script that is being invoked is
DateTimeShortcuts.js. I tried to change the code through su vi and saved
the changes, but n
hi, im using django 1.4 and when i follow you tutorial
http://lightbird.net/dbe/todo_list.html associating users with tasks did
not work well
user = models.ForeignKey(User, blank=True, null=True)
for item in Item.objects.filter(created=obj):
if not item.user:
item.user = request.user
item.save()
i'am using django 1.4, and i just want to get currently logged in user,and
associating those users with tasks.
this is my model.py:
class Reminder(models.Model):
domain_name = models.CharField(max_length=40)
server_package = models.ForeignKey(Paket)
server_location = models.ForeignKey(Lokasi)
c
I integrated the Django Admin datewidget into my front end. I want to
change the appearance and some text in the calendar that appears. So, I
found out that somehow, the script that is being invoked is
DateTimeShortcuts.js. I tried to change the code through su vi and saved
the changes, but n
Could you please provide further details about what didn't work or what
errors you encountered?
Thanks,
_Nik
On 10/16/2012 9:25 AM, go scholarship wrote:
> hi, im using django 1.4 and when i follow you tutorial
> http://lightbird.net/dbe/todo_list.html associating users with tasks
> did not work
I have, as far as I can tell. I've created a group with add, edit, and
delete permissions on the model, and made the user a member of that group.
The user can't edit anything. I've deleted the group and just assigned
add, edit, and delete privileges to the user, and the user still can't edit
I am starting to customise the admin classes for my models so that I can
provide extra feedback to the user.
For example I want to report - in the admin page - useful information about how
the system will interpret the current state of the object being edited.
I'm doing this by using readonly
Out of curiosity (obviously it wouldn't be a good solution), if you give
the account which /doesn't/ work superuser status, is that account then
able to edit content?
_Nik
On 10/16/2012 2:08 PM, Shawn H wrote:
> I have, as far as I can tell. I've created a group with add, edit,
> and delete perm
Hi,
I am trying to send key:value pair to perl script via sub-process module .
I just tried with simple example it works fine. How can I pass key:value
pair to perl script .?
Ans also how can send multiple input fields value to perls script> Below is
my code
view.py
--
I used formsets for different forms in my project, it displays the
forms to user but on submitting the form it gives the following error:
'chem_analysisFormFormSet' object has no attribute 'save'. I don't
know how to save the formset in the views. Here is the code of my
views file of my project:
18 matches
Mail list logo