Any example of how to do this or any link that can help me with that?
On Tuesday, July 9, 2013 3:00:04 PM UTC+3, Giorgos Kontogiorgakis wrote:
>
> Hello everyone!
>
> I am trying to add a button or a URL on my main admin Django interface so
> i can call a script from this but
Hello everyone!
I am trying to add a button or a URL on my main admin Django interface so i
can call a script from this button/url without executing this by
terminal/command line.Is there any easy way to do this?I am pretty new to
Django and python and i had a break on my project for around a m
Hello everyone!
I am kinda new to python and Django as well so many things still confuse
me!I have my Django admin interface with a database on it!
The thing i want to do now is the following:
I want to be able to run a script from my Djano admin interface either by
pushing a "Start" button or c
Thank for all this but i did something terrible and i am afraid of losing
all the work i did!
I was trying to make the dependecies between my tables as i said before!I
was trying to solve this and i used "./manage.py migrate myapp 0001" and
now i lost everything,my database is empty and i can't
I was trying to make the dependecies between my tables and i had an
ValueError!I was trying to solve this and i used "./manage.py migrate myapp
0001" and now i lost everything,my database is empty and i can't even login
in my django webinterface:( I get this error "
DatabaseError at /admin/
(1
Hi,
i have this model
class Linkmap(models.Model):
vpathid = models.IntegerField(db_column='VPathID') # Field name made
lowercase.
interfacein = models.CharField(max_length=20L, db_column='InterfaceIn')
# Field name made lowercase.
#Every Link belongs to a LinkMap
#links = models.Fo
That's exactly what i did!
In my Nodes table i have this one "domains = models.ForeignKey(Domains)" so
now i can see the dependecy i want?Or? Is there any way when i press
"Domains" on my interface to be able to see the "Nodes" table graphically?
--
You received this message because you are sub
Thanks a lot for your help mate!It was silly by me that i did the steps in
wrong order!I added the foreign-key successfully now!But i have 1 more
question if you can help me!I already have,let's say,a table named Domain
and a table name Nodes and i want to make a dependecy on my webinterface
wh
Hi everyone,
I'm trying to add a single foreign Key on an existing Database using
Django.I searched on internet and i found out South migration.I installed
South and i tried to add the Foreign Key but when i call "./manage.py
schemamigration myapp --auto" (myapp is the of my existing app) i get
Hi there!
Thanks a lot guys for all your advice and help!You were right from the
begining!I am soo new at Django and python and my supervisor pushed me to
do this project so i want some fast solutions and i skipped many important
points!Thanks again for your time and help and i'll contact you s
Hi there again Serdar!
i think that you misunderstood me(or i metioned it wrong :( )
I don't want to change the name of my
fields(interfacein,interfaceout,capacity,delay) but i want to change the
name of "Link objects" that i see on my webinterface.I have a list
something like:
Link object
Lin
Hi Serdar!
Yeah,i mean django admin by webinterface!I didn't created the spessific
table,i already had a legacy database running.For example i have the next
code for 1 of my tables in models.py:
class Links(models.Model):
interfacein = models.CharField(max_length=20L, db_column='InterfaceIn
Hi there guys!I have an answer about renaming objects on my
webinterface.For example i have a table named "Map" and i have many obejcts
in there(Map object,Map object,Map object,Map object,Map object,Map object)
How is it possible to rename them?I mean i want to have something like (Map
Asia,Ma
Thanks for all your answers guys!You helped me a lot with this part!I'll
try that last thing with the 2 databases and i'll let you know how it
went!Until next time :)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this gro
Hey there!I am pretty new to Django,python and generally databases as
well!I made it to the point that i have all the tables and their fields on
my webinterface!The next thing that i want is being capable of
creating,retrieving,updating and deleting objects on my database!Is that
possible with
So,after i run the inspectdb i have a model.py file generated that creates
models by introspecting my existing database,right?After that thing i must
create an app and place the models.py that generated after running
inspectdb in there and then add the app to my INSTALLED_APPS setting and
run t
So,after i run the inspectdb i have a model.py file generated that creates
models by introspecting my existing database,right?After that thing i must
create an app and place the models.py that generated after running
inspectdb in there and then add the app to my INSTALLED_APPS setting and
run t
Thanks a lot Tom for your time and for your help.i'll check what u've send
me and i'll inform you right after!
--
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 d
Hi there!
I am new to Django and Python as well!I have a project to make and i'm
really confused of what i must do to start it!I hope that you can help me
somehow to make a start!First of all i have been given an existing database
with existing tables and columns in it!I started reading Django t
19 matches
Mail list logo