Search Results

Search found 5885 results on 236 pages for 'inline pdf'.

Page 11/236 | < Previous Page | 7 8 9 10 11 12 13 14 15 16 17 18  | Next Page >

  • Working with extra fields in an Inline form - save_model, save_formset, can't make sense of the diff

    - by magicrebirth
    Suppose I am in the usual situation where there're extra fields in the many2many relationship: class Person(models.Model): name = models.CharField(max_length=128) class Group(models.Model): name = models.CharField(max_length=128) members = models.ManyToManyField(Person, through='Membership') class Membership(models.Model): person = models.ForeignKey(Person) group = models.ForeignKey(Group) date_joined = models.DateField() invite_reason = models.CharField(max_length=64) # other models which are unrelated to the ones above.. class Trip(models.Model): placeVisited = models.ForeignKey(Place) visitor = models.ForeignKey(Person) pleasuretrip = models.Boolean() class Place(models.Model): name = models.CharField(max_length=128) I want to add some extra fields in the Membership form that gets displayed through the Inline. These fields basically are a shortcut to the instantiation of another model (Trip). Trip can have its own admin views, but these shortcuts are needed because when my project partners are entering 'Membership' data in the system they happen to have also the 'Trip' information handy (and also because some of the info in Membership can just be copied over to Trip etc. etc.). So all I want to have is two extra fields in the Membership Inline - placeVisited and pleasuretrip - which together with the Person instance will let me instantiate the Trip model in the background... I found out I can easily add extra fields to the inline view by defining my own form. But once the data have been entered, how and when to reference to them in order to perform the save operations I need to do? class MyForm(forms.ModelForm): place = forms.ModelChoiceField(required=False, queryset=Place.objects.all(), label="place",) pleasuretrip = forms.BooleanField(required=False, label="...") class MembershipInline(admin.TabularInline): model = Membership form = MyForm def save_model(self, request, obj, form, change): place = form.place pleasuretrip = form.pleasuretrip person = form.person .... # now I can create Trip instances with those data .... obj.save() class GroupAdmin(admin.ModelAdmin): model = Group .... inlines = (MembershipInline,) This doesn't seem to work... I'm also a bit puzzled by the save_formset method... maybe is that the one I should be using? Many thanks in advance for the help!!!!

    Read the article

  • Modifying y-axis label in pdf Diagram

    - by Andrea
    Hi all, I have mislabelled the y-axis in my pdf graph that I generated from an Matlab file. Unfortuantely, I cant find anymore the data that I used to generate the graph. So I am wondering if there is an free tool that allows me to rename the y-axis in my pdf diagram? Are there any free tools available that could be helpful or is this something "impossible" to do? Many thanks for your help, Andrea

    Read the article

  • Software for reading PDF ebooks?

    - by Sridhar Ratnakumar
    I have a bunch of PDF ebooks ... while I know that traditional PDF readers (Acrobat, Preview) can be used to read them, I wonder if there are ebook software specifically tailored for long starring at the computer screen? Like white-on-black (night reading)? Is there any? Preferably a software that runs on MacOSX. If not, then Windows would be nice too.

    Read the article

  • Batch crop PDF pages?

    - by boost
    I have a PDF document containing pages which have crop marks on them. I'd like to copy these pages to another PDF without the crop marks. I'm assuming I have to crop-out the crop marks but is there any way to do this in batch rather than interactively?

    Read the article

  • About the security of adding a signature to a PDF file

    - by ????
    We can add a "bitmap" or image signature to a PDF file, either by using Adobe Acrobat or by Mac's Preview app, but I wonder, besides always encrypting it with a password before sending it by email to the other party, how valid and secure is it? The reason is, if the signature is a bitmap, then there is nothing that prevents anybody copying and pasting that image to other documents, or even, if a cheque is written to anybody at all (such as to the landlord), then there is nothing that prevents the signature from being scanned and copied and pasted to any other PDF documents as well.

    Read the article

  • How to save rotated Adobe pdf file?

    - by WilliamKF
    I received an Adobe pdf scan of a document that displays upside-down. I rotated it inside Adobe Acrobat and choose Save-As to make a new document, however, the rotation is not saved and when I open the new document, it is upside-down again. How can I correct this upside-down document as a new pdf file?

    Read the article

  • How to enlarge a PDF document on Kindle?

    - by Gustavo
    Kindle doesn't zoom in a PDF document, so I'd like to know if there is a way to enlarge the file myself before it being displayed on the kindle screen. I've tried to convert some PDF files to the .azw kindle format, but the images weren't converted. So I have to find another way.

    Read the article

  • problem with nitro pdf

    - by Nrew
    Im converting lots of .doc files into .pdf using nitro pdf express.The program isn't finish converting the 37 files yet maybe 10 are converted and are in the output directory already. But when I cancelled it, even the converted one's are deleted. Can I still find it somewhere or are they gone for good.

    Read the article

  • Print a series of PDF files

    - by Tim Coker
    Is there a way to print several PDF files at once? I have a bunch of individual files that I want to print (about 42). Printing each one is tedious. Does anyone know a way to print a whole series at once? Maybe something like a PDF reader with a "Print All" function? I ask because this isn't the first time I've run into this problem and have never been able to find a good solution...

    Read the article

  • Free converter for JPEG to PDF

    - by Codeslayer
    Hello all, Is there any free converter available which will convert multiple JPEG files and dump them in a single PDF file? The reason for this is I have multiple scanned JPEG files which I want to dump as a single PDF. I am not scanning the image as TIFF files because it takes a huge amount of space. Thanx.

    Read the article

  • How can I convert HTML to pdf?

    - by Walkman
    I want to read and annotate internet articles like books on my iPad so I would like to convert HTML to PDF. Is there a way of doing this that preserves every font as is can make PDF out of selection handle javascript source code highlighting libraries well doesn't add anything (ads from shareware or logos etc) to every page I will be happy with any solution applicable to iPad or OSX. I have tried some converters I have found online but none fit the criteria above.

    Read the article

  • recommendations for a PDF reader

    - by Tshepang
    Am looking for a PDF reader that can navigate PDF files like a web browser (IE, when I click a link that takes me to another part of the doc, I should be able to go back by pressing Ctrl+left arrow). I am using Debian.

    Read the article

  • Imagick Convert Append 2 pdf pages

    - by Hammad Khalid
    I am using the following code to make a single pdf file with multiple pages in one jpg file I am using Imagick library and PHP tcpdf convert -append path1.pdf path2.jpg Now what i need to do is to add a white space between each page to differentiate them from one another, or add text in between like Page 1, Page 2. Currently they come correct. But there is no space in between. Can anyone help me out

    Read the article

  • How to enlarge a PDF document on Kindle?

    - by Gus
    Kindle doesn't zoom in a PDF document, so I'd like to know if there is a way to enlarge the file myself before it being displayed on the kindle screen. I've tried to convert some PDF files to the .azw kindle format, but the images weren't converted. So I have to find another way.

    Read the article

  • Converting a multi-sheet per page pdf to single sheet per page

    - by Andrew Aylett
    My father-in-law usually creates his newsletters pre-'booked' -- that is, two columns with the pages in the right place such that you can print and staple the newsletter. Unfortunately, this month we're using a printer that wants an un-booked PDF -- with one page per page, in the right order. I can re-order pages easily enough, but is there any way to take a PDF which is essentially 2-up and split the pages?

    Read the article

  • PDF Translation

    - by Nimbuz
    I really like google translator, but the output strips background images and all other content from the PDF. Is there any translation that converts PDF as-is or atleast close to the original without stripping images etc..? Thanks

    Read the article

  • save filled form in pdf file in ubuntu

    - by Tim
    Hi, I would like to save a pdf file with filled out interactive form. In evince or acrobat reader, "Print to file" can create another pdf file but the form is not editable any more. Is there some way to save the edit and keep the form interactive for later editing? Thanks and regards!

    Read the article

< Previous Page | 7 8 9 10 11 12 13 14 15 16 17 18  | Next Page >